/* ESIPEC DETALLE PÚBLICO DE PROGRAMA V1 */
/* ESIPEC FICHA COMERCIAL ESTABLE V9 */
.program-detail-page {
    --program-navy: #082f4a;
    --program-navy-deep: #06253a;
    --program-teal: #0d9ca0;
    --program-teal-dark: #08777c;
    --program-teal-soft: #eaf8f7;
    --program-gold: #d5a338;
    --program-orange: #f47a20;
    --program-green: #168c6a;
    --program-ink: #17394b;
    --program-muted: #627b89;
    --program-line: #d9e7eb;
    --program-bg: #f4f8f9;
    --program-shadow: 0 18px 44px rgba(7, 48, 73, .09);
    color: var(--program-ink);
    background: var(--program-bg);
    font-family: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.program-detail-page * {
    box-sizing: border-box;
}

.program-detail-page a {
    text-underline-offset: 3px;
}

.program-detail-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 0 28px;
    border-bottom: 1px solid #d8e8ea;
    background:
        radial-gradient(circle at 90% 8%, rgba(13, 156, 160, .18), transparent 28%),
        radial-gradient(circle at 100% 100%, rgba(213, 163, 56, .12), transparent 24%),
        linear-gradient(120deg, #f9fcfd 0%, #eff8f8 58%, #f7fbfc 100%);
}

.program-detail-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(390px, .82fr);
    gap: 52px;
    align-items: center;
}

.program-detail-copy {
    max-width: 710px;
}

.program-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 20px;
    color: #6c818d;
    font-size: 12px;
}

.program-breadcrumb a {
    color: #577381;
    text-decoration: none;
}

.program-breadcrumb a:hover {
    color: var(--program-teal);
}

.program-breadcrumb strong {
    color: var(--program-navy);
}

.program-detail-badges,
.program-detail-actions,
.program-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.program-type-badge,
.program-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
}

.program-type-badge {
    color: #fff;
    background: var(--program-navy);
}

.program-status-badge {
    color: var(--program-teal-dark);
    border: 1px solid #abd9da;
    background: rgba(255, 255, 255, .88);
}

