.aeo-hero {
    position: relative;
    padding: 4.75rem 0 3.5rem;
    color: #ffffff;
    background: linear-gradient(135deg, #0b4f82 0%, #0ea5e9 58%, #14b8a6 100%);
    overflow: hidden;
}

.aeo-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/img/logoFondoTransparenteSinNombre.png') no-repeat right 8% center / min(28vw, 280px) auto;
    opacity: 0.08;
    pointer-events: none;
}

.aeo-hero .container,
.aeo-content .container {
    position: relative;
    z-index: 1;
}

.aeo-hero h1 {
    max-width: 920px;
    margin: 1rem 0 1rem;
    font-size: clamp(2.1rem, 4vw, 3.6rem);
    line-height: 1.08;
    font-weight: 700;
}

.aeo-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.08rem;
    line-height: 1.7;
}

.aeo-pill,
.aeo-card-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.aeo-pill {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.aeo-card-kicker {
    color: #0b4f82;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
}

.aeo-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
}

.aeo-breadcrumb a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
}

.aeo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.aeo-btn-primary,
.aeo-btn-secondary {
    border-radius: 8px;
    padding: 0.8rem 1.15rem;
    font-weight: 700;
    line-height: 1.2;
}

.aeo-btn-primary {
    color: #0b4f82;
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
}

.aeo-btn-primary:hover,
.aeo-btn-primary:focus {
    color: #0b4f82;
    background: #f8fafc;
    border-color: #f8fafc;
}

.aeo-btn-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.72);
}

.aeo-btn-secondary:hover,
.aeo-btn-secondary:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.88);
}

.aeo-content {
    padding: 3rem 0;
    background: #f8fafc;
}

.aeo-content__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.5rem;
    align-items: start;
}

.aeo-content__grid > * {
    min-width: 0;
}

.aeo-article,
.aeo-side-card,
.aeo-success-card,
.aeo-testimonial-detail {
    border: 1px solid #dbe7f3;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.aeo-article {
    padding: 2rem;
}

.aeo-section + .aeo-section {
    margin-top: 2.25rem;
    padding-top: 2.25rem;
    border-top: 1px solid #e2e8f0;
}

.aeo-section h2 {
    margin-bottom: 1rem;
    color: #0f172a;
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.18;
    text-align: left;
}

.aeo-section p,
.aeo-section__lead,
.aeo-list,
.aeo-faq .accordion-body,
.aeo-comparison-table {
    color: #475569;
    font-size: 1rem;
    line-height: 1.75;
}

.aeo-section__lead {
    color: #0f766e;
    font-weight: 700;
}

.aeo-list {
    display: grid;
    gap: 0.55rem;
    margin: 1rem 0 0;
    padding-left: 1.2rem;
}

.aeo-sidebar {
    position: sticky;
    top: 96px;
}

.aeo-side-card {
    padding: 1.25rem;
}

.aeo-side-card span {
    display: block;
    margin-bottom: 1rem;
    color: #0f766e;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.aeo-side-card ul {
    display: grid;
    gap: 0.7rem;
    margin: 1.2rem 0 0;
    padding-left: 1rem;
}

.aeo-side-card a:not(.btn) {
    color: #0b4f82;
    font-weight: 700;
    text-decoration: none;
}

