.programs-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 40px;
  align-items: center;
}

.programs-title {
  margin: 0 0 20px;
  font-size: clamp(40px, 6vw, 66px);
  line-height: 0.95;
  font-weight: 900;
  color: #111827;
}

.programs-intro {
  margin: 0;
  max-width: 760px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.programs-hero-card-inner,
.summary-card,
.program-visual-card,
.program-note-box,
.program-stat-card,
.history-cta,
.disnet-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.programs-hero {
  padding: 72px 0;
  background: var(--bg);
  margin: -20px 0 0 0;
}

.programs-hero-card-inner,
.summary-card,
.program-visual-card,
.program-note-box,
.program-stat-card,
.history-cta,
.disnet-card,
.disnet-card-video {
  background: var(--bg);
}
.disnet-card-video {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  height: 400px;
  padding: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.disnet-card-video video source {
  border-radius: 20px;
  width: 100%;
  height: 100%;
}
.disnet-card-video video {
  width: 540px;
  height: 320px;
  border-radius: var(--radius-md);
}
.programs-hero-card-inner,
.program-visual-card,
.program-note-box,
.program-stat-card,
.disnet-card {
  padding: 28px;
}

.mini-label {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 28, 118, 0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.programs-hero-card-inner h2,
.program-copy h2,
.program-visual-card h3,
.program-note-box h3,
.disnet-card h3 {
  margin: 0 0 12px;
  color: #111827;
}

.programs-hero-card-inner h2 {
  font-size: 28px;
}

.programs-hero-card-inner p,
.program-copy p,
.program-visual-card p,
.program-note-box p,
.program-stat-card p,
.disnet-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.hero-checks {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-checks li {
  position: relative;
  padding-left: 28px;
  color: #111827;
  font-weight: 700;
}

.hero-checks li::before {
  content: '•';
  position: absolute;
  left: 10px;
  color: #001c76;
  font-size: 22px;
  line-height: 1;
}

.programs-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.summary-card {
  padding: 24px;
  text-align: center;
}

.summary-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #111827;
}

.summary-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.program-section {
  padding: 72px 0;
  background: var(--bg);
}

.program-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 32px;
  align-items: start;
}

.program-layout.reverse {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
}

.program-layout.reverse .program-copy {
  order: 2;
}

.program-layout.reverse .program-visual-card {
  order: 1;
}

.program-copy h2 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 900;
}

.program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.program-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0, 68, 124, 0.08);
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}

.feature-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-item {
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f9fbff 0%, #f3f6fb 100%);
  border: 1px solid #e9eef7;
  color: #1f2937;
  font-weight: 700;
  min-height: 100%;
}

.extra-panel-grid {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-top: 28px;
}

.program-note-box {
  border-left: 5px solid #00208a;
  max-height: 500px;
  max-width: 650px;
  margin-top: 28px;
}

.program-stat-card {
 width: 900px;
 margin-top: 28px;
}
.program-stat-card h3 {
  margin: 0 0 0px;
  color: #111827;
}
.stat-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.program-stat-card strong {
  font-size: 28px;
  font-weight: 900;
  color: #111827;
  margin-bottom: 10px;
}

.commerce-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.commerce-steps {
  display: grid;
  gap: 14px;
}

.commerce-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 14px;
  background: rgba(0, 28, 118, 0.04);
  border: 1px solid rgba(0, 28, 118, 0.08);
}

.commerce-step span {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--primary);
  color: var(--white);
  font-weight: 900;
  font-size: 18px;
}

.commerce-step p {
  margin: 0;
}

.disnet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.disnet-card.large {
  grid-column: span 2;
}

.disnet-section .section-heading {
  display: block;
  text-align: left;
  margin-bottom: 36px;
}

.disnet-section .section-heading p {
  max-width: 900px;
  margin: 0;
  text-align: left;
}

.ad360 {
  width: 220px;
  height: 92px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 16px auto;
}

.ad360 a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.ad360 a img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
} 

.ad360 a:hover {
  transform: translateY(-1px);
}
.adtaller {
  width: 230px;
  height: 70px;
  margin: 1% 0 1% 0;
}
.adtaller a img {
  width: 100%;
  height: 100%;
}
.adtaller a :hover {
  transform: translateY(-1px);
}
.adtaller-box {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 100px;
}
.adtaller-box img {
  width: 100px;
  height: 100px;
  padding: 0px;
  margin: -20px 0 0 0;
  filter: grayscale(100%);
}
.sidebar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

}

.adtaller-box div img:hover {
  filter: grayscale(0%);
  transform: scale(1.03);
}
.eina {
  box-shadow: 0px 0px 10px 10px var(--bg);
}
.legal-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 14px;
  background: var(--secondary);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.legal-action-btn:hover {
  transform: translateY(-2px);
  background-color: #001c76;
}