.program-detail-copy h1 {
    max-width: 760px;
    margin: 16px 0 16px;
    color: var(--program-navy-deep);
    font-family: inherit;
    font-size: clamp(36px, 4.15vw, 52px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.program-detail-lead {
    max-width: 675px;
    margin: 0;
    color: #587381;
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.62;
}

.program-detail-actions {
    margin-top: 25px;
}

.program-primary-button,
.program-secondary-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.program-primary-button {
    color: #fff;
    border: 1px solid var(--program-navy);
    background: linear-gradient(90deg, var(--program-navy), #0b6973);
    box-shadow: 0 11px 24px rgba(7, 48, 73, .16);
}

.program-secondary-button {
    color: var(--program-navy);
    border: 1px solid #a7bdc6;
    background: #fff;
}

.program-primary-button:hover,
.program-secondary-button:hover {
    transform: translateY(-2px);
}

.program-primary-button.is-full,
.program-secondary-button.is-full {
    width: 100%;
}

.program-free-link {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    margin-top: 13px;
    color: var(--program-navy);
    font-size: 13px;
    font-weight: 600;
}

.program-free-link:hover {
    color: var(--program-teal-dark);
}

.program-free-link > span {
    color: var(--program-teal);
    font-size: 11px;
}

.program-detail-cover-wrap {
    position: relative;
    padding-bottom: 24px;
}

.program-detail-cover {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(8, 47, 74, .12);
    border-radius: 22px;
    background: #dceff0;
    box-shadow: 0 26px 54px rgba(7, 48, 73, .17);
}

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

.program-detail-cover-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 34px;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(circle at 76% 22%, rgba(213, 163, 56, .46), transparent 24%),
        linear-gradient(135deg, var(--program-navy), var(--program-teal));
}

.program-detail-cover-placeholder > span {
    margin-bottom: 15px;
    color: #f6cf6f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
}

.program-detail-cover-placeholder > strong {
    font-size: clamp(24px, 2.6vw, 35px);
    line-height: 1.18;
}

.program-cover-trust {
    position: absolute;
    right: 18px;
    bottom: 0;
    left: 18px;
    display: flex;
    gap: 12px;
    align-items: center;
    min-height: 67px;
    padding: 12px 15px;
    border: 1px solid #d4e4e7;
    border-radius: 13px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 13px 30px rgba(7, 48, 73, .13);
}

.program-cover-trust-icon,
.program-fact-icon {
    display: grid;
    place-items: center;
    color: var(--program-teal-dark);
    background: var(--program-teal-soft);
}

.program-cover-trust-icon {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    border-radius: 11px;
}

.program-cover-trust-icon svg,
.program-fact-icon svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.program-cover-trust > span:last-child {
    display: grid;
    gap: 2px;
}

.program-cover-trust small {
    color: #738690;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.program-cover-trust strong {
    color: var(--program-navy);
    font-size: 13px;
    line-height: 1.35;
}

.program-academic-facts {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 38px;
}

.program-academic-facts article {
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 0;
    min-height: 72px;
    padding: 12px 13px;
    border: 1px solid #d8e7e9;
    border-radius: 13px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 8px 22px rgba(7, 48, 73, .05);
}

.program-fact-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 10px;
}

.program-academic-facts article > span:last-child {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.program-academic-facts small {
    color: #728792;
    font-size: 10px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.program-academic-facts strong {
    overflow: hidden;
    color: var(--program-navy);
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
}

.program-value-strip {
    border-bottom: 1px solid var(--program-line);
    background: #fff;
}

.program-value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.program-value-grid article {
    display: flex;
    gap: 13px;
    align-items: center;
    min-height: 96px;
    padding: 18px 22px;
    border-right: 1px solid var(--program-line);
}

.program-value-grid article:last-child {
    border-right: 0;
}

.program-value-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 10px;
    color: var(--program-teal-dark);
    background: #eaf7f7;
    font-size: 10px;
    font-weight: 700;
}

.program-value-grid article > div {
    display: grid;
    gap: 3px;
}

.program-value-grid strong {
    color: var(--program-navy);
    font-size: 14px;
}

.program-value-grid article > div > span {
    color: #71848e;
    font-size: 11px;
    line-height: 1.4;
}

.program-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 28px;
    align-items: start;
    padding-top: 38px;
    padding-bottom: 58px;
}

.program-detail-main {
    display: grid;
    gap: 21px;
}

.program-detail-panel,
.program-enrollment-card,
.program-information-card,
.program-certificate-card,
.program-support-card {
    border: 1px solid var(--program-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--program-shadow);
}

.program-detail-panel {
    padding: 29px;
}

.program-section-label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--program-teal-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.program-detail-panel h2,
.program-enrollment-card h2,
.program-information-card h3,
.program-certificate-card h3,
.program-support-card h3 {
    margin: 0;
    color: var(--program-navy);
    font-family: inherit;
}

.program-detail-panel h2 {
    font-size: clamp(25px, 2.5vw, 34px);
    line-height: 1.2;
}

.program-detail-text {
    margin-top: 17px;
    color: var(--program-muted);
    font-size: 14px;
    line-height: 1.8;
    white-space: pre-line;
}

.program-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 24px;
    padding-top: 23px;
    border-top: 1px solid #e5edef;
}

.program-profile-block {
    min-width: 0;
}

.program-profile-block h3 {
    margin: 0 0 13px;
    color: var(--program-navy);
    font-size: 16px;
}

.program-check-list,
.program-dot-list,
.program-access-benefits,
.program-certificate-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.program-check-list li,
.program-dot-list li {
    position: relative;
    padding-left: 24px;
    color: #54707e;
    font-size: 13px;
    line-height: 1.55;
}

.program-check-list li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--program-teal);
    font-weight: 700;
}