.aeo-table-wrap {
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.aeo-comparison-table {
    min-width: 720px;
    margin: 0;
}

.aeo-comparison-table th {
    color: #0f172a;
}

.aeo-comparison-table thead th {
    background: #e0f2fe;
    border-bottom: 1px solid #bae6fd;
}

.aeo-faq .accordion-item {
    border-color: #dbe7f3;
}

.aeo-faq .accordion-button {
    color: #0f172a;
    font-weight: 700;
}

.aeo-faq .accordion-button:not(.collapsed) {
    color: #0b4f82;
    background: #e0f2fe;
}

.faq-page__intro {
    max-width: 820px;
    margin-bottom: 2rem;
}

.faq-page__intro h2,
.faq-category > h2,
.faq-page__cta h2 {
    color: #0f172a;
    text-align: left;
}

.faq-page__intro p,
.faq-page__cta p {
    margin-bottom: 0;
    color: #475569;
    line-height: 1.75;
}

.faq-page__layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.faq-page__navigation {
    position: sticky;
    top: 96px;
    padding: 1.25rem;
    border-left: 3px solid #0ea5e9;
    background: #ffffff;
}

.faq-page__navigation strong {
    display: block;
    margin-bottom: 0.85rem;
    color: #0f172a;
}

.faq-page__navigation nav {
    display: grid;
    gap: 0.65rem;
}

.faq-page__navigation a,
.faq-page__related-link {
    color: #0b4f82;
    font-weight: 700;
    text-decoration: none;
}

.faq-page__navigation a:hover,
.faq-page__navigation a:focus,
.faq-page__related-link:hover,
.faq-page__related-link:focus {
    text-decoration: underline;
}

.faq-page__categories {
    min-width: 0;
}

.faq-category {
    scroll-margin-top: 104px;
}

.faq-category + .faq-category {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid #dbe7f3;
}

.faq-category > h2 {
    margin-bottom: 1.15rem;
    font-size: 1.75rem;
}

.faq-page .accordion-body p {
    margin-bottom: 0.75rem;
}

.faq-page__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2rem;
    border-top: 1px solid #bae6fd;
    border-bottom: 1px solid #bae6fd;
    background: #e0f2fe;
}

.faq-page__cta h2 {
    margin-bottom: 0.55rem;
    font-size: 1.55rem;
}

.faq-page__cta .aeo-btn-primary {
    flex: 0 0 auto;
    color: #ffffff;
    background: #0b4f82;
    border-color: #0b4f82;
}

.aeo-success-card {
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    gap: 0;
    overflow: hidden;
}

.aeo-success-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #f8fbff;
    border-right: 1px solid #e2e8f0;
}

.aeo-success-card__media img {
    max-width: 150px;
    max-height: 150px;
    border-radius: 8px;
}

.aeo-success-card__body {
    padding: 2rem;
}

.aeo-success-card__body h2 {
    margin: 1rem 0;
    color: #0f172a;
    font-size: clamp(1.6rem, 2.4vw, 2.25rem);
    text-align: left;
}

.aeo-success-card__body p {
    color: #475569;
    line-height: 1.75;
}

.aeo-success-card__body .aeo-btn-secondary {
    color: #0b4f82;
    border-color: rgba(11, 79, 130, 0.24);
}

.aeo-success-card__body .aeo-btn-secondary:hover,
.aeo-success-card__body .aeo-btn-secondary:focus {
    color: #0b4f82;
    background: #eff6ff;
}

.aeo-testimonial-detail {
    padding: 1.5rem;
}

.aeo-testimonial-detail img {
    display: block;
    width: 96px;
    height: 96px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.aeo-testimonial-detail h2 {
    color: #0f172a;
    font-size: 1.25rem;
    text-align: left;
}

.aeo-testimonial-detail blockquote {
    margin: 1rem 0;
    color: #1e293b;
    line-height: 1.68;
}

.aeo-testimonial-detail footer {
    display: grid;
    gap: 0.2rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    color: #475569;
}

.aeo-testimonial-detail strong {
    color: #0f172a;
}

@media (max-width: 991.98px) {
    .aeo-content__grid,
    .aeo-success-card,
    .faq-page__layout {
        grid-template-columns: 1fr;
    }

    .aeo-sidebar,
    .faq-page__navigation {
        position: static;
    }

    .faq-page__navigation nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aeo-success-card__media {
        border-right: 0;
        border-bottom: 1px solid #e2e8f0;
    }
}

@media (max-width: 767.98px) {
    .aeo-hero {
        padding: 3.5rem 0 2.5rem;
    }

    .aeo-actions .btn,
    .aeo-side-card .btn {
        width: 100%;
    }

    .aeo-article,
    .aeo-success-card__body,
    .aeo-testimonial-detail {
        padding: 1.25rem;
    }

    .faq-page__navigation nav {
        grid-template-columns: 1fr;
    }

    .faq-category > h2 {
        font-size: 1.5rem;
    }

    .faq-page__cta {
        align-items: stretch;
        flex-direction: column;
        padding: 1.25rem;
    }

    .faq-page__cta .btn {
        width: 100%;
    }
}