.legal-action-btn-outline {
  background: var(--secondary);
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.legal-action-btn,
.adtaller-logo-verifactu {
  height: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
/* ===================== */
/* AD TALLER / VERIFACTU */
/* ===================== */

.adtaller-logo-row {
  margin-bottom: 18px;
}

.adtaller-logo-verifactu {
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.adtaller-logo-verifactu img {
  width: 70px;
  height: auto;
  display: block;
}

.adtaller-logo-verifactu span {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.verifactu-card {
  border-left: 5px solid #001c76;
}
.flex {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
}
@media (max-width: 768px) {
  .adtaller-logo-verifactu {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 8px;
  }

  .adtaller-logo-verifactu img {
    width: 90px;
  }

  .adtaller-logo-verifactu span {
    font-size: 12px;
  }
}
/* ===================== */
/* RESPONSIVE PROGRAMAS */
/* ===================== */

@media (max-width: 1100px) {
  .programs-summary-grid,
  .feature-list-grid,
  .disnet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-stat-card {
    width: 100%;
  }

  .extra-panel-grid {
    flex-direction: column;
  }

  .adtaller-box {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .programs-hero-grid,
  .program-layout,
  .program-layout.reverse {
    grid-template-columns: 1fr;
  }

  .program-layout.reverse .program-copy,
  .program-layout.reverse .program-visual-card {
    order: initial;
  }

  .programs-hero {
    margin-top: 0;
  }
}

@media (max-width: 768px) {

  /* HERO */
  .programs-hero {
    padding: 28px 0;
  }

  .programs-title {
    font-size: 28px;
    line-height: 1.05;
    text-align: center;
    margin-bottom: 14px;
  }

  .programs-intro {
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
    margin-top: 18px;
    gap: 10px;
  }

  .programs-hero-card-inner,
  .summary-card,
  .program-visual-card,
  .program-note-box,
  .program-stat-card,
  .history-cta,
  .disnet-card,
  .disnet-card-video {
    padding: 18px;
  }

  .programs-hero-card-inner h2,
  .program-copy h2,
  .program-visual-card h3,
  .program-note-box h3,
  .disnet-card h3 {
    font-size: 20px;
    line-height: 1.2;
    text-align: center;
  }

  .programs-hero-card-inner p,
  .program-copy p,
  .program-visual-card p,
  .program-note-box p,
  .program-stat-card p,
  .disnet-card p,
  .summary-card p,
  .commerce-step p {
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
  }

  .mini-label,
  .stat-label {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  /* CHECKS */
  .hero-checks {
    gap: 8px;
    margin-top: 14px;
  }

  .hero-checks li {
    font-size: 13px;
    padding-left: 22px;
  }

  .hero-checks li::before {
    left: 6px;
    font-size: 18px;
  }

  /* GRIDS */
  .programs-summary-grid,
  .feature-list-grid,
  .disnet-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .disnet-card.large {
    grid-column: auto;
  }

  .program-section {
    padding: 38px 0;
  }

  .program-layout,
  .program-layout.reverse {
    gap: 22px;
  }

  .program-tags {
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }

  .program-tags span {
    font-size: 12px;
    padding: 8px 12px;
  }

  .feature-item {
    font-size: 13px;
    text-align: center;
    padding: 13px;
  }

  /* PANELES */
  .extra-panel-grid {
    flex-direction: column;
    gap: 16px;
    margin-top: 18px;
  }

  .program-note-box {
    max-width: 100%;
    max-height: none;
    border-left: 4px solid #00208a;
  }

  .program-stat-card {
    width: 100%;
  }

  .program-stat-card strong {
    display: block;
    font-size: 22px;
    text-align: center;
  }

  /* COMERCIO */
  .commerce-step {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 14px;
  }

  .commerce-step span {
    width: 44px;
    height: 44px;
    font-size: 15px;
  }

  /* DISNET / VIDEO */
  .disnet-section .section-heading,
  .disnet-section .section-heading p {
    text-align: center;
  }

  .disnet-card-video {
    height: auto;
  }

  .disnet-card-video video {
    width: 100%;
    height: auto;
    max-height: 220px;
  }

  /* LOGOS / IMÁGENES */
  .ad360 {
    width: 160px;
    height: auto;
    margin: 12px auto;
  }

  .adtaller {
    width: 170px;
    height: auto;
    margin: 12px auto;
  }

  .adtaller-box {
    flex-wrap: wrap;
    gap: 18px;
  }

  .adtaller-box img {
    width: 70px;
    height: 70px;
    margin: 0;
  }

  .sidebar-image img {
    max-height: 220px;
    object-fit: cover;
    border-radius: 14px;
  }

  /* BOTONES */
  .legal-action-btn {
    min-height: 40px;
    padding: 10px 14px;
    font-size: 12px;
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  .programs-title {
    font-size: 24px;
  }

  .programs-intro,
  .programs-hero-card-inner p,
  .program-copy p,
  .program-visual-card p,
  .program-note-box p,
  .program-stat-card p,
  .disnet-card p,
  .summary-card p,
  .commerce-step p {
    font-size: 12px;
  }

  .programs-hero-card-inner h2,
  .program-copy h2,
  .program-visual-card h3,
  .program-note-box h3,
  .disnet-card h3 {
    font-size: 18px;
  }

  .summary-card h3 {
    font-size: 16px;
  }

  .adtaller-box img {
    width: 58px;
    height: 58px;
  }

  .disnet-card-video video {
    max-height: 180px;
  }
}