/* ============================================================
   Escuela de Tatuadores — Page Styles
   escueladetatuadores.com · WHITE background design
   Companion to tokens.css — prefix: --ed-
   ============================================================ */


/* ============================================================
   KEYFRAMES
   ============================================================ */

@keyframes ed-fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ed-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 91, 17, 0.5);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 0 0 6px rgba(245, 91, 17, 0);
    }
}

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

@keyframes ed-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}

/* ============================================================
   HOMEPAGE — ALL SECTIONS (matching front-page.php classes)
   ============================================================ */

/* (old hero rules removed — canonical hero styles are below at .ed-hero block) */

/* Section base */
.ed-section {
  padding: 5rem 0;
}
.ed-section--light {
  background: #f5f5f5;
}
.ed-section--naranja {
  background: #f55b11;
  color: #fff;
}
.ed-section--dark {
  background: #1a1a1a;
  color: #fff;
}
.ed-section__header {
  text-align: center;
  margin-bottom: 3rem;
}
.ed-section__title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.ed-section__subtitle {
  font-size: 1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}
.ed-section--naranja .ed-section__subtitle,
.ed-section--dark .ed-section__subtitle {
  color: rgba(255,255,255,0.7);
}

/* Container */
.ed-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Fechas list — accordion: first open, rest collapsed */
.ed-fechas-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ed-fecha-block {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ed-fecha-block:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.ed-fecha-block--proximo {
  border: 2px solid #f55b11;
}
.ed-fecha-block--urgente {
  border: 2px solid #e53935;
  background: linear-gradient(135deg, #fff 85%, rgba(229,57,53,0.04) 100%);
}

/* Summary = clickable header */
.ed-fecha-block__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #fafafa;
  cursor: pointer;
  list-style: none;
  flex-wrap: wrap;
  user-select: none;
}
.ed-fecha-block__header::-webkit-details-marker { display: none; }

.ed-fecha-block--proximo .ed-fecha-block__header {
  background: rgba(245,91,17,0.04);
}
.ed-fecha-block--urgente .ed-fecha-block__header {
  background: rgba(229,57,53,0.04);
}

/* When open, add bottom border to header */
.ed-fecha-block[open] .ed-fecha-block__header {
  border-bottom: 1px solid #f0f0f0;
}

/* Toggle arrow */
.ed-fecha-block__toggle {
  margin-left: auto;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.ed-fecha-block__toggle::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #999;
  border-bottom: 2px solid #999;
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.ed-fecha-block[open] .ed-fecha-block__toggle::after {
  transform: rotate(-135deg);
}

/* Hide urgent tag when open (disappears to show cursos) */
.ed-fecha-block[open] .ed-fecha-block__tag--urgent {
  display: none;
}

.ed-fecha-block__mes {
  font-family: 'Anton', sans-serif;
  font-size: 1.3rem;
  text-transform: uppercase;
  margin: 0;
}

.ed-fecha-block__rango {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f55b11;
}
.ed-fecha-block--urgente .ed-fecha-block__rango {
  color: #e53935;
}

.ed-fecha-block__tag {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  background: #e5e5e5;
  color: #666;
}
.ed-fecha-block__tag--next {
  background: #f55b11;
  color: #fff;
}
.ed-fecha-block__tag--urgent {
  background: #e53935;
  color: #fff;
  animation: ed-pulse 2s infinite;
}

/* 3 courses row inside each month */
.ed-fecha-block__cursos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.ed-fecha-curso {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-right: 1px solid #f0f0f0;
}
.ed-fecha-curso:last-child {
  border-right: none;
}

.ed-fecha-curso__nombre {
  font-size: 0.9rem;
  font-weight: 600;
  flex: 1;
}

.ed-fecha-curso__precio {
  font-family: 'Anton', sans-serif;
  font-size: 1.1rem;
  color: #f55b11;
}
.ed-fecha-block--urgente .ed-fecha-curso__precio {
  color: #e53935;
}

@media (max-width: 768px) {
  .ed-fecha-block__header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .ed-fecha-block__tag { margin-left: 0; }
  .ed-fecha-block__cursos { grid-template-columns: 1fr; }
  .ed-fecha-curso { border-right: none; border-bottom: 1px solid #f0f0f0; }
  .ed-fecha-curso:last-child { border-bottom: none; }
}

/* ============================================================
   FINANCIACION — Payment options
   ============================================================ */

.ed-pago-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ed-pago-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ed-pago-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.ed-pago-card--destacado {
  border: 2px solid #f55b11;
  position: relative;
  box-shadow: 0 8px 30px rgba(245,91,17,0.1);
}

.ed-pago-card__badge {
  display: inline-block;
  background: #f55b11;
  color: #fff;
  font-family: 'Anton', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.ed-pago-card__titulo {
  font-family: 'Anton', sans-serif;
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.ed-pago-card__precio {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e5e5e5;
}

.ed-pago-precio-principal {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: 2.2rem;
  color: #f55b11;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.ed-pago-precio-nota {
  display: block;
  font-size: 0.85rem;
  color: #666;
}

.ed-pago-precio-original {
  display: block;
  font-size: 0.8rem;
  color: #999;
  text-decoration: line-through;
  margin-top: 0.25rem;
}

.ed-pago-card__ventajas {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

.ed-pago-card__ventajas li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #444;
  padding: 0.4rem 0;
}

.ed-pago-card__ventajas li::before {
  content: '✓';
  color: #4caf50;
  font-weight: 700;
  flex-shrink: 0;
}

/* Tabla precios */
.ed-tabla-wrap {
  overflow-x: auto;
}

.ed-tabla-precios {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.ed-tabla-precios th {
  background: #1a1a1a;
  color: #fff;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 1rem 1.25rem;
  text-align: left;
}

.ed-tabla-precios th:first-child {
  border-radius: 8px 0 0 0;
}

.ed-tabla-precios th:last-child {
  border-radius: 0 8px 0 0;
}

.ed-tabla-precios td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e5e5;
}

.ed-tabla-precios tbody tr:hover {
  background: #fafafa;
}

.ed-tabla__precio-dto {
  color: #f55b11;
  font-weight: 700;
}

/* CTA section */
.ed-cta__title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.75rem;
}

.ed-cta__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 2rem;
}

@media (max-width: 768px) {
  .ed-fechas-grid { grid-template-columns: repeat(2, 1fr); }
  .ed-pago-grid { grid-template-columns: 1fr; }
}

/* Stats grid */
.ed-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.ed-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ed-stat__number {
  font-family: 'Anton', sans-serif;
  font-size: 3.5rem;
  line-height: 1;
  color: #fff;
}
.ed-stat__suffix {
  font-family: 'Anton', sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.9;
}
.ed-stat__label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.7);
  margin-top: 0.25rem;
}

/* Cursos grid (3 cards) */
.ed-cursos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.ed-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.ed-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.ed-card--3d {
  transition: transform 0.15s ease-out, box-shadow 0.3s;
}
.ed-card__img-wrap {
  height: 220px;
  overflow: hidden;
  background: #f5f5f5;
}
.ed-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ed-card__body {
  padding: 1.5rem;
}
.ed-card__title {
  font-family: 'Anton', sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.ed-card__desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.ed-card__price {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}
.ed-card__price strong {
  color: #f55b11;
  font-size: 1.1rem;
}

/* Features grid */
.ed-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.ed-feature-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ed-feature-card:hover {
  border-color: #f55b11;
  box-shadow: 0 4px 20px rgba(245,91,17,0.08);
}
.ed-feature-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(245,91,17,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f55b11;
  margin-bottom: 1rem;
}
.ed-feature-card__title {
  font-family: 'Anton', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.ed-feature-card__text {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* Sponsors */
.ed-sponsors__label {
  text-align: center;
  font-family: 'Anton', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  margin-bottom: 2rem;
}
.ed-sponsors__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}
.ed-sponsor-logo img {
  max-height: 60px;
  filter: grayscale(100%) opacity(0.5);
  transition: filter 0.3s;
}
.ed-sponsor-logo:hover img {
  filter: grayscale(0%) opacity(1);
}

/* CTA Final */
.ed-cta-final__title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.75rem;
}
.ed-cta-final__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
}

/* Trustindex wrapper */
.ed-trustindex-wrap {
  max-width: 900px;
  margin: 0 auto;
}

/* Text center utility */
.ed-text-center {
  text-align: center;
}

/* Responsive homepage */
@media (max-width: 768px) {
  .ed-hero { min-height: 70vh; }
  .ed-fechas-grid { grid-template-columns: 1fr; }
  .ed-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .ed-cursos-grid { grid-template-columns: 1fr; }
  .ed-features-grid { grid-template-columns: 1fr; }
  .ed-sponsors__logos { gap: 2rem; }
}


/* ============================================================
   GENERAL — Shared section layout helpers
   ============================================================ */

.ed-section__container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--ed-space-6);
}