.program-dot-list li::before {
    content: "";
    position: absolute;
    top: .62em;
    left: 5px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--program-gold);
}

.program-method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-top: 20px;
}

.program-method-grid article {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid #dce8ea;
    border-radius: 13px;
    background: #f8fbfc;
}

.program-method-grid article > span {
    color: var(--program-teal-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
}

.program-method-grid p {
    margin: 0;
    color: #55717e;
    font-size: 13px;
    line-height: 1.55;
}

.program-panel-heading {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
}

.program-content-count {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 9px;
    color: #5f7884;
    background: #eef5f6;
    font-size: 11px;
    font-weight: 700;
}

.program-module {
    overflow: hidden;
    margin-top: 11px;
    border: 1px solid var(--program-line);
    border-radius: 13px;
    background: #fff;
}

.program-module summary {
    display: flex;
    cursor: pointer;
    list-style: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 18px;
    background: #f6f9fa;
}

.program-module summary::-webkit-details-marker {
    display: none;
}

.program-module summary > span {
    display: grid;
    gap: 3px;
}

.program-module summary small {
    color: var(--program-teal-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.program-module summary strong {
    color: var(--program-navy);
    font-size: 15px;
}

.program-module summary em {
    color: #71858f;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}

.program-module-lessons {
    padding: 5px 17px 8px;
}

.program-lesson-row {
    display: grid;
    grid-template-columns: 31px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 64px;
    padding: 9px 0;
    border-bottom: 1px solid #edf2f3;
}

.program-lesson-row:last-child {
    border-bottom: 0;
}

.program-lesson-number {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border-radius: 50%;
    color: #4e6c79;
    background: #edf5f6;
    font-size: 11px;
    font-weight: 700;
}

.program-lesson-title {
    display: grid;
    gap: 4px;
}

.program-lesson-title strong {
    color: #284a5b;
    font-size: 13px;
    line-height: 1.45;
}

.program-lesson-title small {
    color: #82939a;
    font-size: 10px;
}

.program-lesson-title small.is-free {
    color: var(--program-green);
    font-weight: 700;
}

.program-lesson-row a {
    color: var(--program-teal-dark);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.program-lock {
    color: #82949d;
    font-size: 11px;
}

.program-empty-message,
.program-empty-state p {
    color: var(--program-muted);
}

.program-empty-state {
    padding: 27px;
    border: 1px dashed #c5d8dc;
    border-radius: 13px;
    background: #f8fbfc;
    text-align: center;
}

.program-empty-state strong {
    color: var(--program-navy);
}

.program-teachers-grid,
.program-testimonials-grid {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.program-teachers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.program-teacher-card {
    display: flex;
    gap: 14px;
    align-items: center;
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--program-line);
    border-radius: 13px;
    background: #f8fbfc;
}

.program-teacher-avatar {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--program-navy), var(--program-teal));
    font-size: 14px;
    font-weight: 700;
}

.program-teacher-card h3 {
    margin: 0;
    color: var(--program-navy);
    font-size: 14px;
    line-height: 1.4;
}

.program-teacher-card p {
    margin: 5px 0 0;
    color: var(--program-muted);
    font-size: 11px;
    line-height: 1.5;
}

.program-testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.program-testimonials-grid article {
    position: relative;
    min-width: 0;
    padding: 20px;
    border: 1px solid #dce8ea;
    border-radius: 14px;
    background: linear-gradient(145deg, #f9fcfd, #f3f8f9);
}

.program-quote-mark {
    position: absolute;
    top: 6px;
    right: 15px;
    color: rgba(13, 156, 160, .18);
    font-size: 54px;
    font-weight: 700;
    line-height: 1;
}

.program-testimonials-grid p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #506d7a;
    font-size: 13px;
    line-height: 1.65;
}

.program-testimonials-grid strong {
    display: block;
    margin-top: 13px;
    color: var(--program-navy);
    font-size: 12px;
}

.program-faq-list {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.program-faq-list details {
    overflow: hidden;
    border: 1px solid var(--program-line);
    border-radius: 12px;
    background: #fff;
}

.program-faq-list summary {
    cursor: pointer;
    padding: 15px 17px;
    color: var(--program-navy);
    font-size: 13px;
    font-weight: 700;
}

.program-faq-list p {
    margin: 0;
    padding: 0 17px 16px;
    color: var(--program-muted);
    font-size: 12px;
    line-height: 1.65;
}

.program-detail-sidebar {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 17px;
}

.program-enrollment-card,
.program-information-card,
.program-certificate-card {
    padding: 23px;
}

.program-price-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: baseline;
    margin-bottom: 16px;
}

.program-price-row strong {
    color: var(--program-navy-deep);
    font-size: 27px;
    line-height: 1.1;
}

.program-price-row del {
    color: #83949c;
    font-size: 14px;
}

.program-price-consult {
    margin-bottom: 16px !important;
    font-size: 22px;
}

.program-enrollment-card > h3 {
    margin: 21px 0 13px;
    color: var(--program-navy);
    font-size: 15px;
}

.program-access-benefits li,
.program-certificate-list li {
    position: relative;
    padding-left: 23px;
    color: #56727f;
    font-size: 12px;
    line-height: 1.5;
}

.program-access-benefits li::before,
.program-certificate-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--program-teal);
    font-weight: 700;
}

.program-access-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    margin: 20px 0 16px;
    color: #87969d;
    font-size: 12px;
}

