@charset "UTF-8";

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root {
  --max-w: 1200px;
  --pad-x: 48px;
}

html, body {
  overflow-x: hidden;
}

.cedes-break-c {
  display: none;
}

body {
  font-family: 'Poppins', sans-serif;
}

/* ─── NAVBAR ─── */

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 20px 0;
  overflow: visible;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
}

.logo {
  text-decoration: none;
  display: flex;
}

.logo img {
  height: 52px;
}

.logo img.logo-consultorias {
  height: 38px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  text-decoration: none;
  color: #d8ccff;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 10px 28px;
  border-radius: 50px;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
}

.nav-link.active {
  color: #a88bfc;
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover {
    color: #a88bfc;
  }
}

.nav-link--pill {
  background: #6b35e0;
  color: #ffffff !important;
}

@media (hover: hover) and (pointer: fine) {
  .nav-link--pill:hover {
    background: #5a28b8;
    color: #ffffff !important;
  }
}

/* ─── NAV DROPDOWN ─── */

.nav-item {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #6b35e0;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
}

.nav-item--dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-item {
  display: block;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 14px 24px;
  text-align: center;
  border-bottom: 2px solid #ffffff;
  transition: background 0.15s;
}

.nav-dropdown-item:last-child {
  border-bottom: none;
}

@media (hover: hover) and (pointer: fine) {
  .nav-dropdown-item:hover {
    background: rgba(0,0,0,0.2);
  }
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.nav-item--dropdown > .nav-link::after {
  content: '>';
  font-size: 1rem;
  font-weight: 900;
  margin-left: 10px;
  display: inline-block;
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.nav-item--dropdown:hover > .nav-link::after {
  transform: rotate(-90deg);
}

/* ─── HAMBURGER (hidden on desktop) ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  overflow: visible;
  position: relative;
}
.nav-hamburger {
  position: relative;
}
.nav-hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #d8ccff;
  border-radius: 2px;
  transition: opacity 0.3s ease;
}
.navbar.nav-open .nav-hamburger span {
  opacity: 0;
}
.nav-hamburger::before,
.nav-hamburger::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 3px;
  background: #d8ccff;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
  left: 8px;
  top: 50%;
}
.nav-hamburger::before {
  transform: translateY(-50%) rotate(45deg);
}
.nav-hamburger::after {
  transform: translateY(-50%) rotate(-45deg);
}
.navbar.nav-open .nav-hamburger::before,
.navbar.nav-open .nav-hamburger::after {
  opacity: 1;
}
.navbar--light .nav-hamburger span { background: #1a1a2e; }

/* ─── HERO ─── */

.hero {
  position: relative;
  height: 700px;
  background-color: #2b2560;
  overflow: hidden;
}

.hero-fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  --violeta: #2b2560;
  --violeta-osc: #201a4a;
  --verde: #148a80;
  --verde-osc: #0d6b62;
}

.hero-fx-violeta {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 30% 80%, var(--violeta) 0%, var(--violeta-osc) 100%);
  will-change: transform;
}

.hero-fx-verde {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 90% 10%, var(--verde) 0%, var(--verde-osc) 100%);
  clip-path: polygon(100% 0, 100% 62%, 62% 0);
  will-change: transform;
}

.hero-fx-textura {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.55;
  mix-blend-mode: overlay;
}

.hero-fx-granulado {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.9;
  mix-blend-mode: soft-light;
}

.hero-fx-vineta {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 180px 40px rgba(0, 0, 0, 0.55);
}

.hero-fx-luz {
  position: absolute;
  top: -50%;
  left: -60%;
  width: 45%;
  height: 200%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.10) 45%,
    rgba(255, 255, 255, 0.16) 50%,
    rgba(255, 255, 255, 0.10) 55%,
    transparent 100%);
  transform: rotate(18deg);
  animation: hero-fx-barrido 6s ease-in-out infinite;
}