.ed-section__title {
    font-family: var(--ed-font-display);
    font-size: var(--ed-text-4xl);
    text-transform: uppercase;
    letter-spacing: var(--ed-tracking-wide);
    line-height: var(--ed-leading-tight);
    color: var(--ed-text);
}

.ed-section__title--inv {
    color: var(--ed-text-inv);
}

.ed-section__title span {
    color: var(--ed-naranja);
}

.ed-section__sub {
    font-family: var(--ed-font-body);
    font-size: var(--ed-text-lg);
    color: var(--ed-text-lt);
    line-height: var(--ed-leading-normal);
    margin-top: var(--ed-space-3);
}

.ed-section__sub--inv {
    color: rgba(255, 255, 255, 0.75);
}

.ed-section__header {
    text-align: center;
    margin-bottom: var(--ed-space-16);
}

/* Breadcrumb */
.ed-breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--ed-space-2);
    font-size: var(--ed-text-sm);
    color: var(--ed-text-lt);
    padding-block: var(--ed-space-4);
    flex-wrap: wrap;
}

.ed-breadcrumb a {
    color: var(--ed-text-lt);
    transition: color var(--ed-transition-fast);
}

.ed-breadcrumb a:hover {
    color: var(--ed-naranja);
}

.ed-breadcrumb__sep {
    color: var(--ed-gray-md);
    font-size: var(--ed-text-xs);
}

.ed-breadcrumb__current {
    color: var(--ed-text);
    font-weight: 500;
}

/* Fade-in utility (scroll-reveal hook) */
.ed-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--ed-transition-slow), transform var(--ed-transition-slow);
}

.ed-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================================
   HOMEPAGE — Hero
   ============================================================ */

.ed-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--ed-bg-alt);
}

.ed-hero__bg {
    position: absolute;
    inset: 0;
    background-image: var(--ed-hero-img, none);
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    z-index: 0;
}

/* Dark overlay for text readability */
.ed-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.65) 50%,
        rgba(0, 0, 0, 0.40) 100%
    );
}

.ed-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--ed-space-6);
    padding-top: var(--ed-header-h);
}

.ed-hero__label {
    display: inline-block;
    font-family: var(--ed-font-body);
    font-size: var(--ed-text-xs);
    font-weight: 700;
    letter-spacing: var(--ed-tracking-widest);
    text-transform: uppercase;
    color: var(--ed-naranja);
    margin-bottom: var(--ed-space-4);
}

.ed-hero__title {
    font-family: var(--ed-font-display);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    text-transform: uppercase;
    letter-spacing: var(--ed-tracking-tight);
    line-height: var(--ed-leading-tight);
    color: var(--ed-white);
    max-width: 700px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.ed-hero__title span {
    color: var(--ed-naranja);
}

.ed-hero__subtitle {
    color: rgba(255,255,255,0.9);
    font-size: var(--ed-text-lg);
    max-width: 550px;
    margin-bottom: var(--ed-space-6);
    line-height: 1.5;
}

.ed-hero__ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.ed-hero .ed-btn--ghost {
    color: var(--ed-white);
    border-color: var(--ed-white);
}

.ed-hero .ed-btn--ghost:hover {
    background-color: var(--ed-white);
    color: var(--ed-text);
}

.ed-hero__meta {
    display: flex;
    align-items: center;
    gap: var(--ed-space-4);
    margin-top: var(--ed-space-5);
    flex-wrap: wrap;
}

.ed-hero__sub {
    font-family: var(--ed-font-body);
    font-size: var(--ed-text-lg);
    color: rgba(255,255,255,0.9);
    font-weight: 400;
}

/* Google Review badge */
.ed-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--ed-space-2);
    background: var(--ed-white);
    border: 1px solid var(--ed-border);
    border-radius: var(--ed-radius-full);
    padding: var(--ed-space-1) var(--ed-space-3);
    font-family: var(--ed-font-body);
    font-size: var(--ed-text-sm);
    font-weight: 600;
    color: var(--ed-text);
    box-shadow: var(--ed-shadow-sm);
    white-space: nowrap;
}

.ed-hero__badge .ed-badge__stars {
    color: #fbbc04;
    font-size: 0.9em;
    letter-spacing: -0.02em;
}

.ed-hero__badge .ed-badge__score {
    color: var(--ed-text);
}

.ed-hero__badge .ed-badge__platform {
    color: var(--ed-text-lt);
    font-weight: 400;
}

.ed-hero__actions {
    display: flex;
    gap: var(--ed-space-4);
    margin-top: var(--ed-space-8);
    flex-wrap: wrap;
}

.ed-hero__scroll {
    position: absolute;
    bottom: var(--ed-space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ed-space-2);
    font-size: var(--ed-text-xs);
    letter-spacing: var(--ed-tracking-widest);
    text-transform: uppercase;
    color: var(--ed-text-lt);
    animation: ed-fade-up 1s 1.2s both;
}

.ed-hero__scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: var(--ed-naranja);
    animation: ed-pulse 2s infinite;
}


/* ============================================================
   HOMEPAGE — Fechas (course dates grid)
   ============================================================ */

.ed-fechas {
    padding-block: var(--ed-space-20);
    background: var(--ed-bg);
}

.ed-fechas__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--ed-space-5);
    margin-top: var(--ed-space-10);
}

.ed-fecha-card {
    background: var(--ed-bg);
    border: 1px solid var(--ed-border);
    border-radius: var(--ed-radius-lg);
    padding: var(--ed-space-6);
    position: relative;
    transition: box-shadow var(--ed-transition-base), transform var(--ed-transition-base);
    overflow: hidden;
}

.ed-fecha-card:hover {
    box-shadow: var(--ed-shadow-md);
    transform: translateY(-3px);
}

.ed-fecha-card__month {
    font-family: var(--ed-font-display);
    font-size: var(--ed-text-xs);
    letter-spacing: var(--ed-tracking-widest);
    text-transform: uppercase;
    color: var(--ed-naranja);
    margin-bottom: var(--ed-space-2);
}

.ed-fecha-card__dates {
    font-family: var(--ed-font-display);
    font-size: var(--ed-text-3xl);
    line-height: 1;
    color: var(--ed-text);
}

.ed-fecha-card__curso {
    font-size: var(--ed-text-sm);
    color: var(--ed-text-lt);
    margin-top: var(--ed-space-2);
}

.ed-fecha-card__badge {
    position: absolute;
    top: var(--ed-space-4);
    right: var(--ed-space-4);
    background: var(--ed-naranja);
    color: var(--ed-white);
    font-size: var(--ed-text-xs);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px var(--ed-space-2);
    border-radius: var(--ed-radius-sm);
    animation: ed-pulse 2.5s ease-in-out infinite;
}


/* ============================================================
   HOMEPAGE — Stats (naranja background)
   ============================================================ */

