/* =============================================
   FRONTPAGE - Landing Page (2026-02-19)
   ============================================= */

/* ---- Base Resets ---- */
#page-site-index #page-header,
#page-site-index .secondary-navigation {
    display: none !important;
}
#page-site-index #page-content {
    padding: 0 !important;
    margin: 0 !important;
}
#page-site-index #region-main {
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}
#page-site-index .course-content {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#page-site-index #topofscroll {
    padding: 0 !important;
    margin: 0 !important;
}
/* Hide the skip-links / maincontent anchor that adds ~27px between blocks and footer */
#page-site-index #topofscroll > .container {
    display: none !important;
}
#page-site-index .drawer-toggles {
    display: none !important;
}
/* Remove any default Moodle content margins */
#page-site-index #maincontent {
    margin: 0;
}

/* System font stack */
.hero-po,
.topics-po,
.courses-po,
.trust-po,
.testimonials-po,
.cta-po,
.method-po, .plan-po, .institutions-po, .skills-po, .success-po, .seo-po {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-sizing: border-box;
}

/* ---- Section 1: Hero ---- */
/* ---- Section 1: Hero Slider (Udemy-style) ---- */
.hero-po {
    background: #f8f9fb;
    overflow: hidden;
}
.hero-po__slider {
    max-width: 1340px;
    margin: 0 auto;
    padding-bottom: 40px;
}
.hero-po__slide-inner {
    display: flex;
    align-items: center;
    min-height: 420px;
    padding: 0 40px;
    outline: none;
}
.hero-po__text {
    flex: 0 0 55%;
    max-width: 55%;
    padding: 48px 40px 48px 0;
}
.hero-po__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}
.hero-po__highlight {
    color: #f59e0b;
}
.hero-po__subtitle {
    font-size: 1.05rem;
    color: #6a6f73;
    line-height: 1.6;
    margin: 0 0 28px;
    max-width: 520px;
}
.hero-po__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hero-po__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}
.hero-po__btn--primary {
    background: #f59e0b;
    color: #fff;
    border: 2px solid #f59e0b;
}
.hero-po__btn--primary:hover {
    background: #d97706;
    border-color: #d97706;
    color: #fff;
    text-decoration: none;
}
.hero-po__btn--secondary {
    background: transparent;
    color: #1a1a2e;
    border: 2px solid #1a1a2e;
}
.hero-po__btn--secondary:hover {
    background: #1a1a2e;
    color: #fff;
    text-decoration: none;
}
/* Hero image area */
.hero-po__image {
    flex: 1;
    min-height: 320px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-po__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}
/* Placeholder gradients — replace with real photos via <img> or background-image */
.hero-po__image--1 {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d5f 50%, #1a1a2e 100%);
}
.hero-po__image--2 {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
}
/* Placeholder icon inside image area */
.hero-po__image-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}
/* Slick dots for hero — pure CSS, no font dependency */
.hero-po .slick-dots {
    bottom: 0;
    text-align: center;
}
.hero-po .slick-dots li {
    margin: 0 5px;
    width: auto;
    height: auto;
}
.hero-po .slick-dots li button {
    width: 12px;
    height: 12px;
    padding: 0;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
}
.hero-po .slick-dots li button:before {
    display: none;
}
.hero-po .slick-dots li.slick-active button {
    background: #f59e0b;
}