.program-access-divider::before,
.program-access-divider::after {
    content: "";
    height: 1px;
    background: #dfe9eb;
}

.program-free-access-box {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 13px;
}

.program-free-access-icon {
    display: grid;
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--program-green);
    font-size: 11px;
}

.program-free-access-box h3 {
    margin: 0;
    color: var(--program-navy);
    font-size: 15px;
}

.program-free-access-box p {
    margin: 5px 0 0;
    color: var(--program-muted);
    font-size: 11px;
    line-height: 1.55;
}

.program-login-link {
    display: block;
    margin-top: 12px;
    color: #607983;
    font-size: 11px;
    text-align: center;
}

.program-information-card h3,
.program-certificate-card h3 {
    margin-bottom: 14px;
    font-size: 17px;
}

.program-information-card dl {
    margin: 0;
}

.program-information-card dl > div {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #edf2f3;
}

.program-information-card dl > div:last-child {
    border-bottom: 0;
}

.program-information-card dt {
    color: #72858e;
    font-size: 11px;
}

.program-information-card dd {
    margin: 0;
    color: #315362;
    font-size: 11px;
    font-weight: 700;
    text-align: right;
}

.program-certificate-image {
    display: block;
    width: 100%;
    max-height: 240px;
    object-fit: contain;
    border: 1px solid #dbe7e9;
    border-radius: 12px;
    background: #f7fafb;
}