.ed-stats {
    background: var(--ed-naranja);
    padding-block: var(--ed-space-20);
    color: var(--ed-white);
}

.ed-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--ed-space-8);
    text-align: center;
}

.ed-stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ed-space-2);
    animation: ed-count 0.4s both;
}

.ed-stats__number {
    font-family: var(--ed-font-display);
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1;
    color: var(--ed-white);
    letter-spacing: var(--ed-tracking-tight);
}

.ed-stats__suffix {
    font-size: 0.55em;
    vertical-align: super;
    color: rgba(255, 255, 255, 0.8);
}

.ed-stats__label {
    font-family: var(--ed-font-body);
    font-size: var(--ed-text-sm);
    font-weight: 600;
    letter-spacing: var(--ed-tracking-wide);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}


/* ============================================================
   HOMEPAGE — Cursos preview (3D card hover)
   ============================================================ */

.ed-cursos-preview {
    padding-block: var(--ed-space-24);
    background: var(--ed-bg-alt);
}

.ed-cursos-preview__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ed-space-8);
    margin-top: var(--ed-space-12);
    perspective: 1200px;
}

/* 3D card */
.ed-card--3d {
    background: var(--ed-white);
    border: 1px solid var(--ed-border);
    border-radius: var(--ed-radius-xl);
    overflow: hidden;
    transition:
        transform 350ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 350ms ease;
    transform-style: preserve-3d;
    will-change: transform;
    cursor: pointer;
}

.ed-card--3d:hover {
    transform: perspective(600px) rotateX(-2deg) rotateY(3deg) translateY(-6px);
    box-shadow: var(--ed-shadow-xl), 0 20px 40px rgba(245, 91, 17, 0.12);
}

.ed-card--3d__image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.ed-card--3d__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.ed-card--3d:hover .ed-card--3d__image img {
    transform: scale(1.05);
}

.ed-card--3d__tag {
    position: absolute;
    top: var(--ed-space-4);
    left: var(--ed-space-4);
    background: var(--ed-naranja);
    color: var(--ed-white);
    font-size: var(--ed-text-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px var(--ed-space-3);
    border-radius: var(--ed-radius-sm);
}

.ed-card--3d__body {
    padding: var(--ed-space-6);
}

.ed-card--3d__title {
    font-family: var(--ed-font-display);
    font-size: var(--ed-text-2xl);
    text-transform: uppercase;
    color: var(--ed-text);
    line-height: var(--ed-leading-tight);
}

.ed-card--3d__desc {
    font-size: var(--ed-text-base);
    color: var(--ed-text-lt);
    margin-top: var(--ed-space-2);
    line-height: var(--ed-leading-normal);
}

.ed-card--3d__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ed-space-4) var(--ed-space-6);
    border-top: 1px solid var(--ed-border);
}

.ed-card--3d__price {
    font-family: var(--ed-font-display);
    font-size: var(--ed-text-xl);
    color: var(--ed-naranja);
}

.ed-card--3d__cta {
    font-size: var(--ed-text-sm);
    font-weight: 700;
    color: var(--ed-naranja);
    display: flex;
    align-items: center;
    gap: var(--ed-space-1);
    transition: gap var(--ed-transition-fast);
}

.ed-card--3d:hover .ed-card--3d__cta {
    gap: var(--ed-space-2);
}


/* ============================================================
   HOMEPAGE — Features (2×3 icon grid)
   ============================================================ */

.ed-features {
    padding-block: var(--ed-space-24);
    background: var(--ed-bg);
}

.ed-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ed-space-6);
    margin-top: var(--ed-space-12);
}

.ed-feature-card {
    background: var(--ed-bg);
    border: 1px solid var(--ed-border);
    border-radius: var(--ed-radius-lg);
    padding: var(--ed-space-8);
    transition: box-shadow var(--ed-transition-base), border-color var(--ed-transition-base);
}

.ed-feature-card:hover {
    box-shadow: var(--ed-shadow-md);
    border-color: var(--ed-naranja-mid);
}

.ed-feature-card__icon {
    width: 48px;
    height: 48px;
    background: var(--ed-naranja-light);
    border-radius: var(--ed-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ed-naranja);
    font-size: 1.5rem;
    margin-bottom: var(--ed-space-5);
    transition: background var(--ed-transition-base);
}

.ed-feature-card:hover .ed-feature-card__icon {
    background: var(--ed-naranja);
    color: var(--ed-white);
}

.ed-feature-card__title {
    font-family: var(--ed-font-display);
    font-size: var(--ed-text-xl);
    text-transform: uppercase;
    color: var(--ed-text);
    margin-bottom: var(--ed-space-2);
}

.ed-feature-card__text {
    font-size: var(--ed-text-base);
    color: var(--ed-text-lt);
    line-height: var(--ed-leading-normal);
}


/* ============================================================
   HOMEPAGE — Testimonios (Google Reviews)
   ============================================================ */

.ed-testimonios {
    padding-block: var(--ed-space-24);
    background: var(--ed-bg-alt);
}

.ed-testimonios__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ed-space-6);
    margin-top: var(--ed-space-12);
}

.ed-testimonio-card {
    background: var(--ed-white);
    border: 1px solid var(--ed-border);
    border-radius: var(--ed-radius-lg);
    padding: var(--ed-space-6);
    display: flex;
    flex-direction: column;
    gap: var(--ed-space-4);
}

.ed-testimonio-card__stars {
    color: #fbbc04;
    font-size: var(--ed-text-md);
    letter-spacing: 0.05em;
}

.ed-testimonio-card__text {
    font-size: var(--ed-text-base);
    color: var(--ed-text);
    line-height: var(--ed-leading-loose);
    flex: 1;
    font-style: italic;
}

.ed-testimonio-card__author {
    display: flex;
    align-items: center;
    gap: var(--ed-space-3);
    padding-top: var(--ed-space-3);
    border-top: 1px solid var(--ed-border);
}

.ed-testimonio-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--ed-naranja-light);
}

.ed-testimonio-card__name {
    font-weight: 700;
    font-size: var(--ed-text-sm);
    color: var(--ed-text);
}

.ed-testimonio-card__via {
    font-size: var(--ed-text-xs);
    color: var(--ed-text-lt);
}

.ed-testimonios__google-link {
    display: flex;
    justify-content: center;
    margin-top: var(--ed-space-10);
}


/* ============================================================
   HOMEPAGE — Sponsors / logos
   ============================================================ */

.ed-sponsors {
    padding-block: var(--ed-space-16);
    background: var(--ed-bg);
    border-top: 1px solid var(--ed-border);
    border-bottom: 1px solid var(--ed-border);
}

.ed-sponsors__label {
    text-align: center;
    font-size: var(--ed-text-xs);
    letter-spacing: var(--ed-tracking-widest);
    text-transform: uppercase;
    color: var(--ed-text-lt);
    margin-bottom: var(--ed-space-8);
}

.ed-sponsors__grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--ed-space-10);
}

.ed-sponsors__logo {
    filter: grayscale(100%);
    opacity: 0.45;
    transition: filter var(--ed-transition-base), opacity var(--ed-transition-base);
    max-height: 36px;
    width: auto;
}

.ed-sponsors__logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}


/* ============================================================
   HOMEPAGE — Final CTA (dark section)
   ============================================================ */

.ed-final-cta {
    background: var(--ed-bg-dark);
    padding-block: var(--ed-space-24);
    text-align: center;
}

.ed-final-cta__title {
    font-family: var(--ed-font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    text-transform: uppercase;
    color: var(--ed-text-inv);
    line-height: var(--ed-leading-tight);
    letter-spacing: var(--ed-tracking-wide);
    max-width: 800px;
    margin-inline: auto;
}

.ed-final-cta__title span {
    color: var(--ed-naranja);
}

.ed-final-cta__sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--ed-text-lg);
    margin-top: var(--ed-space-4);
    max-width: 560px;
    margin-inline: auto;
}