/* ---- Section 2: Topic Cards (Slider) ---- */
.topics-po {
    background: #F7F9FA;
    padding: 60px 40px;
}
.topics-po__container {
    max-width: 1260px;
    margin: 0 auto;
}
.topics-po__split {
    display: flex;
    align-items: stretch;
    gap: 40px;
}
.topics-po__text {
    flex: 0 0 22%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.topics-po__title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 16px;
    line-height: 1.2;
}
.topics-po__title--accent {
    color: #f59e0b;
}
.topics-po__desc {
    font-size: 0.95rem;
    color: #6a6f73;
    line-height: 1.6;
    margin: 0 0 24px;
}
.topics-po__link {
    font-size: 0.9rem;
    font-weight: 700;
    color: #f59e0b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s;
}
.topics-po__link:hover {
    color: #d97706;
    text-decoration: none;
    gap: 12px;
}
.topics-po__slider-wrap {
    flex: 1;
    min-width: 0;
    position: relative;
    padding-bottom: 68px;
}
.topics-po__slider {
    margin: 0 -8px;
}
.topics-po__slider .slick-list {
    overflow-x: clip;
    overflow-y: visible;
    padding: 8px 0;
    margin: -8px 0;
}
.topics-po__slide {
    padding: 0 8px;
}
.topics-po__card {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/4;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.topics-po__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
    text-decoration: none;
}
.topics-po__card-visual {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}
.topics-po__card-visual svg {
    width: 75%;
    max-width: 200px;
    height: auto;
    opacity: 0.9;
}
.topics-po__card-overlay {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 14px 16px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.topics-po__card-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}
.topics-po__card-count {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* Card gradient backgrounds */
.topics-po__card--autonomica { background: linear-gradient(135deg, #1E3A5F, #2C5282); }
.topics-po__card--estado { background: linear-gradient(135deg, #1a1a2e, #374151); }
.topics-po__card--locales { background: linear-gradient(135deg, #0d9488, #14b8a6); }
.topics-po__card--sanidad { background: linear-gradient(135deg, #dc2626, #ef4444); }
.topics-po__card--informatica { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.topics-po__card--tests { background: linear-gradient(135deg, #d97706, #f59e0b); }
.topics-po__card--temas { background: linear-gradient(135deg, #7c3aed, #a78bfa); }

/* Slick overrides for topics slider — arrows + dots at bottom */
.topics-po__slider .slick-prev,
.topics-po__slider .slick-next {
    width: 36px;
    height: 36px;
    background: #fff !important;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 2;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s, opacity 0.2s;
    position: absolute;
    bottom: -58px;
    top: auto;
}
.topics-po__slider .slick-prev:hover,
.topics-po__slider .slick-next:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.topics-po__slider .slick-prev {
    left: auto;
    right: calc(50% + 60px);
}
.topics-po__slider .slick-next {
    right: auto;
    left: calc(50% + 60px);
}
.topics-po__slider .slick-prev:before,
.topics-po__slider .slick-next:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 13px;
    color: #1a1a2e;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.topics-po__slider .slick-prev:before {
    content: "\f053";
}
.topics-po__slider .slick-next:before {
    content: "\f054";
}
.topics-po__slider .slick-disabled {
    opacity: 0.3;
}
/* Slick dots between arrows */
.topics-po__slider .slick-dots {
    bottom: -44px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.topics-po__slider .slick-dots li {
    width: 8px;
    height: 8px;
    margin: 0;
}
.topics-po__slider .slick-dots li button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #d1d5db;
    font-size: 0;
    transition: background 0.2s, transform 0.2s;
}
.topics-po__slider .slick-dots li button:before {
    display: none;
}
.topics-po__slider .slick-dots li.slick-active button {
    background: #1a1a2e;
    transform: scale(1.3);
}

/* ---- Section 3: Courses ---- */
.courses-po {
    background: #ffffff;
    padding: 60px 24px 20px;
    min-height: 320px;
}
.courses-po__container {
    max-width: 1200px;
    margin: 0 auto;
}
.courses-po__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.courses-po__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}
.courses-po__viewall {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f59e0b;
    text-decoration: none;
}
.courses-po__viewall:hover {
    color: #d97706;
    text-decoration: underline;
}

/* Frontpage course list - override Moodle defaults */
/* Hide until JS moves it into .courses-po to prevent flash at wrong position */
#page-site-index #region-main #frontpage-available-course-list {
    visibility: hidden;
    position: absolute;
    left: -9999px;
}
/* Once JS moves it into .courses-po, show it — but keep invisible until Slick ready */
#page-site-index .courses-po #frontpage-available-course-list {
    visibility: visible !important;
    position: static !important;
    left: auto !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 40px;
    opacity: 0;
    transition: opacity .3s ease;
}
#page-site-index .courses-po #frontpage-available-course-list:has(.slick-initialized) {
    opacity: 1;
}
/* Pre-Slick flex layout: show first row of cards to reserve correct height */
#page-site-index .courses-po .slick-slide-container:not(.slick-initialized) {
    display: flex;
    overflow: hidden;
    margin: 0 -8px;
}
#page-site-index .courses-po .slick-slide-container:not(.slick-initialized) > div {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 8px;
    box-sizing: border-box;
}
#page-site-index .courses-po .slick-slide-container:not(.slick-initialized) > div:nth-child(n+5) {
    display: none;
}
@media (max-width: 1024px) {
    #page-site-index .courses-po .slick-slide-container:not(.slick-initialized) > div {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
    #page-site-index .courses-po .slick-slide-container:not(.slick-initialized) > div:nth-child(n+4) {
        display: none;
    }
}
@media (max-width: 800px) {
    #page-site-index .courses-po .slick-slide-container:not(.slick-initialized) > div {
        flex: 0 0 50%;
        max-width: 50%;
    }
    #page-site-index .courses-po .slick-slide-container:not(.slick-initialized) > div:nth-child(n+3) {
        display: none;
    }
}
@media (max-width: 480px) {
    #page-site-index .courses-po .slick-slide-container:not(.slick-initialized) > div {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #page-site-index .courses-po .slick-slide-container:not(.slick-initialized) > div:nth-child(n+2) {
        display: none;
    }
}
/* Spinner while courses load */
@keyframes po-spin { to { transform: rotate(360deg); } }
.courses-po__container {
    position: relative;
}
.courses-po__container::after {
    content: '';
    position: absolute;
    top: 120px;
    left: 50%;
    width: 28px;
    height: 28px;
    margin-left: -14px;
    border: 3px solid #e5e7eb;
    border-top-color: #f59e0b;
    border-radius: 50%;
    animation: po-spin .7s linear infinite;
    z-index: 1;
}
.courses-po__container:has(.slick-initialized)::after {
    display: none;
}
#page-site-index #frontpage-available-course-list .frontpage-course-list-all {
    padding: 0 !important;
}
#page-site-index #frontpage-available-course-list h2 {
    display: none;
}
/* Slick slider overrides for courses section only */
#page-site-index .courses-po .slick-slider .slick-list {
    margin: 0 -8px;
}
#page-site-index .courses-po .slick-slider .slick-slide {
    padding: 0 8px;
}
#page-site-index .courses-po .slick-slider .slick-prev,
#page-site-index .courses-po .slick-slider .slick-next {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
#page-site-index .courses-po .slick-slider .slick-prev {
    left: -16px;
}
#page-site-index .courses-po .slick-slider .slick-next {
    right: -16px;
}