.program-certificate-mock {
    position: relative;
    overflow: hidden;
    display: grid;
    min-height: 205px;
    place-items: center;
    align-content: center;
    gap: 6px;
    padding: 24px 25px;
    border: 7px double #d8b45a;
    border-radius: 8px;
    color: var(--program-navy);
    background:
        radial-gradient(circle at 10% 10%, rgba(13, 156, 160, .09), transparent 25%),
        linear-gradient(135deg, #fff, #fbfaf5);
    text-align: center;
}

.program-certificate-mock::before,
.program-certificate-mock::after {
    content: "";
    position: absolute;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: rgba(13, 156, 160, .08);
}

.program-certificate-mock::before {
    top: -35px;
    left: -30px;
}

.program-certificate-mock::after {
    right: -32px;
    bottom: -38px;
}

.program-certificate-mock-top {
    color: var(--program-teal-dark);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .12em;
}

.program-certificate-mock small {
    color: #8d7a49;
    font-size: 8px;
    letter-spacing: .12em;
}

.program-certificate-mock > strong {
    font-size: 21px;
    letter-spacing: .05em;
}

.program-certificate-mock > span {
    max-width: 250px;
    color: #3d5968;
    font-size: 10px;
    line-height: 1.4;
}

.program-certificate-mock > em {
    color: #6d7e86;
    font-size: 9px;
    font-style: normal;
}

.program-certificate-mock-bottom {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 7px;
}

.program-certificate-mock-bottom i {
    display: block;
    width: 48px;
    height: 1px;
    background: #9eb0b7;
}

.program-certificate-mock-bottom b {
    display: block;
    width: 31px;
    height: 31px;
    border: 3px solid #17394b;
    background:
        repeating-linear-gradient(0deg, #17394b 0 2px, transparent 2px 4px),
        repeating-linear-gradient(90deg, #17394b 0 2px, transparent 2px 4px);
}

.program-certificate-list {
    margin-top: 15px;
}

.program-support-card {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    padding: 18px;
}

.program-support-icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #19a66f;
    font-size: 10px;
    font-weight: 700;
}

.program-support-card h3 {
    font-size: 15px;
}

.program-support-card p {
    margin: 6px 0 8px;
    color: var(--program-muted);
    font-size: 11px;
    line-height: 1.5;
}

.program-support-card a {
    color: var(--program-teal-dark);
    font-size: 11px;
    font-weight: 700;
}

.program-detail-notice {
    padding: 14px 16px;
    border: 1px solid #c9e7d7;
    border-radius: 11px;
    color: #157247;
    background: #eaf8f0;
    font-weight: 700;
}

.program-final-cta {
    padding: 48px 0;
    color: #fff;
    background: linear-gradient(105deg, var(--program-navy-deep), #0b6872);
}

.program-final-cta-inner {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: space-between;
}

.program-final-cta-inner > div:first-child > span {
    color: #f4cb67;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.program-final-cta h2 {
    margin: 7px 0 7px;
    color: #fff;
    font-family: inherit;
    font-size: clamp(28px, 3.7vw, 42px);
    line-height: 1.15;
}

.program-final-cta p {
    margin: 0;
    color: #d8ecef;
    font-size: 14px;
}

.program-final-actions {
    flex: 0 0 auto;
}

.program-final-cta .program-primary-button {
    border-color: #fff;
    background: #fff;
    color: var(--program-navy);
    box-shadow: none;
}

.program-final-cta .program-secondary-button {
    border-color: rgba(255, 255, 255, .65);
    color: #fff;
    background: transparent;
}

/* ESIPEC AJUSTES FINALES CATALOGO Y FICHA V2 */
body:has(.program-detail-page) .header {
    position: relative;
    top: auto;
}

body:has(.program-detail-page) .program-detail-panel,
body:has(.program-detail-page) .program-final-cta {
    scroll-margin-top: 24px;
}

body:has(.program-detail-page) .footer {
    margin-top: 0;
}

body:has(.program-detail-page) .footer-logo {
    width: min(225px, 100%);
    height: auto;
    margin-bottom: 13px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    filter: none;
}

@media (max-width: 1080px) {
    .program-detail-hero-grid {
        grid-template-columns: minmax(0, 1fr) 380px;
        gap: 32px;
    }

    .program-academic-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

@media (max-width: 880px) {
    .program-detail-hero {
        padding-top: 35px;
    }

    .program-detail-hero-grid,
    .program-detail-layout {
        grid-template-columns: 1fr;
    }

    .program-detail-copy {
        max-width: none;
    }

    .program-detail-cover-wrap {
        max-width: 650px;
    }

    .program-detail-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .program-enrollment-card {
        grid-row: span 2;
    }
}

@media (max-width: 760px) {
    .program-detail-hero {
        padding: 27px 0 24px;
    }

    .program-detail-hero-grid {
        gap: 28px;
    }

    .program-detail-copy h1 {
        font-size: clamp(30px, 9vw, 40px);
    }

    .program-detail-lead {
        font-size: 15px;
    }

    .program-detail-actions,
    .program-final-cta-inner,
    .program-final-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .program-primary-button,
    .program-secondary-button {
        width: 100%;
    }

    .program-detail-cover-wrap {
        width: 100%;
        padding-bottom: 30px;
    }

    .program-detail-cover {
        width: 100%;
        aspect-ratio: 16 / 10;
        border-radius: 18px;
    }

    .program-detail-cover img {
        width: 100%;
        height: 100%;
        object-position: center;
    }

    .program-cover-trust {
        right: 12px;
        left: 12px;
    }

    .program-academic-facts {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
        margin-top: 31px;
    }

    .program-academic-facts article:last-child {
        grid-column: 1 / -1;
    }

    .program-value-grid {
        grid-template-columns: 1fr 1fr;
    }

    .program-value-grid article:nth-child(2) {
        border-right: 0;
    }

    .program-value-grid article:nth-child(-n+2) {
        border-bottom: 1px solid var(--program-line);
    }

    .program-detail-layout {
        padding-top: 27px;
        padding-bottom: 42px;
    }

    .program-detail-panel {
        padding: 22px;
    }

    .program-profile-grid,
    .program-method-grid,
    .program-teachers-grid,
    .program-testimonials-grid,
    .program-detail-sidebar {
        grid-template-columns: 1fr;
    }

    .program-enrollment-card {
        grid-row: auto;
    }

    .program-panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .program-module summary {
        align-items: flex-start;
    }

    .program-lesson-row {
        grid-template-columns: 30px minmax(0, 1fr);
    }

    .program-lesson-row a,
    .program-lock {
        grid-column: 2;
        justify-self: start;
    }

    .program-final-cta {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .program-breadcrumb {
        font-size: 11px;
    }

    .program-academic-facts {
        grid-template-columns: 1fr;
    }

    .program-academic-facts article:last-child {
        grid-column: auto;
    }

    .program-value-grid {
        grid-template-columns: 1fr;
    }

    .program-value-grid article,
    .program-value-grid article:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--program-line);
    }

    .program-value-grid article:last-child {
        border-bottom: 0;
    }

    .program-information-card dl > div {
        grid-template-columns: 82px minmax(0, 1fr);
    }
}

/* Ajuste final reutilizable V9.2 */
.program-teacher-avatar {
    overflow: hidden;
}

.program-teacher-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-testimonial-person {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
}

.program-testimonial-person img {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 2px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 14px rgba(7, 48, 73, .12);
}

.program-testimonial-person > span {
    display: grid;
    gap: 2px;
}

.program-testimonial-person strong {
    margin: 0;
}

.program-testimonial-person small {
    color: var(--program-muted);
    font-size: 10px;
    line-height: 1.4;
}

.program-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.program-related-card {
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--program-line);
    border-radius: 14px;
    background: #fff;
}

.program-related-cover {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    color: #fff;
    background: linear-gradient(135deg, var(--program-navy), var(--program-teal));
    text-decoration: none;
}

.program-related-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .22s ease;
}

.program-related-card:hover .program-related-cover img {
    transform: scale(1.035);
}

.program-related-cover > span {
    display: grid;
    height: 100%;
    place-items: center;
    padding: 20px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.program-related-cover small {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--program-navy);
    background: rgba(255, 255, 255, .94);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.program-related-body {
    display: grid;
    gap: 10px;
    padding: 15px;
}

.program-related-body h3 {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.program-related-body h3 a {
    color: var(--program-navy);
    text-decoration: none;
}

.program-related-body p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--program-muted);
    font-size: 11px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.program-related-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.program-related-meta span {
    padding: 4px 7px;
    border-radius: 999px;
    color: var(--program-teal-dark);
    background: var(--program-teal-soft);
    font-size: 9px;
    font-weight: 700;
}

@media (max-width: 760px) {
    .program-related-grid {
        grid-template-columns: 1fr;
    }
}