.ed-final-cta__actions {
    display: flex;
    gap: var(--ed-space-4);
    justify-content: center;
    margin-top: var(--ed-space-10);
    flex-wrap: wrap;
}


/* ============================================================
   COURSE PAGES — Curso detail layout
   ============================================================ */

.ed-curso {
    background: var(--ed-bg);
}

.ed-curso__hero {
    padding-block: var(--ed-space-20) var(--ed-space-12);
    border-bottom: 1px solid var(--ed-border);
}

.ed-curso__hero .ed-breadcrumb {
    margin-bottom: var(--ed-space-6);
}

.ed-curso__hero-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--ed-space-12);
    align-items: start;
}

.ed-curso__eyebrow {
    font-size: var(--ed-text-xs);
    font-weight: 700;
    letter-spacing: var(--ed-tracking-widest);
    text-transform: uppercase;
    color: var(--ed-naranja);
    margin-bottom: var(--ed-space-3);
}

.ed-curso__h1 {
    font-family: var(--ed-font-display);
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
    text-transform: uppercase;
    line-height: var(--ed-leading-tight);
    letter-spacing: var(--ed-tracking-tight);
    color: var(--ed-text);
}

.ed-curso__h1 span {
    color: var(--ed-naranja);
}

.ed-curso__subtitle {
    font-size: var(--ed-text-lg);
    color: var(--ed-text-lt);
    margin-top: var(--ed-space-4);
    max-width: 560px;
    line-height: var(--ed-leading-normal);
}

.ed-curso__badges {
    display: flex;
    gap: var(--ed-space-3);
    margin-top: var(--ed-space-6);
    flex-wrap: wrap;
}

.ed-curso__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--ed-space-2);
    padding: var(--ed-space-2) var(--ed-space-4);
    border-radius: var(--ed-radius-full);
    font-size: var(--ed-text-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 2px solid currentColor;
}

.ed-curso__badge--homologado {
    color: #16a34a;
    border-color: #16a34a;
    background: rgba(22, 163, 74, 0.06);
}

.ed-curso__badge--plazas {
    color: var(--ed-naranja);
    border-color: var(--ed-naranja);
    background: var(--ed-naranja-light);
    animation: ed-pulse 2.5s ease-in-out infinite;
}

/* Price block — neuromarketing: show value before price */
.ed-curso__price {
    background: var(--ed-bg-alt);
    border: 1px solid var(--ed-border);
    border-radius: var(--ed-radius-xl);
    padding: var(--ed-space-8);
    min-width: 300px;
    position: sticky;
    top: calc(var(--ed-header-h) + var(--ed-space-4));
}

.ed-curso__price-label {
    font-size: var(--ed-text-xs);
    font-weight: 700;
    letter-spacing: var(--ed-tracking-widest);
    text-transform: uppercase;
    color: var(--ed-text-lt);
    margin-bottom: var(--ed-space-5);
}

.ed-curso__price-kit {
    list-style: none;
    margin-bottom: var(--ed-space-5);
    display: flex;
    flex-direction: column;
    gap: var(--ed-space-2);
}

.ed-curso__price-kit li {
    display: flex;
    justify-content: space-between;
    font-size: var(--ed-text-sm);
    color: var(--ed-text-lt);
    padding-bottom: var(--ed-space-2);
    border-bottom: 1px dashed var(--ed-border);
}

.ed-curso__price-kit li .kit-value {
    font-weight: 600;
    color: var(--ed-text);
    text-decoration: line-through;
    text-decoration-color: var(--ed-gray-md);
}

.ed-curso__price-separator {
    height: 1px;
    background: var(--ed-border);
    margin-block: var(--ed-space-5);
}

.ed-curso__price-total {
    font-family: var(--ed-font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--ed-naranja);
    line-height: 1;
    letter-spacing: var(--ed-tracking-tight);
    text-align: center;
}

.ed-curso__price-period {
    font-family: var(--ed-font-body);
    font-size: var(--ed-text-sm);
    color: var(--ed-text-lt);
    text-align: center;
    margin-top: var(--ed-space-1);
}

.ed-curso__price-cta {
    margin-top: var(--ed-space-6);
    width: 100%;
}

/* Course body layout */
.ed-curso__body {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--ed-space-16);
    padding-block: var(--ed-space-16);
    align-items: start;
}

/* Includes checklist */
.ed-curso__includes {
    margin-block: var(--ed-space-10);
}

.ed-curso__includes-title {
    font-family: var(--ed-font-display);
    font-size: var(--ed-text-2xl);
    text-transform: uppercase;
    margin-bottom: var(--ed-space-6);
}

.ed-curso__includes ul {
    display: flex;
    flex-direction: column;
    gap: var(--ed-space-3);
}

.ed-curso__includes li {
    display: flex;
    align-items: flex-start;
    gap: var(--ed-space-3);
    font-size: var(--ed-text-base);
    color: var(--ed-text);
    line-height: var(--ed-leading-normal);
}

.ed-curso__includes li::before {
    content: '✓';
    flex-shrink: 0;
    color: var(--ed-naranja);
    font-weight: 700;
    font-size: var(--ed-text-md);
    margin-top: -1px;
}

/* Schedule — mañanas / tardes */
.ed-curso__schedule {
    margin-block: var(--ed-space-10);
}

.ed-curso__schedule-title {
    font-family: var(--ed-font-display);
    font-size: var(--ed-text-2xl);
    text-transform: uppercase;
    margin-bottom: var(--ed-space-6);
}

.ed-curso__schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ed-space-6);
}

.ed-schedule-block {
    background: var(--ed-bg-alt);
    border: 1px solid var(--ed-border);
    border-radius: var(--ed-radius-lg);
    padding: var(--ed-space-6);
}

.ed-schedule-block__period {
    font-family: var(--ed-font-display);
    font-size: var(--ed-text-lg);
    text-transform: uppercase;
    color: var(--ed-naranja);
    margin-bottom: var(--ed-space-3);
}

.ed-schedule-block__time {
    font-size: var(--ed-text-3xl);
    font-family: var(--ed-font-display);
    color: var(--ed-text);
    line-height: 1;
}

.ed-schedule-block__desc {
    font-size: var(--ed-text-sm);
    color: var(--ed-text-lt);
    margin-top: var(--ed-space-2);
}

/* Temario / curriculum */
.ed-curso__temario {
    margin-block: var(--ed-space-10);
}

.ed-curso__temario-title {
    font-family: var(--ed-font-display);
    font-size: var(--ed-text-2xl);
    text-transform: uppercase;
    margin-bottom: var(--ed-space-6);
}

.ed-temario-section {
    border: 1px solid var(--ed-border);
    border-radius: var(--ed-radius-lg);
    overflow: hidden;
    margin-bottom: var(--ed-space-3);
}

.ed-temario-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ed-space-5) var(--ed-space-6);
    background: var(--ed-bg-alt);
    cursor: pointer;
    font-weight: 600;
    font-size: var(--ed-text-base);
}

.ed-temario-section__header:hover {
    background: var(--ed-naranja-light);
}

.ed-temario-section__count {
    font-size: var(--ed-text-sm);
    color: var(--ed-text-lt);
}

.ed-temario-section__items {
    padding: var(--ed-space-4) var(--ed-space-6);
    display: flex;
    flex-direction: column;
    gap: var(--ed-space-3);
}

.ed-temario-section__item {
    display: flex;
    align-items: center;
    gap: var(--ed-space-3);
    font-size: var(--ed-text-sm);
    color: var(--ed-text-lt);
}

.ed-temario-section__item::before {
    content: '→';
    color: var(--ed-naranja);
}

/* Comparison table */
.ed-comparativa {
    margin-block: var(--ed-space-16);
    overflow-x: auto;
}

.ed-comparativa__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: var(--ed-text-sm);
}