/* ---- Section 4: Trust Bar ---- */
.trust-po {
    background: #ffffff;
    padding: 48px 24px;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}
.trust-po__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.trust-po__item {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}
.trust-po__icon {
    width: 56px;
    height: 56px;
    background: #f59e0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.trust-po__icon i {
    font-size: 1.3rem;
    color: #ffffff;
}
.trust-po__info {
    display: flex;
    flex-direction: column;
}
.trust-po__number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a2e;
}
.trust-po__label {
    font-size: 0.8rem;
    color: #6a6f73;
}

/* ---- Section 5: Testimonials ---- */
.testimonials-po {
    background: #F7F9FA;
    padding: 80px 24px;
}
.testimonials-po__container {
    max-width: 1200px;
    margin: 0 auto;
}
.testimonials-po__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin: 0 0 40px;
}
.testimonials-po__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonials-po__card {
    background: #fff;
    padding: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
}
.testimonials-po__stars {
    font-size: 1rem;
    color: #e59819;
    margin-bottom: 12px;
    letter-spacing: 2px;
}
.testimonials-po__text {
    font-size: 0.9rem;
    color: #1a1a2e;
    line-height: 1.6;
    margin: 0 0 20px;
    font-style: italic;
}
.testimonials-po__author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonials-po__avatar {
    width: 40px;
    height: 40px;
    background: #f59e0b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}
.testimonials-po__author-info {
    display: flex;
    flex-direction: column;
}
.testimonials-po__author-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a1a2e;
}
.testimonials-po__author-role {
    font-size: 0.75rem;
    color: #6a6f73;
}