@keyframes hero-fx-barrido {
  0%   { left: -60%; }
  60%  { left: 130%; }
  100% { left: 130%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-fx-luz { animation: none; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 110px 48px 0;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-left {
  flex: 0 0 25%;
  padding-left: 8%;
}

.hero-left h1 {
  font-size: 2.6rem;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 24px;
  white-space: nowrap;
}

@keyframes chevron-slide {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(18px); }
  100% { transform: translateX(0); }
}

.hero-chevron {
  display: inline-block;
  color: #b45eff;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  animation: chevron-slide 1.4s ease-in-out infinite;
}

.hero-right {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.hero-shape {
  position: relative;
  overflow: hidden;
  height: 580px;
  aspect-ratio: 1 / 0.78;
  display: block;
  margin-bottom: 90px;
  margin-left: 80px;
  pointer-events: none;

  --blob-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='145.0002' height='113' viewBox='-12 -12 145.0002 113'%3E%3Cpath transform='rotate(10 60.5001 44.5)' d='M100.016,7.3972C90.2452,1.22,73.3084-3.6663,64.4255,3.7126,56.9836,9.89,62.0469,18.9174,55.01,25.3032c-10.6,9.6134-28.1589-5.4423-41.8584,2.6318C.6757,35.2543-4.2791,59.1489,4.2781,73.7975c13.1369,22.524,53.13,13.8541,61.1936,12.1061,4.5007-.9931,53.4953-12.265,55.4693-42.7043C121.898,28.2528,111.1,14.4185,100.016,7.3972Z'/%3E%3C/svg%3E");
  -webkit-mask-image: var(--blob-mask);
  -webkit-mask-size: contain;
  -webkit-mask-position: center center;
  -webkit-mask-repeat: no-repeat;
  mask-image: var(--blob-mask);
  mask-size: contain;
  mask-position: center center;
  mask-repeat: no-repeat;
}

.hero-shape iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 103%;
  height: 103%;
  min-width: 103%;
  min-height: 103%;
  transform: translate(-50%, -50%) scale(1.0);
  border: none;
  z-index: 20;
}

/* ─── SPLIT SECTION ─── */

.split-section {
  display: flex;
  position: relative;
}

.mission-panel {
  flex: 1;
  background: #ffffff;
  padding: 60px 48px 60px calc(max(48px, calc((100vw - var(--max-w)) / 2 + var(--pad-x))) + 10%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
}

.mission-heading {
  color: #6b35e0;
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.mission-body {
  color: #444444;
  font-size: 1rem;
  line-height: 1.82;
  font-weight: 400;
  max-width: 400px;
}

.dots {
  display: flex;
  gap: 8px;
  margin-top: 30px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d1d5db;
}

.dot--active {
  background: #6b35e0;
}

/* Purple panel rises 80px into the hero; hero (z-index 2) covers that overlap */
.cedes-panel {
  flex: 1;
  background: #2B2358;
  padding: 100px max(48px, calc((100vw - var(--max-w)) / 2 + var(--pad-x))) 36px 48px;
  margin-top: -100px;
  position: relative;
  z-index: 15;
  display: flex;
  flex-direction: column;
}

.cedes-heading {
  color: #ffffff;
  font-size: 2.3rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 20px;
}

@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes border-spin {
  from { --border-angle: 0deg; }
  to   { --border-angle: 360deg; }
}

.btn-saber {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 50px;
  border: none;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  align-self: flex-start;
  transition: background 0.2s, color 0.2s;
  position: relative;
  isolation: isolate;
}

.btn-saber::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 52px;
  padding: 2px;
  background: conic-gradient(
    from var(--border-angle),
    rgba(255,255,255,0.2)  0%,
    rgba(255,255,255,0.2)  55%,
    rgba(255,255,255,0.95) 70%,
    rgba(255,255,255,0.95) 82%,
    rgba(255,255,255,0.2)  95%,
    rgba(255,255,255,0.2)  100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: border-spin 2.5s linear infinite;
}

@media (hover: hover) and (pointer: fine) {
  .btn-saber:hover {
    background: #ffffff;
    color: #6b35e0;
  }

  .btn-saber:hover::before {
    opacity: 0;
  }
}

/* ─── PROGRAMA +DES ─── */

.des-section {
  background: linear-gradient(180deg, #2B2358 0%, #211A45 45%, #140F2B 100%);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.des-section::before {
  content: '+DES';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-size: 14rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: rgba(255,255,255,0.06);
  pointer-events: none;
  z-index: 0;
}

.des-section::after {
  content: '';
  position: absolute;
  top: -300px;
  right: -300px;
  width: 600px;
  height: 600px;
  background: #ffffff;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.des-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 2;
}

.des-logo {
  position: absolute;
  right: 56px;
  top: 56px;
  height: 56px;
  width: auto;
  z-index: 3;
}

.des-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid #0E9A93;
  color: #0E9A93;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 22px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.des-title {
  font-size: 3rem;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
}

.des-title strong {
  font-weight: 700;
}

.des-highlight {
  display: inline-flex;
  align-items: baseline;
  gap: 0.02em;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 18px rgba(255,255,255,0.16);
}

.des-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(-26px) scale(0.9);
  will-change: transform, opacity;
}

.des-letter--visible {
  animation: des-letter-fall 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.des-letter:nth-child(1) { animation-delay: 0s; }
.des-letter:nth-child(2) { animation-delay: 0.45s; }
.des-letter:nth-child(3) { animation-delay: 0.9s; }
.des-letter:nth-child(4) { animation-delay: 1.35s; }

@keyframes des-letter-fall {
  0% {
    opacity: 0;
    transform: translateY(-26px) scale(0.9);
  }
  60% {
    opacity: 1;
    transform: translateY(4px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .des-letter {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.des-text {
  font-size: 1.35rem;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.7;
  margin-bottom: 36px;
}

.des-text strong {
  font-weight: 700;
  color: #d8c8ff;
}

.btn-des {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #BC3B3C;
  padding: 16px 42px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-des-arrow {
  display: inline-block;
  transition: transform 0.2s;
}

@media (hover: hover) and (pointer: fine) {
  .btn-des:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.4);
  }
  .btn-des:hover .btn-des-arrow {
    transform: translateX(5px);
  }
}

@media (max-width: 768px) {
  .des-section { padding: 56px 0; }
  .des-inner { padding: 0 24px; }
  .des-title { font-size: 2.1rem; }
  .des-text { font-size: 1.1rem; }
  .des-section::before { font-size: 6rem; }
  .des-section::after { display: none; }
  .des-logo { display: none; }
}

/* ─── CÓMO TRABAJAMOS ─── */

.como-section {
  background: linear-gradient(180deg, #F6F3FC 0%, #EAE2F8 100%);
  padding: 80px 0 64px;
}

.como-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  text-align: center;
}

.como-title {
  font-size: 2.4rem;
  font-weight: 400;
  color: #6b35e0;
  margin-bottom: 16px;
}

.como-subtitle {
  font-size: 1rem;
  color: #444444;
  margin-bottom: 64px;
}

.como-cards {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-bottom: 72px;
}

.como-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.como-card img,
.como-icon {
  height: 90px;
  width: auto;
  margin-bottom: 28px;
  overflow: visible;
}

.como-icon-draw {
  fill: none;
  stroke: #6b35e0;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 100;
  animation: como-icon-draw 4s ease-in-out infinite;
}

.como-icon-dot {
  fill: #6b35e0;
  transform-box: fill-box;
  transform-origin: center;
  animation: como-icon-dot 4s ease-in-out infinite;
}

@keyframes como-icon-draw {
  0%   { stroke-dashoffset: 100; opacity: 1; }
  55%  { stroke-dashoffset: 0; opacity: 1; }
  78%  { stroke-dashoffset: 0; opacity: 1; }
  90%  { stroke-dashoffset: 0; opacity: 0; }
  91%  { stroke-dashoffset: 100; opacity: 0; }
  100% { stroke-dashoffset: 100; opacity: 1; }
}

@keyframes como-icon-dot {
  0%   { transform: scale(0); opacity: 0; }
  50%  { transform: scale(0); opacity: 0; }
  58%  { transform: scale(1.2); opacity: 1; }
  65%  { transform: scale(1); opacity: 1; }
  78%  { transform: scale(1); opacity: 1; }
  90%  { transform: scale(1); opacity: 0; }
  100% { transform: scale(0); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .como-icon-draw { animation: none; stroke-dashoffset: 0; opacity: 1; }
  .como-icon-dot { animation: none; transform: scale(1); opacity: 1; }
}

.como-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #6b35e0;
  line-height: 1.3;
  margin-bottom: 16px;
}

.metod-cards h3 {
  text-align: center;
}

.como-card p {
  font-size: 0.92rem;
  color: #444444;
  line-height: 1.75;
}

.como-link {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: #1a0535;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .como-link:hover {
    color: #6b35e0;
  }
}

.como-section .como-card h3 {
  color: #000000;
}

.como-section .como-card p {
  color: #444444;
}

.como-section .como-link {
  color: #6b35e0;
}

@media (hover: hover) and (pointer: fine) {
  .como-section .como-link:hover {
    color: #1E9C93;
  }
}

@keyframes arrow-light {
  0%, 100% { opacity: 0.2; }
  50%       { opacity: 1; }
}

.como-arrows {
  display: inline-flex;
  gap: 1px;
  margin-left: 2px;
  position: relative;
  top: 1px;
}

.como-arrows span {
  display: inline-block;
  font-size: 1.5rem;
  line-height: 1;
  animation: arrow-light 1.4s ease-in-out infinite;
}

.como-arrows span:nth-child(1) { animation-delay: 0s; }
.como-arrows span:nth-child(2) { animation-delay: 0.28s; }
.como-arrows span:nth-child(3) { animation-delay: 0.56s; }

/* ─── ANTECEDENTES DEL GRUPO CONSULTOR ─── */

.ant-section {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
}

.ant-fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: #131315;
}

.ant-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.ant-title {
  font-size: 2rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 20px;
}

.ant-intro {
  font-size: 0.97rem;
  font-weight: 300;
  color: #c0b8d8;
  line-height: 1.85;
  max-width: 780px;
}

.ant-accordion {
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.ant-acc-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ant-acc-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

@media (hover: hover) and (pointer: fine) {
  .ant-acc-header:hover .ant-acc-title { color: #ffffff; }
}

.ant-acc-num {
  font-size: 1.4rem;
  font-weight: 300;
  color: #a88bfc;
  min-width: 44px;
  line-height: 1;
  transition: color 0.2s;
}

.ant-acc-item.active .ant-acc-num { color: #ffffff; }

.ant-acc-item:nth-child(1) .ant-acc-num { color: #6b35e0; }
.ant-acc-item:nth-child(2) .ant-acc-num { color: #A78BFA; }
.ant-acc-item:nth-child(3) .ant-acc-num { color: #9D4EDD; }
.ant-acc-item:nth-child(4) .ant-acc-num { color: #0E9A93; }
.ant-acc-item:nth-child(5) .ant-acc-num { color: #2DD4BF; }
.ant-acc-item:nth-child(6) .ant-acc-num { color: #BC3B3C; }
.ant-acc-item:nth-child(7) .ant-acc-num { color: #8F3436; }

.ant-acc-title {
  font-size: 0.98rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  flex: 1;
  line-height: 1.4;
  transition: color 0.2s;
}

.ant-acc-item.active .ant-acc-title { color: #ffffff; }

.ant-acc-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(107,53,224,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: background 0.25s, border-color 0.25s;
}

.ant-acc-toggle::before,
.ant-acc-toggle::after {
  content: '';
  position: absolute;
  background: #a88bfc;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s;
}

.ant-acc-toggle::before { width: 12px; height: 1.5px; }
.ant-acc-toggle::after  { width: 1.5px; height: 12px; }

.ant-acc-item.active .ant-acc-toggle {
  background: rgba(107,53,224,0.2);
  border-color: #a88bfc;
}

.ant-acc-item.active .ant-acc-toggle::after {
  transform: scaleY(0);
  opacity: 0;
}

.ant-acc-item:nth-child(1) .ant-acc-toggle { border-color: rgba(107,53,224,0.4); }
.ant-acc-item:nth-child(2) .ant-acc-toggle { border-color: rgba(167,139,250,0.4); }
.ant-acc-item:nth-child(3) .ant-acc-toggle { border-color: rgba(157,78,221,0.4); }
.ant-acc-item:nth-child(4) .ant-acc-toggle { border-color: rgba(14,154,147,0.4); }
.ant-acc-item:nth-child(5) .ant-acc-toggle { border-color: rgba(45,212,191,0.4); }
.ant-acc-item:nth-child(6) .ant-acc-toggle { border-color: rgba(188,59,60,0.4); }
.ant-acc-item:nth-child(7) .ant-acc-toggle { border-color: rgba(143,52,54,0.4); }

.ant-acc-item:nth-child(1) .ant-acc-toggle::before,
.ant-acc-item:nth-child(1) .ant-acc-toggle::after { background: #6b35e0; }
.ant-acc-item:nth-child(2) .ant-acc-toggle::before,
.ant-acc-item:nth-child(2) .ant-acc-toggle::after { background: #A78BFA; }
.ant-acc-item:nth-child(3) .ant-acc-toggle::before,
.ant-acc-item:nth-child(3) .ant-acc-toggle::after { background: #9D4EDD; }
.ant-acc-item:nth-child(4) .ant-acc-toggle::before,
.ant-acc-item:nth-child(4) .ant-acc-toggle::after { background: #0E9A93; }
.ant-acc-item:nth-child(5) .ant-acc-toggle::before,
.ant-acc-item:nth-child(5) .ant-acc-toggle::after { background: #2DD4BF; }
.ant-acc-item:nth-child(6) .ant-acc-toggle::before,
.ant-acc-item:nth-child(6) .ant-acc-toggle::after { background: #BC3B3C; }
.ant-acc-item:nth-child(7) .ant-acc-toggle::before,
.ant-acc-item:nth-child(7) .ant-acc-toggle::after { background: #8F3436; }

.ant-acc-item:nth-child(1).active .ant-acc-toggle { background: rgba(107,53,224,0.2); border-color: #6b35e0; }
.ant-acc-item:nth-child(2).active .ant-acc-toggle { background: rgba(167,139,250,0.2); border-color: #A78BFA; }
.ant-acc-item:nth-child(3).active .ant-acc-toggle { background: rgba(157,78,221,0.2); border-color: #9D4EDD; }
.ant-acc-item:nth-child(4).active .ant-acc-toggle { background: rgba(14,154,147,0.2); border-color: #0E9A93; }
.ant-acc-item:nth-child(5).active .ant-acc-toggle { background: rgba(45,212,191,0.2); border-color: #2DD4BF; }
.ant-acc-item:nth-child(6).active .ant-acc-toggle { background: rgba(188,59,60,0.2); border-color: #BC3B3C; }
.ant-acc-item:nth-child(7).active .ant-acc-toggle { background: rgba(143,52,54,0.2); border-color: #8F3436; }

.ant-acc-item:nth-child(1).active .ant-acc-body ul { background: rgba(107,53,224,0.07); }
.ant-acc-item:nth-child(2).active .ant-acc-body ul { background: rgba(167,139,250,0.07); }
.ant-acc-item:nth-child(3).active .ant-acc-body ul { background: rgba(157,78,221,0.07); }
.ant-acc-item:nth-child(4).active .ant-acc-body ul { background: rgba(14,154,147,0.07); }
.ant-acc-item:nth-child(5).active .ant-acc-body ul { background: rgba(45,212,191,0.07); }
.ant-acc-item:nth-child(6).active .ant-acc-body ul { background: rgba(188,59,60,0.07); }
.ant-acc-item:nth-child(7).active .ant-acc-body ul { background: rgba(143,52,54,0.07); }

.ant-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.ant-acc-item.active .ant-acc-body {
  max-height: 3000px;
}

.ant-acc-body ul {
  list-style: none;
  padding: 14px 24px 30px 44px;
  border-radius: 10px;
  transition: background 0.25s;
}

.ant-acc-body li {
  position: relative;
  font-size: 0.9rem;
  font-weight: 300;
  color: #c0b8d8;
  line-height: 1.8;
  margin-bottom: 14px;
  padding-left: 22px;
}

.ant-acc-item:nth-child(1) .ant-acc-body li::before { color: #6b35e0; }
.ant-acc-item:nth-child(2) .ant-acc-body li::before { color: #A78BFA; }
.ant-acc-item:nth-child(3) .ant-acc-body li::before { color: #9D4EDD; }
.ant-acc-item:nth-child(4) .ant-acc-body li::before { color: #0E9A93; }
.ant-acc-item:nth-child(5) .ant-acc-body li::before { color: #2DD4BF; }
.ant-acc-item:nth-child(6) .ant-acc-body li::before { color: #BC3B3C; }
.ant-acc-item:nth-child(7) .ant-acc-body li::before { color: #8F3436; }

.ant-acc-body li::before {
  content: '·';
  position: absolute;
  left: 0;
  top: 0;
  color: #a88bfc;
  font-weight: 700;
  font-size: 1.2rem;
}

/* ─── COMPROMISO ─── */

.compromiso-section {
  position: relative;
  height: 380px;
  background-color: #2B2358;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.compromiso-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, #241B4E 0%, #1E9C93 100%),
    url('assets/realcup-sao-paulo (6).jpg') right center / cover no-repeat;
  background-blend-mode: color;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 30%, #000 65%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, transparent 30%, #000 65%, #000 100%);
}

.compromiso-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  width: 100%;
}

.compromiso-content {
  max-width: 560px;
  margin-left: 10%;
}

.compromiso-content h2 {
  font-size: 2.9rem;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 28px;
}

.compromiso-content p {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.75;
  margin-bottom: 40px;
}

.btn-compromiso {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  border: none;
  padding: 12px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  position: relative;
  isolation: isolate;
}

.btn-compromiso::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 52px;
  padding: 2px;
  background: conic-gradient(
    from var(--border-angle),
    rgba(255,255,255,0.2)  0%,
    rgba(255,255,255,0.2)  55%,
    rgba(255,255,255,0.95) 70%,
    rgba(255,255,255,0.95) 82%,
    rgba(255,255,255,0.2)  95%,
    rgba(255,255,255,0.2)  100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: border-spin 2.5s linear infinite;
}

@media (hover: hover) and (pointer: fine) {
  .btn-compromiso:hover {
    background: #ffffff;
    color: #BC3B3C;
  }

  .btn-compromiso:hover::before {
    opacity: 0;
  }
}

/* ─── BLOG ─── */

.blog-section {
  background: #ffffff;
  padding: 72px 0 80px;
}

.blog-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.blog-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 400;
  color: #6b35e0;
  margin-bottom: 48px;
}

.blog-cards {
  display: flex;
  gap: 36px;
  margin-bottom: 56px;
}

.blog-card {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.blog-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #6b35e0;
  line-height: 1.4;
  margin-bottom: 14px;
}

.blog-card p {
  font-size: 0.92rem;
  color: #444444;
  line-height: 1.7;
}

.blog-footer {
  text-align: center;
}

.btn-blog {
  display: inline-block;
  background: #6b35e0;
  color: #ffffff;
  padding: 14px 48px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s;
}

@media (hover: hover) and (pointer: fine) {
  .btn-blog:hover {
    background: #5a28c0;
  }
}

/* ─── SIGAMOS CONECTADOS ─── */

.conectados-section {
  position: relative;
  background: url('assets/bg-footer-cedes.webp') center / cover no-repeat;
  padding: 72px 0;
  overflow: hidden;
}

.conectados-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(43, 35, 88, 0.45);
  pointer-events: none;
}

.conectados-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  gap: 60px;
}

.conectados-inner--contacto {
  justify-content: center;
  text-align: center;
}

.conectados-contacto {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
  max-width: 960px;
}

.conectados-contacto-intro {
  font-size: clamp(1.1rem, 2.6vw, 1.6rem);
  font-weight: 300;
  line-height: 1.4;
  color: #ffffff;
}

.conectados-contacto-mail {
  display: inline-block;
  max-width: 100%;
  padding: clamp(11px, 1.8vw, 15px) clamp(20px, 4.5vw, 40px);
  border-radius: 50px;
  border: 2px solid rgba(167, 139, 250, 0.9);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.55), inset 0 0 14px rgba(139, 92, 246, 0.28);
  font-size: clamp(1.2rem, 3.4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.conectados-contacto-mail:hover {
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.9), inset 0 0 22px rgba(139, 92, 246, 0.4);
  transform: translateY(-1px);
}

.conectados-left {
  flex: 0 0 340px;
}

.conectados-left h2 {
  font-size: 2.6rem;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
  white-space: nowrap;
}

.conectados-left p {
  font-size: 1.2rem;
  color: #e0d6ff;
  line-height: 1.6;
}

.conectados-center {
  flex: 0 0 380px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: auto;
}

.email-input {
  width: 100%;
  max-width: 100%;
  padding: 11px 24px;
  border-radius: 50px;
  border: 2px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  text-align: center;
  box-sizing: border-box;
}

.email-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.conectados-feedback {
  font-size: 0.85rem;
  color: #ffffff;
  text-align: center;
  min-height: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.25s ease, max-height 0.25s ease;
}

.conectados-feedback--visible {
  max-height: 60px;
  opacity: 1;
}

.conectados-feedback--error {
  color: #ff8f8f;
}

.btn-enviar {
  width: 100%;
  max-width: 100%;
  padding: 11px 24px;
  border-radius: 50px;
  border: none;
  background: #BC3B3C;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  box-sizing: border-box;
}

@media (hover: hover) and (pointer: fine) {
  .btn-enviar:hover {
    background: #ffffff;
    color: #BC3B3C;
  }
}

.conectados-right {
  display: none;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.social-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.social-circle svg {
  width: 18px;
  height: 18px;
}

@media (hover: hover) and (pointer: fine) {
  .social-circle:hover {
    background: #ffffff;
    color: #6b35e0;
  }
}

/* ─── FOOTER ─── */

.footer {
  background: #0d0d1a;
  padding: 28px 0;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-left img {
  height: 40px;
  width: auto;
}

.footer-logo {
  align-self: flex-start;
}

.footer-left span {
  font-size: 0.8rem;
  color: #888888;
}

.footer-email {
  font-size: 0.8rem;
  color: #888888;
  text-decoration: none;
}

.footer-email:hover {
  color: #cccccc;
  text-decoration: underline;
}

.footer-nav {
  display: flex;
  gap: 36px;
}

.footer-link {
  text-decoration: none;
  color: #cccccc;
  font-size: 0.9rem;
}

.footer-link.active {
  color: #6b35e0;
}

@media (hover: hover) and (pointer: fine) {
  .footer-link:hover {
    color: #6b35e0;
  }
}

.footer-social {
  display: none;
  gap: 20px;
}

.footer-social-link {
  color: #6b35e0;
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
}

@media (hover: hover) and (pointer: fine) {
  .footer-social-link:hover {
    color: #a88bfc;
  }
}

/* ═══════════════════════════
   NAVBAR LIGHT (blog, etc.)
═══════════════════════════ */

.navbar--light {
  position: relative;
  background: #ffffff;
  padding: 16px 0;
  z-index: 100;
}

.navbar--roomy {
  padding-bottom: 28px;
}


.navbar--light .nav-link {
  color: #1a0535;
}

.navbar--light .nav-link.active {
  color: #6b35e0;
  font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
  .navbar--light .nav-link:hover {
    color: #6b35e0;
  }
}

/* ═══════════════════════════
   BLOG PAGE
═══════════════════════════ */

.blog-page {
  background: #ffffff;
}

.blog-page-header {
  padding: 64px 48px 48px;
  text-align: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

.blog-page-header h1 {
  font-size: 3.5rem;
  font-weight: 300;
  color: #6b35e0;
  margin-bottom: 20px;
}

.blog-page-subtitle {
  font-size: 0.97rem;
  color: #555;
  margin-bottom: 14px;
}

.blog-page-desc {
  font-size: 0.93rem;
  color: #555;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.75;
}

.blog-page-section {
  padding: 0 0 80px;
}

.blog-page-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* Search + pagination controls */
.blog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.blog-search {
  display: flex;
  align-items: center;
  border: 1.5px solid #c0b0e0;
  border-radius: 50px;
  padding: 7px 16px;
  gap: 8px;
  width: 200px;
}

.blog-search svg {
  width: 15px;
  height: 15px;
  color: #888;
  flex-shrink: 0;
}

.blog-search input {
  border: none;
  outline: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  color: #333;
  width: 100%;
  background: transparent;
}

.blog-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-pagination--center {
  justify-content: center;
  margin-top: 48px;
}

.page-num,
.page-next {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #c0b0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #555;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  user-select: none;
}

@media (hover: hover) and (pointer: fine) {
  .page-num:hover,
  .page-next:hover {
    border-color: #6b35e0;
    color: #6b35e0;
  }
}

.page-num.active {
  background: #1a0535;
  border-color: #1a0535;
  color: #ffffff;
}

.page-next svg {
  width: 14px;
  height: 14px;
}

.blog-page-card.is-hidden { display: none; }

.blog-vermas-wrap {
  text-align: center;
  margin-top: 48px;
}

.btn-ver-mas {
  display: inline-block;
  background: #6b35e0;
  color: #ffffff;
  padding: 14px 48px;
  border: none;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

@media (hover: hover) and (pointer: fine) {
  .btn-ver-mas:hover {
    background: #5a28c0;
  }
}

/* Blog card grid */
.blog-page-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}

.blog-page-card {
  display: flex;
  flex-direction: column;
}

.blog-page-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 16px;
}

.card-date {
  display: block;
  font-size: 0.8rem;
  font-weight: 300;
  color: #999;
  margin-bottom: 8px;
}

.blog-page-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #6b35e0;
  line-height: 1.45;
  margin-bottom: 10px;
}

.blog-page-card p {
  font-size: 0.88rem;
  color: #444;
  line-height: 1.65;
  margin-bottom: 12px;
  flex: 1;
}

.card-link {
  display: contents;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.continuar-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #6b35e0;
  text-decoration: none;
}


/* ═══════════════════════════
   METODOLOGÍA PAGE
═══════════════════════════ */

.metod-hero { height: 300px; }

.metod-claim {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  font-style: italic;
  margin-top: 14px;
}

/* ─── QUÉ HACEMOS EXPLORER ─── */

.qh-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 100px;
}

.qh-fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: #131315;
}

.qh-section .metod-inner {
  position: relative;
  z-index: 1;
}

.qh-explorer {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 48px;
  min-height: 360px;
}

.qh-list {
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
}

.qh-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s, border-color 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  width: 100%;
}

.qh-item:last-child { border-bottom: none; }

@media (hover: hover) and (pointer: fine) {
  .qh-item:hover {
    background: rgba(107,53,224,0.08);
  }
}

.qh-item.active {
  background: rgba(107,53,224,0.12);
  border-left-color: #6b35e0;
}

.qh-item:nth-child(1).active { background: rgba(123,95,224,0.22); border-left-color: #7B5FE0; }
.qh-item:nth-child(2).active { background: rgba(167,139,250,0.22); border-left-color: #A78BFA; }
.qh-item:nth-child(3).active { background: rgba(45,212,191,0.22); border-left-color: #2DD4BF; }
.qh-item:nth-child(4).active { background: rgba(14,154,147,0.22); border-left-color: #0E9A93; }
.qh-item:nth-child(5).active { background: rgba(188,59,60,0.22); border-left-color: #BC3B3C; }

.qh-num {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6b35e0;
  letter-spacing: 0.05em;
  min-width: 24px;
}

.qh-item:nth-child(1) .qh-num { color: #7B5FE0; }
.qh-item:nth-child(2) .qh-num { color: #A78BFA; }
.qh-item:nth-child(3) .qh-num { color: #2DD4BF; }
.qh-item:nth-child(4) .qh-num { color: #0E9A93; }
.qh-item:nth-child(5) .qh-num { color: #BC3B3C; }

.qh-label {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  flex: 1;
  line-height: 1.4;
  transition: color 0.2s;
}

.qh-item.active .qh-label {
  color: #ffffff;
}

@media (hover: hover) and (pointer: fine) {
  .qh-item:hover .qh-label {
    color: #ffffff;
  }
}

.qh-arrow {
  width: 16px;
  height: 16px;
  stroke: rgba(255,255,255,0.2);
  transition: stroke 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.qh-item.active .qh-arrow {
  stroke: #a88bfc;
  transform: translateX(3px);
}

.qh-item:nth-child(1).active .qh-arrow { stroke: #7B5FE0; }
.qh-item:nth-child(2).active .qh-arrow { stroke: #A78BFA; }
.qh-item:nth-child(3).active .qh-arrow { stroke: #2DD4BF; }
.qh-item:nth-child(4).active .qh-arrow { stroke: #0E9A93; }
.qh-item:nth-child(5).active .qh-arrow { stroke: #BC3B3C; }

.qh-detail {
  padding: 48px 52px;
  position: relative;
  display: flex;
  align-items: center;
  transition: background 0.3s ease;
}

.qh-detail:has(.qh-pane:nth-child(1).active) { background: rgba(123,95,224,0.2); }
.qh-detail:has(.qh-pane:nth-child(2).active) { background: rgba(167,139,250,0.2); }
.qh-detail:has(.qh-pane:nth-child(3).active) { background: rgba(45,212,191,0.2); }
.qh-detail:has(.qh-pane:nth-child(4).active) { background: rgba(14,154,147,0.2); }
.qh-detail:has(.qh-pane:nth-child(5).active) { background: rgba(188,59,60,0.2); }

.qh-pane {
  display: none;
  animation: qhFadeIn 0.3s ease;
}

.qh-pane.active { display: block; }

@keyframes qhFadeIn {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

.qh-pane-num {
  display: block;
  font-size: 4rem;
  font-weight: 300;
  color: rgba(107,53,224,0.25);
  line-height: 1;
  margin-bottom: 16px;
}

.qh-pane:nth-child(1) .qh-pane-num { color: rgba(123,95,224,0.55); }
.qh-pane:nth-child(2) .qh-pane-num { color: rgba(167,139,250,0.55); }
.qh-pane:nth-child(3) .qh-pane-num { color: rgba(45,212,191,0.55); }
.qh-pane:nth-child(4) .qh-pane-num { color: rgba(14,154,147,0.55); }
.qh-pane:nth-child(5) .qh-pane-num { color: rgba(188,59,60,0.55); }

.qh-pane h3 {
  font-size: 1.25rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.qh-pane p {
  font-size: 0.92rem;
  font-weight: 300;
  color: #c0b8d8;
  line-height: 1.85;
}

/* ─── CÓMO TRABAJAMOS ACORDEÓN ─── */

.como-section { padding: 80px 0; }

.como-accordion {
  margin-top: 48px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.como-acc-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.como-acc-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.como-acc-num {
  font-size: 1.6rem;
  font-weight: 300;
  color: #6b35e0;
  min-width: 48px;
  line-height: 1;
  transition: color 0.2s;
}

.como-acc-item.active .como-acc-num { color: #1a0535; }

.como-acc-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: invert(35%) sepia(70%) saturate(1500%) hue-rotate(250deg) brightness(90%);
  flex-shrink: 0;
  transition: filter 0.2s;
}

.como-acc-item.active .como-acc-icon-img {
  filter: invert(10%) sepia(80%) saturate(2000%) hue-rotate(260deg) brightness(60%);
}

.como-acc-title {
  font-size: 1rem;
  font-weight: 500;
  color: #555;
  flex: 1;
  transition: color 0.2s;
}

.como-acc-item.active .como-acc-title { color: #1a0535; }

.como-acc-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(107,53,224,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: background 0.25s, border-color 0.25s;
}

.como-acc-toggle::before,
.como-acc-toggle::after {
  content: '';
  position: absolute;
  background: #6b35e0;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s;
}

.como-acc-toggle::before { width: 12px; height: 1.5px; }
.como-acc-toggle::after  { width: 1.5px; height: 12px; }

.como-acc-item.active .como-acc-toggle {
  background: rgba(107,53,224,0.1);
  border-color: #6b35e0;
}

.como-acc-item.active .como-acc-toggle::after {
  transform: scaleY(0);
  opacity: 0;
}

.como-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.como-acc-item.active .como-acc-body {
  max-height: 200px;
  padding-bottom: 28px;
}

.como-acc-body p {
  font-size: 0.92rem;
  font-weight: 300;
  color: #555;
  line-height: 1.85;
  padding-left: 96px;
}

/* ─── PRIMERA EXPERIENCIA STEPPER ─── */

.exp-stepper { margin-top: 40px; }

.exp-stepper-nav {
  display: flex;
  align-items: center;
  margin-bottom: 48px;
  max-width: 480px;
}

.exp-step-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid rgba(107,53,224,0.3);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

@media (hover: hover) and (pointer: fine) {
  .exp-step-btn:hover {
    border-color: rgba(107,53,224,0.6);
    background: rgba(107,53,224,0.06);
  }
}

.exp-step-btn.active {
  border-color: #6b35e0;
  background: rgba(107,53,224,0.15);
  box-shadow: 0 0 28px rgba(107,53,224,0.35);
}

.exp-step-num {
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(168,139,252,0.4);
  transition: color 0.3s;
  font-family: 'Poppins', sans-serif;
}

.exp-step-btn.active .exp-step-num {
  color: #a88bfc;
  font-weight: 500;
}

.exp-step-line {
  flex: 1;
  height: 1px;
  background: rgba(107,53,224,0.15);
  margin: 0 12px;
  position: relative;
  overflow: hidden;
}

.exp-step-line-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: #6b35e0;
  transition: width 0.4s ease;
}

.exp-stepper-content {
  min-height: 100px;
}

.exp-step-pane {
  display: none;
  animation: expFadeIn 0.35s ease;
}

.exp-step-pane.active { display: block; }

@keyframes expFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.exp-step-pane h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #a88bfc;
  margin-bottom: 14px;
}

.exp-step-pane p {
  font-size: 0.97rem;
  font-weight: 300;
  color: #3c305f;
  line-height: 1.9;
  max-width: 680px;
}

/* Secciones alternas: oscura / blanca */
.metod-section {
  background: #ffffff;
  padding: 80px 0;
}

#tab-como-trabajamos .metod-section {
  padding-bottom: 0;
  background: linear-gradient(180deg, #ffffff 0%, #d3a3f2 100%);
}

.metod-section--dark {
  background: #0d0d1a;
}

.equipo-section {
  position: relative;
  overflow: hidden;
}

.equipo-fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: #131315;
}

.equipo-section .metod-inner {
  position: relative;
  z-index: 1;
}

.metod-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.metod-title {
  font-size: 2rem;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 28px;
}

.metod-title--purple { color: #6b35e0; }

.metod-intro {
  font-size: 0.97rem;
  font-weight: 300;
  color: #c0b8d8;
  line-height: 1.8;
  max-width: 780px;
  margin-bottom: 52px;
}

.metod-intro--dark { color: #555; }

/* Servicios */
.servicios-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.servicio-item {
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.servicio-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }

.servicio-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #a88bfc;
  line-height: 1.4;
}

.servicio-item p {
  font-size: 0.92rem;
  font-weight: 300;
  color: #c0b8d8;
  line-height: 1.8;
}

/* Cards cómo trabajamos dentro de metodología */
.metod-cards {
  margin-top: 0;
}

/* Equipo: 2 columnas */
.metod-text-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.consultores-subtitle {
  font-size: 1.3rem;
  font-weight: 500;
  color: #ffffff;
  margin: 64px 0 32px;
}

.consultores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.consultor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.consultor-card img {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
  border: 2px solid rgba(255,255,255,0.12);
}

.consultor-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.consultor-cv {
  font-size: 0.85rem;
  font-weight: 500;
  color: #a88bfc;
  text-decoration: none;
}

.metod-text-cols p {
  font-size: 0.95rem;
  font-weight: 300;
  color: #c0b8d8;
  line-height: 1.85;
  margin-bottom: 20px;
}

/* Primera experiencia */
.experiencia-section {
  background: #f8f5ff;
  padding: 60px 0 88px;
}

.experiencia-title {
  font-size: 2rem;
  font-weight: 300;
  color: #1a1032;
  margin-bottom: 16px;
}

.experiencia-subtitle {
  font-size: 1.05rem;
  font-weight: 500;
  color: #4b3f75;
  max-width: 720px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.experiencia-logo-pill {
  display: inline-flex;
  align-items: center;
  background: #6b35e0;
  padding: 12px 28px;
  border-radius: 999px;
  margin-bottom: 48px;
}

.experiencia-logo-pill img {
  display: block;
  height: 40px;
  width: auto;
}

.experiencia-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.experiencia-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: start;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.experiencia-step:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.step-num {
  font-size: 3rem;
  font-weight: 300;
  color: #6b35e0;
  line-height: 1;
  opacity: 0.85;
}

.experiencia-step p {
  font-size: 0.97rem;
  font-weight: 300;
  color: #c0b8d8;
  line-height: 1.85;
  padding-top: 8px;
}

/* Compromiso extendido */
.compromiso-ext-section {
  position: relative;
  overflow: hidden;
  background-color: #2b2560;
  padding: 88px 0;
}

.compromiso-ext-fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
  background-color: #2b2560;
}

.compromiso-ext-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.compromiso-ext-left h2 {
  font-size: 2rem;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 28px;
  line-height: 1.3;
}

.compromiso-ext-left p {
  font-size: 0.95rem;
  font-weight: 300;
  color: #c0b8d8;
  line-height: 1.85;
  margin-bottom: 16px;
}

.estructura-box {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(14,154,147,0.5);
  border-radius: 8px;
  padding: 36px 40px;
  background-color: #0E9A93;
}

.estructura-fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
  background-color: #0E9A93;
}

.estructura-box h3,
.estructura-box p {
  position: relative;
  z-index: 1;
}

.estructura-box h3 {
  font-size: 0.65rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.estructura-box p {
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

.estructura-box strong {
  color: #ffffff;
  font-weight: 500;
}

.mini-slider {
  position: relative;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 21 / 8;
}

.mini-slider-track {
  position: relative;
  height: 100%;
}

.mini-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.mini-slide.active {
  opacity: 1;
}

.mini-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── METODOLOGÍA TABS ─── */

.metod-tabs {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.metod-tabs-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  justify-content: center;
}

.metod-tab {
  padding: 20px 36px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #999;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

@media (hover: hover) and (pointer: fine) {
  .metod-tab:hover {
    color: #6b35e0;
  }
}

.metod-tab.active {
  color: #6b35e0;
  font-weight: 600;
  border-bottom-color: #6b35e0;
}

.metod-panel {
  display: none;
}

.metod-panel.active {
  display: block;
  animation: tabFadeIn 0.35s ease;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive: Metodología */
@media (max-width: 1024px) {
  .metod-inner { padding: 0 32px; }
  .servicio-item { grid-template-columns: 200px 1fr; gap: 28px; }
  .metod-tabs-inner { padding: 0 32px; }
  .consultores-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

@media (max-width: 768px) {
  .metod-section { padding: 56px 0; }
  .metod-inner { padding: 0 24px; }
  .metod-title { font-size: 1.7rem; }
  .servicio-item { grid-template-columns: 1fr; gap: 10px; }
  .metod-text-cols { grid-template-columns: 1fr; gap: 0; }
  .metod-tabs-inner { padding: 0 16px; }
  .metod-tab { padding: 16px 18px; font-size: 0.82rem; }
  .consultores-subtitle { margin: 48px 0 28px; }
  .consultores-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}

@media (max-width: 480px) {
  .metod-tabs-inner { padding: 0 8px; }
  .metod-tab { padding: 14px 12px; font-size: 0.78rem; }
  .consultores-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 1024px) {
  .qh-explorer { grid-template-columns: 280px 1fr; }
  .qh-detail { padding: 36px 40px; }
}

@media (max-width: 768px) {
  .qh-explorer { grid-template-columns: 1fr; min-height: auto; }
  .qh-list { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .qh-detail { padding: 32px 28px; align-items: flex-start; }
  .qh-pane-num { font-size: 2.5rem; }
  .como-acc-body p { padding-left: 0; }
  .exp-stepper-nav { max-width: 100%; }
  .exp-step-btn { width: 56px; height: 56px; }
  .exp-step-num { font-size: 1rem; }
  .experiencia-section { padding: 56px 0; }
  .compromiso-ext-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; }
  .compromiso-ext-section { padding: 56px 0; }
}

@media (max-width: 480px) {
  .qh-item { padding: 16px 20px; }
  .como-acc-header { gap: 16px; }
  .como-acc-num { font-size: 1.3rem; min-width: 36px; }
}

/* ═══════════════════════════
   BLOG POST (detalle)
═══════════════════════════ */

.post-header {
  padding: 52px 0 40px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.post-header-inner {
  max-width: 888px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #6b35e0;
  text-decoration: none;
  margin-bottom: 28px;
  transition: gap 0.2s;
}

@media (hover: hover) and (pointer: fine) {
  .post-back:hover { gap: 10px; }
}

.post-back svg {
  width: 16px;
  height: 16px;
  stroke: #6b35e0;
  flex-shrink: 0;
}

.post-back--bottom {
  margin-top: 16px;
  margin-bottom: 0;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.post-date {
  font-size: 0.85rem;
  color: #999;
  font-weight: 300;
}

.post-author {
  display: inline-block;
  background: #ffffff;
  color: #6b35e0;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
}

.post-title {
  font-size: 2.4rem;
  font-weight: 300;
  color: #1a0535;
  line-height: 1.25;
  max-width: 820px;
}

/* Imagen hero */
.post-hero-img {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px var(--pad-x) 0;
}

#post-08 .post-hero-img {
  max-width: 820px;
}

#post-09 .post-hero-img {
  max-width: 820px;
}

#post-11 .post-hero-img {
  max-width: 820px;
}

#post-12 .post-hero-img {
  max-width: 820px;
}

.post-hero-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* Cuerpo del artículo */
.post-body {
  padding: 64px 0 80px;
}

.post-inner {
  max-width: 888px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.post-lead {
  font-size: 1.15rem;
  font-weight: 400;
  color: #2a1a4a;
  line-height: 1.8;
  margin-bottom: 32px;
  border-left: 3px solid #6b35e0;
  padding-left: 24px;
}

.post-inner p {
  font-size: 0.97rem;
  font-weight: 300;
  color: #444;
  line-height: 1.9;
  margin-bottom: 24px;
}

.post-inner p a {
  color: #6b35e0;
  font-weight: 500;
  text-decoration: none;
}

.post-inner strong,
.post-lead strong {
  font-weight: 700;
}

.post-inner ul {
  margin: 0 0 24px;
  padding-left: 0;
  list-style: none;
}

.post-inner ul li {
  position: relative;
  font-size: 0.97rem;
  font-weight: 300;
  color: #444;
  line-height: 1.9;
  padding-left: 24px;
  margin-bottom: 10px;
}

.post-inner ul li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: #6b35e0;
  font-weight: 700;
}

.post-inner h2 {
  font-size: 1.4rem;
  font-weight: 500;
  color: #1a0535;
  margin: 48px 0 20px;
  line-height: 1.3;
}

.post-inner h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #6b35e0;
  margin: 32px 0 16px;
}

.post-quote {
  margin: 40px 0;
  padding: 28px 36px;
  background: #f7f4ff;
  border-left: 4px solid #6b35e0;
  border-radius: 0 8px 8px 0;
}

.post-divider {
  border: none;
  border-top: 1px solid #e5e0f0;
  margin: 36px 0;
}

.post-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0 40px;
}

.post-gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

@media (hover: hover) and (pointer: fine) {
  .post-gallery-item img:hover {
    transform: scale(1.03);
    opacity: 0.92;
  }
}

.post-gallery-item figcaption {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #444;
  text-align: center;
}

@media (max-width: 768px) {
  .post-gallery { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ─── LIGHTBOX ─── */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,13,26,0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox-img {
  max-width: 85vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  user-select: none;
}

.lightbox-caption {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  text-align: center;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  line-height: 1;
}

.lightbox-close {
  top: 24px;
  right: 28px;
  font-size: 2.2rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.8rem;
  padding: 12px 18px;
}

.lightbox-prev { left: 6px; }
.lightbox-next { right: 6px; }

@media (hover: hover) and (pointer: fine) {
  .lightbox-close:hover,
  .lightbox-prev:hover,
  .lightbox-next:hover {
    color: #a88bfc;
  }
}

@media (max-width: 480px) {
  .lightbox-prev, .lightbox-next { font-size: 2rem; padding: 8px 10px; }
  .lightbox-close { font-size: 1.8rem; top: 16px; right: 16px; }
}

.post-quote p,
.post-quote {
  font-size: 1.05rem;
  font-weight: 400;
  color: #1a0535;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 0;
}

.post-quote cite {
  display: block;
  margin-top: 14px;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
  color: #6b35e0;
  letter-spacing: 0.03em;
}

/* Relacionadas */
.related-section {
  background: #f9f8ff;
  padding: 72px 0 80px;
}

.related-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.related-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: #1a0535;
  margin-bottom: 40px;
}

.related-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}

/* Responsive: Blog post */
@media (max-width: 1024px) {
  .post-title { font-size: 2rem; }
  .related-cards { gap: 32px 24px; }
}

@media (max-width: 768px) {
  .post-header { padding: 40px 0 32px; }
  .post-header-inner { padding: 0 24px; }
  .post-title { font-size: 1.7rem; }
  .post-hero-img { padding: 32px 24px 0; }
  .post-inner { padding: 0 24px; }
  .post-lead { font-size: 1rem; }
  .related-inner { padding: 0 24px; }
  .related-cards { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 480px) {
  .post-title { font-size: 1.45rem; }
  .post-quote { padding: 20px 24px; }
}

/* Responsive: Blog page */
@media (max-width: 1024px) {
  .blog-page-header { padding: 48px 32px 40px; }
  .blog-page-inner { padding: 0 32px; }
  .blog-page-cards { gap: 36px 24px; }
}

@media (max-width: 768px) {
  .blog-page-header { padding: 40px 24px 32px; }
  .blog-page-header h1 { font-size: 2.4rem; }
  .blog-page-inner { padding: 0 24px; }
  .blog-page-cards { grid-template-columns: 1fr; gap: 40px; }
  .blog-controls { flex-direction: column; gap: 20px; align-items: flex-start; }
}

@media (max-width: 480px) {
  .blog-page-header h1 { font-size: 2rem; }
}

/* ═══════════════════════════
   CEDES PAGE
═══════════════════════════ */

/* ── Wrapper: fondo único para hero + about + misión/visión ── */
.cedes-top-bg {
  position: relative;
  overflow: hidden;
  background-color: #2b2560;
}

/* ── Hero interior de página ── */
.page-hero {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-hero-inner {
  padding-top: 80px;
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 300;
  color: #ffffff;
  letter-spacing: 0.01em;
}

/* ── Sección About / caja purple ── */
.cedes-about-section {
  position: relative;
  z-index: 1;
  padding: 0 0 72px;
}

.cedes-about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.cedes-about-box {
  position: relative;
  overflow: hidden;
  background: #5a28b8 url("assets/realcup-sao-paulo (1).jpg") center/cover no-repeat;
  padding: 52px 130px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
  isolation: isolate;
}

.cedes-about-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(90,40,184,0.85);
  z-index: 0;
}

.cedes-about-box p {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.75;
}

.cedes-about-box strong {
  font-weight: 600;
}

/* ── Misión + Visión ── */
.mision-vision-section {
  position: relative;
  z-index: 1;
  padding: 36px 0 80px;
}

.mision-vision-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  gap: 80px;
}

.mision-col,
.vision-col {
  flex: 1;
}

.mision-col h2,
.vision-col h2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 20px;
}

.mision-col p,
.vision-col p {
  font-size: 1rem;
  font-weight: 300;
  color: #c0b8d8;
  line-height: 1.8;
}

/* ── Principios y valores ── */
.principios-section {
  background: #ffffff;
  padding: 80px 0 48px;
}

.principios-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

.principios-left {
  flex: 0 0 320px;
}

.principios-left h2 {
  font-size: 3rem;
  font-weight: 300;
  color: #6b35e0;
  line-height: 1.15;
}

.principios-shape {
  position: relative;
  overflow: hidden;
  width: 160%;
  max-width: 420px;
  margin-left: -60px;
  aspect-ratio: 1 / 0.78;
  margin-top: -12px;
  pointer-events: none;

  --blob-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='145.0002' height='113' viewBox='-12 -12 145.0002 113'%3E%3Cpath transform='rotate(10 60.5001 44.5)' d='M100.016,7.3972C90.2452,1.22,73.3084-3.6663,64.4255,3.7126,56.9836,9.89,62.0469,18.9174,55.01,25.3032c-10.6,9.6134-28.1589-5.4423-41.8584,2.6318C.6757,35.2543-4.2791,59.1489,4.2781,73.7975c13.1369,22.524,53.13,13.8541,61.1936,12.1061,4.5007-.9931,53.4953-12.265,55.4693-42.7043C121.898,28.2528,111.1,14.4185,100.016,7.3972Z'/%3E%3C/svg%3E");
  -webkit-mask-image: var(--blob-mask);
  -webkit-mask-size: contain;
  -webkit-mask-position: center center;
  -webkit-mask-repeat: no-repeat;
  mask-image: var(--blob-mask);
  mask-size: contain;
  mask-position: center center;
  mask-repeat: no-repeat;
}

.principios-shape img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 110%;
  min-width: 110%;
  min-height: 110%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  border: none;
}

.valores-list {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.valores-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.valor-chevron {
  font-size: 2.1rem;
  font-weight: 900;
  color: #0E9A93;
  line-height: 1.3;
  flex-shrink: 0;
}

.valores-list p {
  font-size: 1.05rem;
  font-weight: 400;
  color: #1a1a2e;
  line-height: 1.7;
  padding-top: 2px;
}

/* ── Responsive: Cedes page ── */
@media (max-width: 1024px) {
  .page-hero h1 { font-size: 2.5rem; }
  .cedes-about-box { padding: 40px 40px; }
  .mision-vision-inner { gap: 48px; padding: 0 32px; }
  .principios-inner { gap: 48px; padding: 0 32px; }
  .principios-left { flex: 0 0 260px; }
  .principios-left h2 { font-size: 2.5rem; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .principios-inner { flex-direction: column; gap: 32px; }
  .principios-left { flex: none; width: 100%; }
  .principios-shape { display: none; }
  .valores-list { flex: none; width: 100%; }
}

@media (max-width: 768px) {
  .page-hero { height: 150px; }
  .page-hero-inner { padding-top: 56px; }
  .page-hero h1 { font-size: 2rem; }
  .cedes-about-section { padding: 16px 0 24px; }
  .cedes-about-inner { padding: 0 24px; }
  .cedes-about-box { padding: 32px 28px; gap: 20px; }
  .mision-vision-section { padding: 26px 0 60px; }
  .mision-vision-inner { flex-direction: column; gap: 40px; padding: 0 24px; }
  .principios-section { padding: 56px 0; }
  .principios-inner { flex-direction: column; gap: 32px; padding: 0 24px; }
  .principios-left { flex: none; }
  .principios-left h2 { font-size: 2.2rem; }
  .principios-shape { display: none; }
}

@media (max-width: 480px) {
  .page-hero h1 { font-size: 1.7rem; }
  .cedes-about-box { padding: 28px 20px; }
  .principios-left h2 { font-size: 1.9rem; }
  .valor-chevron { font-size: 1.3rem; }
}

/* ─── MISSION SLIDER ─── */

.mission-slider {
  overflow: hidden;
  margin-bottom: 32px;
}

.mission-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-slide {
  flex: 0 0 100%;
  min-width: 0;
}

/* ═══════════════════════════
   RESPONSIVE
═══════════════════════════ */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .nav-inner { padding: 0 32px; }
  .nav-link { padding: 8px 18px; }

  .hero { height: 650px; }
  .hero-inner { padding: 90px 32px 0; }
  .hero-left h1 { font-size: 2.4rem; }
  .hero-shape { height: 500px; margin-bottom: 30px; }

  .mission-panel { padding: 48px 32px; }
  .cedes-panel { padding: 80px 32px 48px 32px; }
  .cedes-heading { font-size: 2.1rem; }

  .como-inner { padding: 0 32px; }
  .como-cards { gap: 28px; }

  .compromiso-inner { padding: 0 32px; }
  .compromiso-content h2 { font-size: 2.9rem; }

  .blog-inner { padding: 0 32px; }
  .blog-cards { gap: 24px; }

  .conectados-inner { padding: 0 32px; gap: 32px; }
  .conectados-left { flex: 0 0 260px; }
  .conectados-left h2 { font-size: 2rem; }
  .conectados-center { flex: 0 0 300px; }

  .footer-inner { padding: 0 32px; gap: 24px; }
  .footer-nav { gap: 20px; }
}

/* ── Tablets (iPad Mini/Air/Pro: 768px–1024px) ── */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-shape { height: 340px; margin-left: 0; margin-top: 0; margin-bottom: 190px; }

  .cedes-panel { align-items: center; text-align: center; }
  .btn-saber { align-self: center; }

  .compromiso-content { margin: 0 auto; text-align: center; }

  .compromiso-section::before {
    background:
      linear-gradient(to right, #241B4E 0%, #1E9C93 100%),
      url('assets/realcup-sao-paulo (6).jpg') right center / cover no-repeat;
    background-blend-mode: color;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 40%, #000 85%, #000 100%);
    mask-image: linear-gradient(to right, transparent 0%, transparent 40%, #000 85%, #000 100%);
  }

  .des-section::after { width: 300px; height: 300px; top: -150px; right: -150px; }
  .des-logo { top: 28px; right: 28px; height: 30px; }
}

/* ── iPad Air (~820px): volver a alinear a la izquierda ── */
@media (min-width: 800px) and (max-width: 824px) {
  .cedes-panel { align-items: flex-start; text-align: left; }
  .btn-saber { align-self: flex-start; }
}

/* ── iPad Pro (~1024px): volver a alinear a la izquierda ── */
@media (min-width: 960px) and (max-width: 1024px) {
  .cedes-panel { align-items: flex-start; text-align: left; }
  .btn-saber { align-self: flex-start; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  /* Navbar */
  .navbar { padding: 12px 0; }
  .nav-inner { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 0 20px; gap: 0; justify-content: space-between; }
  .logo { flex: 1; }
  .logo img { height: 40px; }
  .logo img.logo-consultorias { height: 34px; }
  .nav-hamburger { display: flex; }
  .navbar.nav-open .nav-hamburger { position: fixed; top: 20px; right: 20px; z-index: 10000; }
  .nav-links { display: none; flex-direction: column; width: 100%; padding: 8px 0 14px; gap: 0; align-items: flex-start; }
  .navbar.nav-open .nav-links { display: flex; }
  .navbar:not(.navbar--light).nav-open { background: rgba(15, 4, 40, 0.97); }
  .nav-link { font-size: 0.9rem; padding: 10px 0; border-radius: 0; width: 100%; }
  .nav-link--pill { background: none; color: #d8ccff !important; }
  .navbar--light .nav-link--pill { color: #1a1a2e !important; }
  /* Dropdown: show inline on mobile */
  .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 4px 0 8px 16px; pointer-events: auto; min-width: auto; }
  .nav-dropdown-item { color: rgba(216,204,255,0.7); font-size: 0.85rem; padding: 6px 0; border-bottom: none; text-align: left; }
  .navbar--light .nav-dropdown-item { color: #666; }
  .nav-item--dropdown > .nav-link::after { display: none; }

  /* Hero */
  .hero { height: auto; overflow: hidden; }
  .hero-inner {
    flex-direction: column;
    padding: 54px 24px 0;
    height: auto;
    min-height: 221px;
    align-items: flex-start;
  }
  .hero-left { flex: none; width: 100%; padding-left: 0; margin-top: 32px; }
  .hero-left h1 { font-size: 2rem; margin-bottom: 8px; }
  .hero-chevron { font-size: 2.8rem; }
  .hero-right {
    flex: none;
    width: 100%;
    height: 208px;
    margin-top: -20px;
    justify-content: flex-end;
  }
  .hero-shape { height: 208px; margin-bottom: 0; }

  /* Split */
  .split-section { flex-direction: column; }
  .mission-panel { padding: 48px 24px; min-height: auto; }
  .mission-body { max-width: 100%; }
  .cedes-panel { margin-top: 0; padding: 40px 24px; z-index: 1; align-items: center; text-align: center; }
  .btn-saber { align-self: center; }
  .cedes-heading { font-size: 1.7rem; }

  /* Como trabajamos */
  .como-section { padding: 56px 0 48px; }
  .como-inner { padding: 0 24px; }
  .como-title { font-size: 1.8rem; }
  .como-subtitle { margin-bottom: 40px; }
  .como-cards { flex-direction: column; gap: 40px; }

  /* Antecedentes */
  .ant-section { padding: 56px 0; }
  .ant-inner { padding: 0 24px; }
  .ant-title { font-size: 1.6rem; }
  .ant-acc-header { gap: 16px; }
  .ant-acc-body ul { padding-left: 0; }

  /* Compromiso */
  .compromiso-section { height: auto; min-height: 260px; padding: 48px 0; }
  .compromiso-inner { padding: 0 24px; }
  .compromiso-content { max-width: 100%; margin-left: 0; }
  .compromiso-content h2 { font-size: 1.8rem; margin-bottom: 16px; }
  .compromiso-content p { font-size: 0.9rem; margin-bottom: 24px; }

  /* Blog */
  .blog-section { padding: 56px 0 60px; }
  .blog-inner { padding: 0 24px; }
  .blog-title { font-size: 1.8rem; margin-bottom: 32px; }
  .blog-cards { flex-direction: column; gap: 40px; }

  /* Conectados */
  .conectados-section { padding: 52px 0; }
  .conectados-inner { flex-direction: column; padding: 0 24px; gap: 24px; align-items: center; }
  .conectados-left { flex: none; width: 100%; text-align: center; }
  .conectados-left h2 { font-size: 1.9rem; white-space: normal; text-align: center; }
  .conectados-left p { font-size: 1rem; text-align: center; }
  .conectados-center { flex: none; width: 100%; margin-left: 0; }
  .conectados-right { flex-direction: row; justify-content: center; gap: 12px; width: 100%; }

  /* Footer */
  .footer { padding: 32px 0; }
  .footer-inner { flex-direction: column; align-items: center; padding: 0 24px; gap: 20px; }
  .footer-left { align-items: center; text-align: center; }
  .footer-nav { flex-wrap: wrap; gap: 10px 16px; justify-content: center; }
  .footer-social { justify-content: center; width: 100%; }
}

/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {
  .hero-left h1 { font-size: 1.65rem; }
  .hero-shape { height: 218px; }
  .hero-chevron { font-size: 2.2rem; }

  .cedes-heading { font-size: 1.4rem; }
  .mission-heading { font-size: 1.4rem; }

  .como-title { font-size: 1.5rem; }
  .como-card h3 { font-size: 1rem; }

  .compromiso-content h2 { font-size: 1.5rem; }
  .compromiso-section { min-height: 220px; }

  .blog-title { font-size: 1.5rem; }

  .conectados-left h2 { font-size: 1.6rem; }
  .nav-link { font-size: 0.85rem; padding: 9px 0; }
}

/* ══════════════════════════════════════════
   DESKTOP BREAKPOINTS (min-width)
   1280 · 1440 · 1680 · 1920
══════════════════════════════════════════ */

/* ── 1280px: ajuste fino para laptops estándar ── */
@media (min-width: 1280px) {
  .hero-inner { padding-top: 120px; }
  .hero-left h1 { font-size: 3.1rem; }
  .hero-shape { height: 540px; }
  .cedes-heading { font-size: 3rem; }
}

/* ── 1440px: escritorios medianos / MacBook ── */
@media (min-width: 1440px) {
  :root {
    --max-w: 1320px;
    --pad-x: 56px;
  }

  .hero { height: 740px; }
  .hero-inner { padding-top: 130px; }
  .hero-left h1 { font-size: 3.3rem; }
  .hero-shape { height: 558px; margin-bottom: 60px; }

  .cedes-heading { font-size: 3.2rem; }
  .mission-heading { font-size: 1.9rem; }
  .mission-body { font-size: 1.05rem; max-width: 440px; }

  .como-title { font-size: 2.6rem; }
  .como-cards { gap: 60px; }
  .como-card img, .como-icon { height: 100px; }

  .compromiso-section { height: 420px; }
  .compromiso-content h2 { font-size: 2.9rem; }

  .blog-title { font-size: 2.4rem; }

  .conectados-left h2 { font-size: 2.8rem; }
  .conectados-left { flex: 0 0 380px; }
  .conectados-center { flex: 0 0 420px; }

  .metod-title { font-size: 2.2rem; }
  .qh-explorer { grid-template-columns: 400px 1fr; }
  .exp-stepper-nav { max-width: 560px; }

  .page-hero h1 { font-size: 3.3rem; }
  .cedes-about-box { padding: 60px 160px; }
  .mision-col h2, .vision-col h2 { font-size: 1.6rem; }
  .mision-col p, .vision-col p { font-size: 1.05rem; }
  .principios-left { flex: 0 0 360px; }
  .principios-left h2 { font-size: 3.3rem; }
  .principios-shape { max-width: 460px; }

  .blog-page-header h1 { font-size: 4rem; }
  .blog-page-cards { gap: 56px 40px; }
}

/* ── 1680px: escritorios grandes ── */
@media (min-width: 1680px) {
  :root {
    --max-w: 1520px;
    --pad-x: 64px;
  }

  .hero { height: 780px; }
  .hero-left h1 { font-size: 3.5rem; }
  .hero-shape { height: 585px; margin-bottom: 70px; }

  .cedes-heading { font-size: 3.4rem; }
  .mission-heading { font-size: 2rem; }

  .como-cards { gap: 72px; }
  .como-card img, .como-icon { height: 108px; }

  .compromiso-section { height: 460px; }
  .compromiso-content h2 { font-size: 2.9rem; }

  .conectados-left h2 { font-size: 3rem; }
  .conectados-left { flex: 0 0 420px; }
  .conectados-center { flex: 0 0 460px; }

  .metod-title { font-size: 2.4rem; }
  .qh-explorer { grid-template-columns: 440px 1fr; }
  .qh-pane h3 { font-size: 1.4rem; }
  .qh-pane p { font-size: 1rem; }

  .page-hero h1 { font-size: 3.6rem; }
  .cedes-about-box { padding: 68px 200px; gap: 28px; }
  .cedes-about-box p { font-size: 1.02rem; }
  .mision-col h2, .vision-col h2 { font-size: 1.75rem; }
  .principios-left { flex: 0 0 400px; }
  .principios-left h2 { font-size: 3.6rem; }
  .principios-shape { max-width: 510px; }
  .valores-list p { font-size: 1.1rem; }

  .blog-page-header h1 { font-size: 4.5rem; }
  .blog-page-cards { grid-template-columns: repeat(3, 1fr); gap: 64px 48px; }
}

/* ── 1920px: Full HD ── */
@media (min-width: 1920px) {
  :root {
    --max-w: 1720px;
    --pad-x: 80px;
  }

  .hero { height: 840px; }
  .hero-inner { padding-top: 140px; }
  .hero-left h1 { font-size: 4rem; }
  .hero-shape { height: 780px; margin-bottom: 0; margin-left: 40px; }

  .cedes-heading { font-size: 3.9rem; }
  .mission-heading { font-size: 2.2rem; }
  .mission-body { font-size: 1.1rem; max-width: 500px; }

  .como-title { font-size: 3rem; }
  .como-cards { gap: 80px; }
  .como-card img, .como-icon { height: 120px; }
  .como-card h3 { font-size: 1.25rem; }
  .como-card p { font-size: 1rem; }

  .valores-list { gap: 60px; }

  .compromiso-section { height: 500px; }
  .compromiso-content h2 { font-size: 2.9rem; }
  .compromiso-content p { font-size: 1.1rem; }

  .blog-title { font-size: 2.8rem; }
  .blog-cards { gap: 56px; }

  .conectados-left h2 { font-size: 3.2rem; }
  .conectados-left { flex: 0 0 480px; }
  .conectados-center { flex: 0 0 520px; }

  .metod-title { font-size: 2.6rem; }
  .metod-intro { font-size: 1.05rem; max-width: 900px; }
  .qh-explorer { grid-template-columns: 480px 1fr; min-height: 460px; }
  .qh-label { font-size: 0.95rem; }
  .qh-pane h3 { font-size: 1.5rem; }
  .qh-pane p { font-size: 1.05rem; }
  .servicio-item { grid-template-columns: 340px 1fr; gap: 56px; }
  .servicio-item h3 { font-size: 1.1rem; }
  .servicio-item p { font-size: 1rem; }
  .metod-text-cols { gap: 80px; }
  .metod-text-cols p { font-size: 1.05rem; }
  .exp-stepper-nav { max-width: 640px; }
  .exp-step-btn { width: 84px; height: 84px; }
  .exp-step-num { font-size: 1.4rem; }
  .exp-step-pane p { font-size: 1.05rem; }

  .compromiso-ext-inner { gap: 100px; }
  .compromiso-ext-left h2 { font-size: 2.4rem; }
  .compromiso-ext-left p { font-size: 1.02rem; }
  .estructura-box { padding: 44px 52px; }
  .estructura-box p { font-size: 1rem; }

  .page-hero { height: 280px; }
  .page-hero h1 { font-size: 4rem; }
  .cedes-about-box { padding: 80px 240px; gap: 32px; }
  .cedes-about-box p { font-size: 1.05rem; }
  .mision-col h2, .vision-col h2 { font-size: 1.9rem; }
  .mision-col p, .vision-col p { font-size: 1.1rem; }
  .mision-vision-inner { gap: 120px; }
  .principios-left { flex: 0 0 440px; }
  .principios-left h2 { font-size: 4rem; }
  .principios-shape { max-width: 560px; }
  .valores-list p { font-size: 1.15rem; }
  .valor-chevron { font-size: 2.4rem; }

  .blog-page-header h1 { font-size: 5rem; }
  .blog-page-subtitle { font-size: 1.05rem; }
  .blog-page-desc { font-size: 1rem; max-width: 600px; }
  .blog-page-cards { grid-template-columns: repeat(3, 1fr); gap: 72px 56px; }
  .blog-page-card h3 { font-size: 1.05rem; }
  .blog-page-card p { font-size: 0.95rem; }

  .footer-inner { padding-top: 8px; padding-bottom: 8px; }
  .footer-link { font-size: 1rem; }
  .footer-nav { gap: 48px; }
  .footer-social-link svg { width: 24px; height: 24px; }
}

/* ══════════════════════════════════════════
   METODOLOGÍA PAGE — MOBILE
══════════════════════════════════════════ */

@media (max-width: 768px) {
  /* Tab bar */
  .metod-tabs-inner { flex-direction: column; align-items: center; overflow-x: visible; padding: 0 20px; gap: 0; }
  .metod-tab { white-space: nowrap; padding: 12px 18px; font-size: 0.85rem; text-align: center; }

  /* Section container */
  .metod-section { padding: 40px 0 48px; }
  .metod-inner { padding: 0 20px; }
  .metod-title { font-size: 1.8rem; }
  .metod-intro { font-size: 0.9rem; margin-bottom: 32px; }

  /* Qué hacemos — stack list above detail */
  .qh-explorer { grid-template-columns: 1fr; grid-template-rows: auto auto; min-height: auto; border-radius: 8px; }
  .qh-list { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .qh-item { padding: 12px 16px; }
  .qh-label { font-size: 0.85rem; }
  .qh-detail { padding: 20px 16px; }
  .qh-pane h3 { font-size: 1.1rem; }
  .qh-pane p { font-size: 0.9rem; }

  /* Cómo trabajamos */
  .metod-text-cols { grid-template-columns: 1fr; gap: 24px; }

  /* Nuestro equipo — stepper */
  .experiencia-section { padding: 40px 20px 48px; }
  .exp-stepper-nav { max-width: 100%; gap: 0; }
  .exp-step-btn { width: 52px; height: 52px; }
  .exp-step-num { font-size: 0.95rem; }
  .exp-step-label { font-size: 0.75rem; }
  .exp-step-pane { padding: 20px 0 0; }
  .exp-step-pane h3 { font-size: 1.1rem; }
  .exp-step-pane p { font-size: 0.9rem; }

  /* Compromiso con la educacion */
  .compromiso-ext-section { padding: 48px 0; }
  .compromiso-ext-inner { grid-template-columns: 1fr; gap: 28px; padding: 0 20px; }
  .compromiso-ext-left h2 { font-size: 1.6rem; }
  .compromiso-ext-left p { font-size: 0.9rem; }
  .estructura-box { padding: 20px 18px; }
  .estructura-box p { font-size: 0.88rem; }
}

@media (max-width: 480px) {
  .metod-title { font-size: 1.5rem; }
  .metod-tab { padding: 10px 14px; font-size: 0.8rem; }
  .exp-step-btn { width: 44px; height: 44px; }
  .exp-step-num { font-size: 0.85rem; }
  .exp-step-label { font-size: 0.7rem; }
  .compromiso-ext-left h2 { font-size: 1.4rem; }
}

/* ══════════════════════════════════════════
   BLOG POST PAGE — MOBILE
══════════════════════════════════════════ */

@media (max-width: 768px) {
  .post-header { padding: 32px 0 24px; }
  .post-header-inner { padding: 0 20px; }
  .post-back { font-size: 0.85rem; }
  .post-meta { gap: 8px; flex-wrap: wrap; }
  .post-title { font-size: 1.7rem; line-height: 1.3; }

  .post-body { padding: 0; }
  .post-inner { max-width: 100%; padding: 32px 20px 48px; }
  .post-lead { font-size: 1rem; margin-bottom: 24px; }
  .post-inner p { font-size: 0.92rem; margin-bottom: 18px; }
  .post-inner h2 { font-size: 1.3rem; margin: 28px 0 14px; }
  .post-quote { padding: 16px 18px; font-size: 0.9rem; }

  .related-section { padding: 40px 0; }
  .related-inner { padding: 0 20px; }
  .related-title { font-size: 1.5rem; margin-bottom: 24px; }
  .related-cards { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .post-title { font-size: 1.4rem; }
  .related-title { font-size: 1.3rem; }
}

/* ══════════════════════════════════════════
   TABLET — iPad Mini (768 x 1024) específico
══════════════════════════════════════════ */

@media (min-width: 768px) and (max-width: 768px) {
  .hero-inner { padding-top: 29px; min-height: 0; }
  .hero-left { margin-top: 67px; }
  .hero-break-1, .hero-break-3 { display: none; }
  .hero-right { height: 345px; margin-top: -35px; }
  .hero-shape { height: 340px; }
  .cedes-break-a, .cedes-break-b, .cedes-break-d { display: none; }
  .cedes-break-c { display: inline; }
  .blog-img { aspect-ratio: 21 / 9; }
  .principios-break { display: none; }
  .principios-left h2 { white-space: nowrap; font-size: 1.9rem; }
  .como-card { text-align: center; }
  .como-card h3,
  .como-card p { max-width: 400px; margin-left: auto; margin-right: auto; }
  #tab-como-trabajamos .metod-title { text-align: center; }
  #tab-como-trabajamos .metod-intro { text-align: center; margin-left: auto; margin-right: auto; }
  .blog-page-card img { aspect-ratio: 21 / 9; }
}