.ed-comparativa__table th {
    background: var(--ed-bg-alt);
    padding: var(--ed-space-4) var(--ed-space-6);
    text-align: center;
    font-family: var(--ed-font-display);
    font-size: var(--ed-text-base);
    text-transform: uppercase;
    border-bottom: 2px solid var(--ed-border);
}

.ed-comparativa__table th.is-recommended {
    background: var(--ed-naranja);
    color: var(--ed-white);
    position: relative;
}

.ed-comparativa__table th.is-recommended::after {
    content: 'RECOMENDADO';
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    background: var(--ed-naranja);
    color: var(--ed-white);
    padding: 2px var(--ed-space-3);
    border-radius: var(--ed-radius-sm) var(--ed-radius-sm) 0 0;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.ed-comparativa__table td {
    padding: var(--ed-space-4) var(--ed-space-6);
    text-align: center;
    border-bottom: 1px solid var(--ed-border);
    color: var(--ed-text);
}

.ed-comparativa__table td.is-recommended {
    background: var(--ed-naranja-light);
    font-weight: 600;
}

.ed-comparativa__table tr:last-child td {
    border-bottom: none;
}

.ed-comparativa__table td:first-child {
    text-align: left;
    font-weight: 500;
}

.ed-comparativa__check {
    color: #16a34a;
    font-size: var(--ed-text-lg);
}

.ed-comparativa__no {
    color: var(--ed-gray-md);
    font-size: var(--ed-text-lg);
}


/* ============================================================
   BLOG — Archive
   ============================================================ */

.ed-blog-hero {
    height: 40vh;
    min-height: 280px;
    background: var(--ed-bg-alt);
    border-bottom: 1px solid var(--ed-border);
    display: flex;
    align-items: center;
}

.ed-blog-hero__inner {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--ed-space-6);
    padding-top: var(--ed-header-h);
}

.ed-blog-hero__title {
    font-family: var(--ed-font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-transform: uppercase;
    color: var(--ed-text);
    line-height: var(--ed-leading-tight);
}

.ed-blog-hero__title span {
    color: var(--ed-naranja);
}

.ed-blog-hero__sub {
    font-size: var(--ed-text-lg);
    color: var(--ed-text-lt);
    margin-top: var(--ed-space-3);
}

.ed-blog-grid {
    padding-block: var(--ed-space-16);
    background: var(--ed-bg);
}

.ed-blog-grid__posts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ed-space-8);
    justify-content: center;
    margin-top: var(--ed-space-10);
}

.ed-blog-card {
    background: var(--ed-white);
    border: 1px solid var(--ed-border);
    border-radius: var(--ed-radius-lg);
    overflow: hidden;
    width: calc(33.33% - var(--ed-space-8) * 2 / 3);
    min-width: 280px;
    max-width: 380px;
    transition: box-shadow var(--ed-transition-base), transform var(--ed-transition-base);
    display: flex;
    flex-direction: column;
}

.ed-blog-card:hover {
    box-shadow: var(--ed-shadow-lg);
    transform: translateY(-4px);
}

.ed-blog-card__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.ed-blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.ed-blog-card:hover .ed-blog-card__image img {
    transform: scale(1.04);
}

.ed-blog-card__body {
    padding: var(--ed-space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--ed-space-3);
}

.ed-blog-card__cat {
    font-size: var(--ed-text-xs);
    font-weight: 700;
    letter-spacing: var(--ed-tracking-widest);
    text-transform: uppercase;
    color: var(--ed-naranja);
}

.ed-blog-card__title {
    font-family: var(--ed-font-display);
    font-size: var(--ed-text-xl);
    text-transform: uppercase;
    color: var(--ed-text);
    line-height: var(--ed-leading-snug);
    flex: 1;
}

.ed-blog-card__excerpt {
    font-size: var(--ed-text-sm);
    color: var(--ed-text-lt);
    line-height: var(--ed-leading-normal);
}

.ed-blog-card__meta {
    font-size: var(--ed-text-xs);
    color: var(--ed-gray-lt);
    display: flex;
    gap: var(--ed-space-3);
    padding-top: var(--ed-space-3);
    border-top: 1px solid var(--ed-border);
}


/* ============================================================
   SINGLE POST
   ============================================================ */

.ed-post__hero {
    background: var(--ed-bg);        /* White, inverted from Bizio */
    padding-block: var(--ed-space-16) var(--ed-space-10);
    border-bottom: 1px solid var(--ed-border);
}

.ed-post__hero-inner {
    max-width: 820px;
    margin-inline: auto;
    padding-inline: var(--ed-space-6);
    padding-top: var(--ed-header-h);
}

.ed-post__cat {
    font-size: var(--ed-text-xs);
    font-weight: 700;
    letter-spacing: var(--ed-tracking-widest);
    text-transform: uppercase;
    color: var(--ed-naranja);
    margin-bottom: var(--ed-space-4);
    display: block;
}

.ed-post__title {
    font-family: var(--ed-font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-transform: uppercase;
    line-height: var(--ed-leading-tight);
    letter-spacing: var(--ed-tracking-tight);
    color: var(--ed-text);
}

.ed-post__meta {
    display: flex;
    align-items: center;
    gap: var(--ed-space-5);
    margin-top: var(--ed-space-6);
    font-size: var(--ed-text-sm);
    color: var(--ed-text-lt);
    flex-wrap: wrap;
}

.ed-post__featured-image {
    margin-top: var(--ed-space-8);
    border-radius: var(--ed-radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 7;
}

.ed-post__featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Post body typography */
.ed-post__body {
    max-width: 820px;
    margin-inline: auto;
    padding: var(--ed-space-16) var(--ed-space-6);
    font-family: var(--ed-font-body);
    font-size: var(--ed-text-md);
    color: var(--ed-text);
    line-height: 1.5;
}

.ed-post__body li {
    line-height: 1.5;
    margin-bottom: var(--ed-space-2);
}

.ed-post__body h2 {
    font-family: var(--ed-font-display);
    font-size: var(--ed-text-3xl);
    text-transform: uppercase;
    color: var(--ed-text);
    margin-top: var(--ed-space-12);
    margin-bottom: var(--ed-space-5);
    line-height: var(--ed-leading-tight);
}

.ed-post__body h3 {
    font-family: var(--ed-font-display);
    font-size: var(--ed-text-2xl);
    text-transform: uppercase;
    color: var(--ed-text);
    margin-top: var(--ed-space-8);
    margin-bottom: var(--ed-space-4);
}

.ed-post__body p {
    margin-bottom: var(--ed-space-5);
}

/* Naranja links in post body, not on buttons */
.ed-post__body a:not([class]) {
    color: var(--ed-naranja);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--ed-transition-fast);
}

.ed-post__body a:not([class]):hover {
    color: var(--ed-naranja-hover);
}

.ed-post__body ul,
.ed-post__body ol {
    padding-left: var(--ed-space-6);
    margin-bottom: var(--ed-space-5);
}

.ed-post__body ul {
    list-style: disc;
}

.ed-post__body ol {
    list-style: decimal;
}

.ed-post__body li {
    margin-bottom: var(--ed-space-2);
}

.ed-post__body blockquote {
    border-left: 4px solid var(--ed-naranja);
    background: var(--ed-naranja-light);
    padding: var(--ed-space-5) var(--ed-space-6);
    margin-block: var(--ed-space-8);
    border-radius: 0 var(--ed-radius-md) var(--ed-radius-md) 0;
    font-style: italic;
    color: var(--ed-text);
}

.ed-post__body img {
    border-radius: var(--ed-radius-md);
    margin-block: var(--ed-space-8);
}

/* Author block */
.ed-post__author {
    max-width: 820px;
    margin-inline: auto;
    padding: var(--ed-space-8) var(--ed-space-6);
    border-top: 2px solid var(--ed-naranja);
    display: flex;
    gap: var(--ed-space-6);
    align-items: flex-start;
}

.ed-post__author-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--ed-naranja);
}