/* ---- Section 6: CTA ---- */
.cta-po {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    padding: 80px 24px;
    text-align: center;
}
.cta-po__container {
    max-width: 640px;
    margin: 0 auto;
}
.cta-po__title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
}
.cta-po__subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.9);
    margin: 0 0 32px;
}
.cta-po__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 700;
    background: #fff;
    color: #d97706;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}
.cta-po__btn:hover {
    background: #1a1a2e;
    color: #fff;
    text-decoration: none;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero-po__slide-inner {
        flex-direction: column;
        min-height: auto;
        padding: 0 16px;
    }
    .hero-po__text {
        flex: none;
        max-width: 100%;
        padding: 40px 0 24px;
        text-align: center;
    }
    .hero-po__title {
        font-size: 1.8rem;
    }
    .hero-po__subtitle {
        font-size: 1rem;
        max-width: none;
    }
    .hero-po__actions {
        justify-content: center;
    }
    .hero-po__image {
        width: 100%;
        min-height: 200px;
        margin-bottom: 16px;
    }

    .topics-po__split {
        flex-direction: column;
        gap: 24px;
    }
    .topics-po__text {
        flex: none;
        text-align: center;
    }
    .topics-po__link {
        justify-content: center;
    }
    .topics-po {
        padding: 40px 16px;
    }

    .courses-po {
        padding: 40px 16px 16px;
    }

    .trust-po__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .testimonials-po {
        padding: 48px 16px;
    }
    .testimonials-po__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cta-po {
        padding: 48px 16px;
    }
    .cta-po__title {
        font-size: 1.5rem;
    }
}

/* Landing course cards on frontpage */
#page-site-index .po-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
    height: 100%;
}
#page-site-index .po-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
}
#page-site-index .po-card__image {
    position: relative;
    padding-top: 56.25%;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
    flex-shrink: 0;
}
#page-site-index .po-card__image-link {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}
#page-site-index .po-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #eceb98;
    color: #3d3c0a;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}
#page-site-index .po-card__body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 4px;
}
#page-site-index .po-card__category {
    font-size: 0.7rem;
    color: #6a6f73;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#page-site-index .po-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}
#page-site-index .po-card__title:hover {
    color: #1a1a2e;
    text-decoration: none;
}
#page-site-index .po-card__instructor {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #6a6f73;
}
#page-site-index .po-card__instructor-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #6a6f73;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#page-site-index .po-card__instructor-img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
#page-site-index .po-card__rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
}
#page-site-index .po-card__rating .avgrating {
    font-weight: 700;
    color: #b4690e;
}
#page-site-index .po-card__footer {
    margin-top: 8px;  /* was: auto — caused huge gap when no rating */
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 8px;
}
#page-site-index .po-card__price-value {
    font-size: 1rem;
    font-weight: 800;
    color: #1a1a2e;
}
#page-site-index .po-card__price-free {
    font-size: 1rem;
    font-weight: 800;
    color: #1a8a4a;
}
#page-site-index .po-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
}
#page-site-index .po-card__meta-item {
    font-size: 0.8rem;  /* was: 0.7rem */
    color: #6a6f73;
    display: flex;
    align-items: center;
    gap: 3px;
}
#page-site-index .po-card__meta-item .edw-icon {
    font-size: 0.9rem;
}

/* Hide old remuihomepage sections not needed in Landing design */
#page-site-index .features-section,
#page-site-index .gamification-section,
#page-site-index .ai-section,
#page-site-index .how-it-works,
#page-site-index [data-sectionname="feature"],
#page-site-index [data-sectionname="features"],
#page-site-index [data-sectionname="gamification"],
#page-site-index [data-sectionname="ai"],
#page-site-index [data-sectionname="how-it-works"] {
    display: none !important;
}

/* ---- Section 4: Method ---- */
.method-po {
    background: #F7F9FA;
    padding: 80px 24px;
}
.method-po__container {
    max-width: 1200px;
    margin: 0 auto;
}
.method-po__header {
    text-align: center;
    margin-bottom: 48px;
}
.method-po__title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 12px;
}
.method-po__title--accent {
    color: #f59e0b;
}
.method-po__subtitle {
    font-size: 1.05rem;
    color: #6a6f73;
    margin: 0;
}
.method-po__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.method-po__card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
    transition: box-shadow 0.2s;
}
.method-po__card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.method-po__card-icon {
    width: 56px;
    height: 56px;
    background: #f59e0b;  /* was: #fef3c7 - too similar to icon color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.method-po__card-icon i {
    font-size: 1.3rem;
    color: #ffffff;  /* was: #f59e0b - now white on amber = high contrast */
}
.method-po__card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}
.method-po__card-desc {
    font-size: 0.85rem;
    color: #6a6f73;
    line-height: 1.6;
    margin: 0;
}

/* ---- Section 6: Plan ---- */
.plan-po {
    background: #ffffff;
    padding: 80px 24px;
}
.plan-po__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
}
.plan-po__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f59e0b;
    display: block;
    margin-bottom: 8px;
}
.plan-po__title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 12px;
}
.plan-po__title--accent {
    color: #f59e0b;
}
.plan-po__desc {
    font-size: 1rem;
    color: #6a6f73;
    line-height: 1.6;
    margin: 0 0 24px;
}
.plan-po__features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.plan-po__feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: #1a1a2e;
    line-height: 1.5;
}
.plan-po__feature-icon {
    color: #f59e0b;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.plan-po__pricing-card {
    background: #fff;
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}
.plan-po__pricing-header {
    margin-bottom: 16px;
}
.plan-po__pricing-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6a6f73;
}
.plan-po__pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
}
.plan-po__pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
}
.plan-po__pricing-detail {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.plan-po__pricing-currency {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
}
.plan-po__pricing-period {
    font-size: 0.8rem;
    color: #6a6f73;
}
.plan-po__pricing-includes {
    font-size: 0.85rem;
    color: #6a6f73;
    line-height: 1.5;
    margin: 0 0 20px;
}
.plan-po__pricing-cta {
    display: block;
    background: #f59e0b;
    color: #fff;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
    margin-bottom: 12px;
}
.plan-po__pricing-cta:hover {
    background: #d97706;
    color: #fff;
    text-decoration: none;
}
.plan-po__pricing-guarantee {
    font-size: 0.75rem;
    color: #6a6f73;
    margin: 0;
}
.plan-po__pricing-guarantee i {
    color: #f59e0b;
    margin-right: 4px;
}

/* ---- Section 7: Institutions ---- */
.institutions-po {
    background: #F7F9FA;
    padding: 60px 24px;
}
.institutions-po__container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.institutions-po__header {
    margin-bottom: 32px;
}
.institutions-po__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}
.institutions-po__title--accent {
    color: #f59e0b;
}
.institutions-po__subtitle {
    font-size: 0.95rem;
    color: #6a6f73;
    margin: 0;
}
.institutions-po__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.institutions-po__item {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
}
.institutions-po__divider {
    font-size: 1.2rem;
    color: #d1d5db;
}

/* ---- Section 9: Skills ---- */
.skills-po {
    background: #ffffff;
    padding: 80px 24px;
}
.skills-po__container {
    max-width: 1200px;
    margin: 0 auto;
}
.skills-po__header {
    text-align: center;
    margin-bottom: 40px;
}
.skills-po__title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 12px;
}
.skills-po__title--accent {
    color: #f59e0b;
}
.skills-po__subtitle {
    font-size: 1.05rem;
    color: #6a6f73;
    margin: 0;
}
.skills-po__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.skills-po__badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 24px;
    background: #F7F9FA;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    min-width: 180px;
}
.skills-po__badge:hover {
    border-color: #f59e0b;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-decoration: none;
}
.skills-po__badge-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a2e;
}
.skills-po__badge-count {
    font-size: 0.75rem;
    color: #6a6f73;
    margin-top: 4px;
}