.ed-post__author-name {
    font-family: var(--ed-font-display);
    font-size: var(--ed-text-xl);
    text-transform: uppercase;
    color: var(--ed-text);
}

.ed-post__author-role {
    font-size: var(--ed-text-xs);
    color: var(--ed-naranja);
    font-weight: 700;
    letter-spacing: var(--ed-tracking-wide);
    text-transform: uppercase;
    margin-bottom: var(--ed-space-2);
}

.ed-post__author-bio {
    font-size: var(--ed-text-sm);
    color: var(--ed-text-lt);
    line-height: var(--ed-leading-normal);
    margin-top: var(--ed-space-2);
}

/* Related posts */
.ed-related {
    background: var(--ed-bg-alt);
    padding-block: var(--ed-space-16);
}

.ed-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ed-space-6);
    margin-top: var(--ed-space-8);
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */

.ed-contacto {
    padding-block: var(--ed-space-20);
    background: var(--ed-bg);
}

.ed-contacto__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ed-space-16);
    align-items: start;
}

.ed-contacto__form-title {
    font-family: var(--ed-font-display);
    font-size: var(--ed-text-3xl);
    text-transform: uppercase;
    color: var(--ed-text);
    margin-bottom: var(--ed-space-8);
}

.ed-contacto__info-block {
    display: flex;
    flex-direction: column;
    gap: var(--ed-space-6);
}

.ed-contacto__info-item {
    display: flex;
    gap: var(--ed-space-4);
    align-items: flex-start;
}

.ed-contacto__info-icon {
    width: 44px;
    height: 44px;
    background: var(--ed-naranja-light);
    border-radius: var(--ed-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ed-naranja);
    font-size: var(--ed-text-md);
    flex-shrink: 0;
}

.ed-contacto__info-label {
    font-size: var(--ed-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--ed-tracking-wide);
    color: var(--ed-text-lt);
    margin-bottom: var(--ed-space-1);
}

.ed-contacto__info-value {
    font-size: var(--ed-text-base);
    color: var(--ed-text);
    font-weight: 500;
}

.ed-contacto__map {
    margin-top: var(--ed-space-8);
    border-radius: var(--ed-radius-lg);
    overflow: hidden;
    border: 1px solid var(--ed-border);
    height: 240px;
}

.ed-contacto__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(20%);
}


/* ============================================================
   FAQ PAGE
   ============================================================ */

.ed-faq {
    padding-block: var(--ed-space-20);
    background: var(--ed-bg);
}

.ed-faq__list {
    max-width: 820px;
    margin-inline: auto;
    margin-top: var(--ed-space-12);
}

.ed-faq details {
    border-bottom: 1px solid var(--ed-border);
    overflow: hidden;
}

.ed-faq details:first-of-type {
    border-top: 1px solid var(--ed-border);
}

.ed-faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--ed-space-6) var(--ed-space-2);
    cursor: pointer;
    font-weight: 600;
    font-size: var(--ed-text-md);
    color: var(--ed-text);
    list-style: none;
    transition: color var(--ed-transition-fast);
    gap: var(--ed-space-4);
}

.ed-faq summary::-webkit-details-marker {
    display: none;
}

.ed-faq summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--ed-naranja);
    flex-shrink: 0;
    transition: transform var(--ed-transition-base);
    line-height: 1;
}

.ed-faq details[open] summary {
    color: var(--ed-naranja);
}

.ed-faq details[open] summary::after {
    content: '−';
    transform: rotate(0deg);
}

.ed-faq__answer {
    padding: 0 var(--ed-space-2) var(--ed-space-6);
    font-size: var(--ed-text-base);
    color: var(--ed-text-lt);
    line-height: var(--ed-leading-loose);
    animation: ed-fade-up 0.25s ease both;
}

.ed-faq__answer a {
    color: var(--ed-naranja);
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* ============================================================
   FINANCING PAGE
   ============================================================ */

.ed-financiacion {
    padding-block: var(--ed-space-20);
    background: var(--ed-bg);
}

.ed-financiacion__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ed-space-8);
    margin-top: var(--ed-space-12);
}

.ed-fin-card {
    border: 1px solid var(--ed-border);
    border-radius: var(--ed-radius-xl);
    padding: var(--ed-space-8);
    text-align: center;
    background: var(--ed-white);
    transition: box-shadow var(--ed-transition-base), border-color var(--ed-transition-base);
    position: relative;
    overflow: hidden;
}

.ed-fin-card:hover {
    box-shadow: var(--ed-shadow-lg);
    border-color: var(--ed-naranja);
}

.ed-fin-card.is-featured {
    border: 2px solid var(--ed-naranja);
    background: var(--ed-naranja-light);
}

.ed-fin-card__label {
    font-size: var(--ed-text-xs);
    font-weight: 700;
    letter-spacing: var(--ed-tracking-widest);
    text-transform: uppercase;
    color: var(--ed-naranja);
    margin-bottom: var(--ed-space-3);
}

.ed-fin-card__title {
    font-family: var(--ed-font-display);
    font-size: var(--ed-text-2xl);
    text-transform: uppercase;
    color: var(--ed-text);
    margin-bottom: var(--ed-space-2);
}

.ed-fin-card__amount {
    font-family: var(--ed-font-display);
    font-size: var(--ed-text-4xl);
    color: var(--ed-naranja);
    line-height: 1;
    margin-block: var(--ed-space-5);
}

.ed-fin-card__period {
    font-size: var(--ed-text-sm);
    color: var(--ed-text-lt);
    margin-bottom: var(--ed-space-5);
}

.ed-fin-card__details {
    font-size: var(--ed-text-sm);
    color: var(--ed-text-lt);
    line-height: var(--ed-leading-normal);
    margin-bottom: var(--ed-space-6);
}

.ed-fin-card__badge {
    position: absolute;
    top: var(--ed-space-4);
    right: var(--ed-space-4);
    background: var(--ed-naranja);
    color: var(--ed-white);
    font-size: var(--ed-text-xs);
    font-weight: 700;
    padding: 3px var(--ed-space-3);
    border-radius: var(--ed-radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .ed-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ed-cursos-preview__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ed-features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ed-testimonios__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ed-curso__body {
        grid-template-columns: 1fr;
    }

    .ed-curso__price {
        position: static;
        min-width: unset;
    }

    .ed-curso__hero-inner {
        grid-template-columns: 1fr;
    }

    .ed-contacto__inner {
        grid-template-columns: 1fr;
    }

    .ed-financiacion__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ed-hero__bg {
        background-attachment: scroll; /* disable parallax on mobile */
    }

    .ed-hero__title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .ed-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--ed-space-6);
    }

    .ed-cursos-preview__grid {
        grid-template-columns: 1fr;
    }

    .ed-features__grid {
        grid-template-columns: 1fr;
    }

    .ed-testimonios__grid {
        grid-template-columns: 1fr;
    }

    .ed-blog-grid__posts {
        flex-direction: column;
        align-items: center;
    }

    .ed-blog-card {
        width: 100%;
        max-width: 480px;
    }

    .ed-related__grid {
        grid-template-columns: 1fr;
    }

    .ed-curso__schedule-grid {
        grid-template-columns: 1fr;
    }

    .ed-financiacion__grid {
        grid-template-columns: 1fr;
    }

    .ed-section__title {
        font-size: var(--ed-text-3xl);
    }

    .ed-post__author {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .ed-stats__grid {
        grid-template-columns: 1fr 1fr;
    }

    .ed-hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .ed-final-cta__actions {
        flex-direction: column;
        align-items: center;
    }

    .ed-fecha-card {
        padding: var(--ed-space-5);
    }
}


/* ============================================================
   PRINT STYLES
   ============================================================ */