/* ---- Section 10: Success Story ---- */
.success-po {
    background: #F7F9FA;
    padding: 80px 24px;
}
.success-po__container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.success-po__quote-block {
    margin-bottom: 32px;
}
.success-po__quote-mark {
    font-size: 2rem;
    color: #f59e0b;
    margin-bottom: 16px;
}
.success-po__quote {
    margin: 0;
    padding: 0;
    border: none;
}
.success-po__quote-text {
    font-size: 1.15rem;
    color: #1a1a2e;
    line-height: 1.8;
    font-style: italic;
    margin: 0;
}
.success-po__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}
.success-po__author-avatar {
    width: 56px;
    height: 56px;
    background: #f59e0b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}
.success-po__author-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 2px;
}
.success-po__author-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
}
.success-po__author-role {
    font-size: 0.85rem;
    color: #6a6f73;
}
.success-po__author-detail {
    font-size: 0.8rem;
    color: #f59e0b;
    font-weight: 600;
}
.success-po__author-detail i {
    margin-right: 4px;
}
.success-po__result {
    display: flex;
    justify-content: center;
    gap: 48px;
}
.success-po__result-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.success-po__result-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a2e;
}
.success-po__result-label {
    font-size: 0.8rem;
    color: #6a6f73;
}

/* ---- Section 11: SEO Content - Visual Feature Blocks ---- */
.seo-po {
    background: #ffffff;
    padding: 80px 24px 40px;
    border-top: 1px solid #e5e7eb;
}
.seo-po__container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Feature blocks: alternating text + visual */
.seo-po__feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}
.seo-po__feature:last-child {
    margin-bottom: 0;
}
.seo-po__feature--reverse .seo-po__feature-text {
    order: 2;
}
.seo-po__feature--reverse .seo-po__feature-visual {
    order: 1;
}

.seo-po__title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 16px;
    line-height: 1.3;
}
.seo-po__subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px;
}
.seo-po__text {
    font-size: 0.95rem;
    color: #4a4a5a;
    line-height: 1.7;
    margin: 0 0 12px;
}
.seo-po__text:last-child {
    margin-bottom: 0;
}

/* Visual panel: the decorative card on each feature row */
.seo-po__visual-card {
    background: #F7F9FA;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.seo-po__visual-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: rgba(245, 158, 11, 0.08);
    border-radius: 50%;
}
.seo-po__visual-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background: rgba(245, 158, 11, 0.05);
    border-radius: 50%;
}
.seo-po__visual-card--navy {
    background: #1E3A5F;
}
.seo-po__visual-card--navy .seo-po__visual-icon {
    color: #f59e0b;
    background: rgba(255,255,255,0.1);
}
.seo-po__visual-card--navy .seo-po__visual-step {
    color: #ffffff;
}
.seo-po__visual-card--navy .seo-po__step-num {
    background: #f59e0b;
    color: #fff;
}
.seo-po__visual-card--navy::before {
    background: rgba(255,255,255,0.05);
}
.seo-po__visual-card--navy::after {
    background: rgba(255,255,255,0.03);
}

.seo-po__visual-icon {
    width: 80px;
    height: 80px;
    background: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: #f59e0b;
    position: relative;
    z-index: 1;
}
.seo-po__visual-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 1;
}
.seo-po__visual-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a2e;
}
.seo-po__visual-badge i {
    color: #f59e0b;
    font-size: 1rem;
}

/* Steps inside navy card */
.seo-po__visual-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}
.seo-po__visual-step {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
    text-align: left;
}
.seo-po__step-num {
    width: 28px;
    height: 28px;
    background: #f59e0b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Advantages grid (full-width feature cards) */
.seo-po__advantages {
    margin-bottom: 40px;
}
.seo-po__subtitle--center {
    text-align: center;
    margin-bottom: 32px;
}
.seo-po__advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.seo-po__advantage {
    background: #F7F9FA;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
}
.seo-po__advantage-icon {
    width: 48px;
    height: 48px;
    background: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.2rem;
    color: #f59e0b;
}
.seo-po__advantage h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
}
.seo-po__advantage p {
    font-size: 0.8rem;
    color: #6a6f73;
    line-height: 1.5;
    margin: 0;
}

/* ---- Responsive for new sections ---- */
@media (max-width: 768px) {
    .method-po {
        padding: 48px 16px;
    }
    .method-po__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .method-po__title {
        font-size: 1.4rem;
    }

    .plan-po {
        padding: 48px 16px;
    }
    .plan-po__container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .plan-po__pricing {
        order: -1;
    }
    .plan-po__title {
        font-size: 1.4rem;
    }

    .institutions-po {
        padding: 40px 16px;
    }
    .institutions-po__list {
        gap: 6px;
    }
    .institutions-po__item {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    .institutions-po__divider {
        display: none;
    }

    .skills-po {
        padding: 48px 16px;
    }
    .skills-po__badge {
        min-width: 140px;
        padding: 12px 16px;
    }
    .skills-po__title {
        font-size: 1.4rem;
    }

    .success-po {
        padding: 48px 16px;
    }
    .success-po__quote-text {
        font-size: 1rem;
    }
    .success-po__result {
        gap: 24px;
        flex-wrap: wrap;
    }
    .success-po__result-number {
        font-size: 1.2rem;
    }

    .seo-po {
        padding: 40px 16px;
    }
    .seo-po__feature {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 48px;
    }
    .seo-po__feature--reverse .seo-po__feature-text,
    .seo-po__feature--reverse .seo-po__feature-visual {
        order: unset;
    }
    .seo-po__advantages-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .method-po__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Override slider arrows to dark navy */
#page-site-index .btn-floating.btn-primary.slick-arrow,
#page-site-index .available-courses .btn-floating.btn-primary {
    background-color: #1E3A5F !important;
    border-color: #1E3A5F !important;
}
#page-site-index .btn-floating.btn-primary.slick-arrow:hover,
#page-site-index .available-courses .btn-floating.btn-primary:hover {
    background-color: #162d4a !important;
    border-color: #162d4a !important;
}

/* Remove gap between CTA and footer */
/* #topofscroll margins (56px top + 56px bottom) + skip-links container (~27px) = 139px gap.
   Fixed above with #topofscroll margin:0 + hiding the .container child. */

/* "Ver todos" button matches slider arrows */
#page-site-index #frontpage-available-course-list .btn.btn-primary,
#page-site-index .frontpage-course-list-all .btn.btn-primary,
#page-site-index .available-courses .btn.btn-primary,
#page-site-index .courses-po .btn.btn-primary {
    background-color: #1E3A5F !important;
    border-color: #1E3A5F !important;
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 600;
    font-size: 0.9rem;
}
#page-site-index #frontpage-available-course-list .btn.btn-primary:hover,
#page-site-index .frontpage-course-list-all .btn.btn-primary:hover,
#page-site-index .available-courses .btn.btn-primary:hover,
#page-site-index .courses-po .btn.btn-primary:hover {
    background-color: #162d4a !important;
    border-color: #162d4a !important;
}

/* Slider arrow icons bigger */
#page-site-index .btn-floating.btn-primary.slick-arrow i,
#page-site-index .btn-floating.btn-primary.slick-arrow .edw-icon,
#page-site-index .slick-slider .slick-prev:before,
#page-site-index .slick-slider .slick-next:before {
    font-size: 1.3rem !important;
}
/* Also make the arrow buttons themselves bigger */
#page-site-index .btn-floating.btn-primary.slick-arrow {
    width: 48px !important;
    height: 48px !important;
}

/* ---- Navbar styles moved to navbar-global.css (2026-02-19) ----
   Search bar, link colors, calendar hiding, and login button
   are now global across ALL pages. See navbar-global.css. */