@media print {
    /* Hide chrome */
    .ed-header,
    .ed-footer,
    .ed-whatsapp-float,
    .ed-hero__scroll,
    .ed-sponsors,
    .ed-final-cta,
    .ed-post__author,
    .ed-related,
    .ed-contacto__map,
    nav,
    footer {
        display: none !important;
    }

    /* Reset backgrounds */
    body,
    .ed-curso,
    .ed-post__hero,
    .ed-post__body,
    .ed-stats,
    .ed-faq {
        background: #fff !important;
        color: #000 !important;
    }

    /* Show URLs after links */
    .ed-post__body a[href]::after {
        content: ' (' attr(href) ')';
        font-size: 0.75em;
        color: #555;
        word-break: break-all;
    }

    /* Avoid breaking key elements */
    .ed-fecha-card,
    .ed-fin-card,
    .ed-temario-section {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    /* Reset shadows and transforms */
    * {
        box-shadow: none !important;
        text-shadow: none !important;
        transform: none !important;
    }

    .ed-curso__price {
        position: static;
        border: 1px solid #ccc;
    }
}

/* ============================================================
   PAGE HERO — Used by curso pages and contacto
   ============================================================ */

.ed-page-hero {
  background: var(--ed-bg-alt, #f5f5f5);
  padding: 7rem 0 3rem;
  border-bottom: 1px solid var(--ed-border, #e5e5e5);
}

.ed-page-hero--curso {
  background: linear-gradient(135deg, #f5f5f5 0%, #fff 60%, rgba(245,91,17,0.04) 100%);
}

.ed-page-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.ed-badge {
  display: inline-block;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
}

.ed-badge--stars {
  background: #fef3e0;
  border-color: #f5a623;
  color: #b7791f;
}

.ed-page-hero__title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  line-height: 1.1;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.ed-title-sub {
  color: #f55b11;
}

.ed-page-hero__subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.ed-page-hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   PRECIO BOX — Neuromarketing price section
   ============================================================ */

.ed-section--precio {
  padding: 4rem 0;
}

.ed-precio-box {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}

.ed-precio-box__h2 {
  font-family: 'Barlow', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.ed-precio-box__intro {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.ed-valor-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ed-valor-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e5e5;
  font-size: 0.95rem;
}

.ed-valor-list__precio {
  font-weight: 700;
  color: #f55b11;
  white-space: nowrap;
  margin-left: 1rem;
}

.ed-valor-total-incluido {
  background: #fef3e0;
  border: 1px solid #f5a623;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  text-align: center;
}

.ed-precio-box__precio-final {
  background: #1a1a1a;
  color: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: sticky;
  top: 100px;
}

.ed-precio-box__etiqueta {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.ed-precio-box__cifra {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: 3.5rem;
  color: #f55b11;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.ed-precio-box__iva {
  display: block;
  font-size: 0.85rem;
  opacity: 0.6;
  margin-bottom: 0.5rem;
}

.ed-precio-box__descuento {
  display: inline-block;
  background: rgba(245,91,17,0.15);
  color: #f55b11;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.ed-precio-box__financiacion-link {
  display: block;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
}

.ed-precio-box__financiacion-link:hover {
  color: #fff;
}

/* ============================================================
   INCLUYE — What's included grid
   ============================================================ */

.ed-section--light {
  background: #f5f5f5;
}

.ed-section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.ed-incluye-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.ed-incluye-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  transition: box-shadow 0.2s;
}

.ed-incluye-item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.ed-incluye-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(245,91,17,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f55b11;
}

.ed-incluye-item__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ed-incluye-item__text strong {
  font-size: 0.95rem;
}

.ed-incluye-item__text span {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
}

/* ============================================================
   HORARIO — Schedule cards
   ============================================================ */

.ed-horario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.ed-horario-card {
  background: #fff;
  border: 2px solid #e5e5e5;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.2s;
}

.ed-horario-card:hover {
  border-color: #f55b11;
}

.ed-horario-card__title {
  font-family: 'Anton', sans-serif;
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.ed-horario-card__horas {
  font-size: 1.8rem;
  font-weight: 700;
  color: #f55b11;
  margin-bottom: 0.25rem;
}

.ed-horario-card__dias {
  color: #666;
  font-size: 0.95rem;
}

.ed-horario-card__duracion {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #999;
  font-style: italic;
}

.ed-horario__nota {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   CONTACTO layout
   ============================================================ */

.ed-contacto-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: start;
}

.ed-contacto-form__titulo,
.ed-contacto-info__titulo {
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.ed-contacto-form__intro {
  color: #666;
  margin-bottom: 1.5rem;
}

.ed-ghl-form-wrap {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
}

.ed-contacto-info {
  background: #f5f5f5;
  border-radius: 16px;
  padding: 2rem;
}

.ed-contacto-dato {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.ed-contacto-dato:last-of-type {
  border-bottom: none;
}

.ed-contacto-dato__icono {
  flex-shrink: 0;
  color: #f55b11;
}

.ed-contacto-dato__texto {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ed-contacto-dato__texto strong {
  font-size: 0.9rem;
}

.ed-contacto-dato__texto span,
.ed-contacto-dato__texto address {
  font-size: 0.9rem;
  color: #666;
  font-style: normal;
}

.ed-contacto-link {
  color: #f55b11;
  text-decoration: none;
  font-weight: 600;
}

.ed-contacto-link:hover {
  text-decoration: underline;
}

.ed-contacto-whatsapp {
  margin-top: 1.5rem;
}

/* Form */
.ed-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ed-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ed-form__group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a1a1a;
}

.ed-form__group input,
.ed-form__group select,
.ed-form__group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.2s;
}

.ed-form__group input:focus,
.ed-form__group select:focus,
.ed-form__group textarea:focus {
  outline: none;
  border-color: #f55b11;
  box-shadow: 0 0 0 3px rgba(245,91,17,0.1);
}

.ed-form__note {
  text-align: center;
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.5rem;
}

.ed-form__note a {
  color: #f55b11;
  font-weight: 600;
}

.ed-mapa-wrap {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.ed-mapa-iframe {
  display: block;
  filter: grayscale(20%);
}

.ed-area-servida {
  text-align: center;
}

.ed-area-servida__titulo {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.ed-area-servida__texto {
  color: #666;
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   BLOG ARCHIVE + CARDS
   ============================================================ */

.ed-page-hero--blog {
  background: #1a1a1a;
  color: #fff;
  padding: 7rem 0 3rem;
  text-align: center;
}
.ed-page-hero--blog .ed-page-hero__title { color: #fff; }
.ed-page-hero--blog .ed-page-hero__subtitle { color: rgba(255,255,255,0.7); margin: 0 auto; }

.ed-blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.ed-card-post {
  width: calc((100% - 3rem) / 3);
  min-width: 280px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ed-card-post:hover {
  border-color: #f55b11;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

/* Pilar card */
.ed-card-post--pilar {
  border-color: #f55b11;
  background: linear-gradient(135deg, rgba(245,91,17,0.03) 0%, #fff 60%);
}

/* Image */
.ed-card-post__img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #f0f0f0;
}
.ed-card-post__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.ed-card-post:hover .ed-card-post__img {
  transform: scale(1.05);
}
.ed-card-post__img-wrap--placeholder {
  background: linear-gradient(135deg, #e5e5e5, #f5f5f5);
}

/* Pilar badge */
.ed-badge--pilar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #f55b11;
  color: #fff;
  font-family: 'Anton', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 6px 0;
  text-align: center;
  z-index: 2;
}

/* Body */
.ed-card-post__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ed-card-post__categoria {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #f55b11;
  text-decoration: none;
  margin-bottom: 0.5rem;
}
.ed-card-post__title {
  font-family: 'Barlow', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.ed-card-post__title a {
  color: #1a1a1a;
  text-decoration: none;
}
.ed-card-post__title a:hover {
  color: #f55b11;
}
.ed-card-post--pilar .ed-card-post__title a {
  color: #f55b11;
}
.ed-card-post__excerpt {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  flex: 1;
}
.ed-card-post__meta {
  font-size: 0.78rem;
  color: #999;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.ed-card-post__cta {
  font-family: 'Anton', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #f55b11;
  text-decoration: none;
}
.ed-card-post__cta:hover {
  text-decoration: underline;
}

/* Pagination */
.ed-pagination {
  margin-top: 3rem;
  text-align: center;
}
.ed-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.ed-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  border: 1px solid #e5e5e5;
  transition: all 0.2s;
}
.ed-pagination .page-numbers:hover {
  border-color: #f55b11;
  color: #f55b11;
}
.ed-pagination .page-numbers.current {
  background: #f55b11;
  color: #fff;
  border-color: #f55b11;
}
.ed-pagination .prev,
.ed-pagination .next {
  width: auto;
  padding: 0 1rem;
  font-size: 0.85rem;
}

.ed-blog-empty {
  text-align: center;
  padding: 4rem 0;
  color: #666;
}

@media (max-width: 768px) {
  .ed-card-post {
    width: 100%;
    min-width: 0;
  }
}

/* ============================================================
   ILUSTRACION — Course-specific sections
   ============================================================ */

/* Aprenderas grid (class has accent from agent, support both) */
.ed-aprenderás-grid,
.ed-aprenderas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* Portfolio content */
.ed-portfolio-content {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid #e5e5e5;
}

.ed-portfolio-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1rem;
}

.ed-portfolio-content p:last-child {
  margin-bottom: 0;
  font-weight: 600;
  color: #1a1a1a;
}

/* Detalles grid */
.ed-detalles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.ed-detalle-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s;
}

.ed-detalle-item:hover {
  border-color: #f55b11;
}

.ed-detalle-item__label {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f55b11;
  margin-bottom: 0.5rem;
}

.ed-detalle-item__valor {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
}

/* CTA naranja with price (inscripcion variant) */
.ed-inscripción__precio,
.ed-inscripcion__precio {
  margin-bottom: 2rem;
}

.ed-inscripción__precio-cifra,
.ed-inscripcion__precio-cifra {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: 3.5rem;
  color: #fff;
  line-height: 1;
}

.ed-inscripción__precio-detalle,
.ed-inscripcion__precio-detalle {
  font-size: 0.9rem;
  opacity: 0.8;
}

.ed-cta-final__financiación,
.ed-cta-final__financiacion {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .ed-aprenderás-grid,
  .ed-aprenderas-grid {
    grid-template-columns: 1fr;
  }
  .ed-detalles-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   AUTORIDAD — Trust badges grid (higienico page)
   ============================================================ */

.ed-badge--authority {
  background: #e8f5e9;
  border-color: #4caf50;
  color: #2e7d32;
}

.ed-badge--legal {
  background: #fff3e0;
  border-color: #ff9800;
  color: #e65100;
}

.ed-section--autoridad {
  padding: 4rem 0;
}

.ed-autoridad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.ed-autoridad-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ed-autoridad-item:hover {
  border-color: #f55b11;
  box-shadow: 0 8px 30px rgba(245,91,17,0.08);
}

.ed-autoridad-item__icono {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: rgba(245,91,17,0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f55b11;
}

.ed-autoridad-item__titulo {
  font-family: 'Anton', sans-serif;
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.ed-autoridad-item__texto {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* ============================================================
   APRENDERAS — What you'll learn grid
   ============================================================ */

.ed-aprenderas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ed-aprender-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.ed-aprender-item:hover {
  border-color: #f55b11;
}

.ed-aprender-item__titulo {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.ed-aprender-item p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   LEGAL — Rich content section
   ============================================================ */

.ed-section--legal {
  padding: 4rem 0;
}

.ed-legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.ed-legal-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.25rem;
}

.ed-legal-h3 {
  font-family: 'Barlow', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-left: 1rem;
  border-left: 3px solid #f55b11;
}

.ed-legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.ed-legal-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: #444;
}

.ed-legal-list li::before {
  content: '✓';
  color: #f55b11;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   PARA QUIEN — Target audience grid
   ============================================================ */

.ed-para-quien-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.ed-para-quien-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.ed-para-quien-item:hover {
  border-color: #f55b11;
  transform: translateY(-2px);
}

.ed-para-quien-item h3 {
  font-family: 'Anton', sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: #f55b11;
}

.ed-para-quien-item p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   PRECIO BOX — Simple variant (higienico)
   ============================================================ */

.ed-precio-box--simple {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}

.ed-precio-box__info h2 {
  font-family: 'Anton', sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.ed-precio-box__info > p {
  color: #666;
  margin-bottom: 1.5rem;
}

.ed-precio-box__puntos {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ed-precio-box__puntos li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  border-bottom: 1px solid #e5e5e5;
}

.ed-precio-box__puntos li::before {
  content: '✓';
  color: #4caf50;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ============================================================
   RESPONSIVE — autoridad, aprenderas, para-quien, precio-simple
   ============================================================ */

@media (max-width: 768px) {
  .ed-autoridad-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .ed-aprenderas-grid {
    grid-template-columns: 1fr;
  }
  .ed-para-quien-grid {
    grid-template-columns: 1fr;
  }
  .ed-precio-box--simple {
    grid-template-columns: 1fr;
  }
  .ed-precio-box--simple .ed-precio-box__precio-final {
    position: static;
  }
}

/* ============================================================
   TEMARIO — Course curriculum blocks
   ============================================================ */

.ed-temario-block {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s;
}

.ed-temario-block:hover {
  border-color: #f55b11;
}

.ed-temario-block__semana {
  font-family: 'Barlow', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f55b11;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ed-temario-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ed-temario-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

.ed-temario-list li::before {
  content: '→';
  color: #f55b11;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   FAQ — Accordion
   ============================================================ */

.ed-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.ed-faq-item {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s;
}

.ed-faq-item[open] {
  border-color: #f55b11;
}

.ed-faq-item__pregunta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  background: #fff;
  transition: background 0.2s;
}

.ed-faq-item__pregunta:hover {
  background: #fafafa;
}

.ed-faq-item__pregunta::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: #f55b11;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.ed-faq-item[open] .ed-faq-item__pregunta::after {
  content: '−';
}

.ed-faq-item__pregunta::-webkit-details-marker {
  display: none;
}

.ed-faq-item__respuesta {
  padding: 0 1.5rem 1.25rem;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.ed-faq-item__respuesta a {
  color: #f55b11;
  font-weight: 600;
}

/* ============================================================
   INSCRIPCION — Final CTA naranja
   ============================================================ */

.ed-section--naranja {
  background: #f55b11;
  color: #fff;
  padding: 4rem 0;
}

.ed-text-center {
  text-align: center;
}

.ed-inscripcion__title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.5rem;
}

.ed-inscripcion__subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.ed-inscripcion__precio {
  margin-bottom: 2rem;
}

.ed-inscripcion__precio-cifra {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: 3.5rem;
  color: #fff;
  line-height: 1;
}

.ed-inscripcion__precio-detalle {
  font-size: 0.9rem;
  opacity: 0.8;
}

.ed-btn--white {
  display: inline-block;
  background: #fff;
  color: #f55b11;
  font-family: 'Anton', sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem 3rem;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ed-btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.ed-inscripcion__financiacion {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.ed-link-white {
  color: #fff;
  text-decoration: underline;
}

/* ============================================================
   RESPONSIVE — curso + contacto
   ============================================================ */

@media (max-width: 768px) {
  .ed-precio-box {
    grid-template-columns: 1fr;
  }
  .ed-precio-box__precio-final {
    position: static;
  }
  .ed-incluye-grid {
    grid-template-columns: 1fr;
  }
  .ed-horario-grid {
    grid-template-columns: 1fr;
  }
  .ed-contacto-layout {
    grid-template-columns: 1fr;
  }
  .ed-page-hero__title {
    font-size: 2rem;
  }
}
