.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url("/images/ubam-cei/oxford/oxford.webp");
}

.features-section {
    position: relative;
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 52px;
    font-weight: 700;
    color: #1A3854;
    margin-bottom: 20px;
}

.section-title-accent {
    font-size: 52px;
    font-weight: 700;
    color: var(--color-ubam-blue);
    margin-left: 12px;
}

.section-description {
    font-size: 18px;
    color: #666;
    margin-top: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1300px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 48px 32px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #E8F4F8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4A9FD8, #3D8BC7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-image {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    box-shadow: 0 8px 24px rgba(74, 159, 216, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-image {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(74, 159, 216, 0.25);
}

.feature-card h3 {
    font-size: 20px;
    color: #1A3854;
    margin-bottom: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.feature-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.acreditation-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 30px 20px;
}

.acreditation-title {
    font-family: "Oleo Script", serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--color-ubam-dark-blue);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.acreditation-main-title {
    font-family: "Oleo Script", serif;
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.acreditation-main-title h3 {
    font-size: 42px;
    font-weight: 700;
    color: var(--color-ubam-pink);
    margin: 0;
}

.acreditation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.bottom-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: -50px;
    margin-top: 2.2rem;
}

.oxford-cards-grid {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.oxford-cards-grid[data-tipo*="OTE"] {
    --card-gradient: linear-gradient(135deg, #3B9DD8 0%, #2DD4BF 100%);
    --card-badge: 'OTE';
    --card-after: 'CERTIFICACIÓN';
}

.oxford-cards-grid[data-tipo*="Advanced"] {
    --card-gradient: linear-gradient(135deg, #A855F7 0%, #EC4899 100%);
    --card-badge: 'OTE Advanced';
    --card-after: 'CERTIFICACIÓN';
}

.oxford-cards-grid[data-tipo*="Placement Test"] {
    --card-gradient: linear-gradient(135deg, #EF4444 0%, #EC4899 100%);
    --card-badge: 'Placement Test';
    --card-after: 'CONSTANCIA';
}

.oxford-cards-grid[data-tipo*="Young Learners"] {
    --card-gradient: linear-gradient(135deg, #00d4ff 0%, #8B5CF6 100%);
    --card-badge: 'Young Learners';
    --card-after: 'CONSTANCIA';
}

.oxford-cards-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-border-cards, #4A9FD8);
}

.oxford-card-header {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 10px;
    padding: 40px 32px 32px;
    background: #F5F7FA;
    min-height: 208px;
}

.oxford-card-header::before {
    content: var(--card-badge);
    background: var(--card-gradient);
    display: inline-block;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    align-self: flex-start;
    letter-spacing: 0.5px;
}

.oxford-card-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1A2332;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    position: relative;
}

.oxford-card-title::after {
    content: var(--card-after);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #64748B;
    font-size: 15px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    letter-spacing: 1px;
    display: block;
    position: relative;
    top: 15px;
}

.container-fluid.d-flex {
    align-items: center;
    padding: 24px 32px;
    flex-direction: column;
    gap: 24px;
}

.container-fluid .container:first-child {
    order: 2;
}

.container-fluid .container:last-child {
    order: 1;
    display: flex;
}

.oxford-card-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.oxford-card-details {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.oxford-card-details li {
    font-size: 15px;
    color: #475569;
    padding: 0 0 0 32px;
    position: relative;
    line-height: 1.6;
    font-weight: 400;
}

.oxford-card-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--card-gradient);
}

.oxford-card-details li::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.oxford-card-level {
    list-style: none;
    padding: 0;
    margin-left: auto;
    margin-top: -15px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.oxford-card-level li {
    font-size: 15px;
    border-radius: 5px;
    color: #ffffff;
    padding: 0 15px;
    line-height: 1.6;
    font-weight: 400;
    background: var(--card-gradient);
}

.card-image {
    width: 200px;
    max-height: 260px;
    border-radius: 20px;
    object-fit: cover;
    padding: 18px;
}

.oxford-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    background: #F5F7FA;
    border-top: 1px solid #E2E8F0;
    position: relative;
    transition: all 0.3s ease;
}

.oxford-card-price {
    font-size: 36px;
    font-weight: 700;
    color: #1A2332;
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 4px;
    position: relative;
}

.oxford-card-price::before {
    content: "PRECIO";
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #64748B;
    letter-spacing: 1px;
    position: absolute;
    top: -18px;
    left: 25px;
}

.btn-subscribe {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    padding: 18px 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-ubam-white);
    text-transform: uppercase;
    letter-spacing: 4px;
    background-color: var(--color-ubam-dark-blue);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    overflow: hidden;
    line-height: 1.5;
}

.btn-subscribe:hover {
    background-color: var(--color-ubam-dark-blue);
    box-shadow: 0 4px 15px var(--color-ubam-gray);
    color: var(--color-ubam-white);
}

.skeleton-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.skeleton-top-bar {
    height: 4px;
    background: linear-gradient(90deg, #e0e0e0 25%, #d4d4d4 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-card .skeleton-header {
    background: #F5F7FA;
    padding: 40px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 180px;
}

.skeleton-badge {
    width: 70px;
    height: 28px;
    border-radius: 20px;
    background: linear-gradient(90deg, #e8e8e8 25%, #ddd 50%, #e8e8e8 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-badge.wide {
    width: 120px;
}

.skeleton-title {
    height: 28px;
    width: 85%;
    border-radius: 6px;
    background: linear-gradient(90deg, #e8e8e8 25%, #ddd 50%, #e8e8e8 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-title.short {
    width: 55%;
}

.skeleton-subtitle {
    height: 14px;
    width: 40%;
    border-radius: 4px;
    margin-top: 6px;
    background: linear-gradient(90deg, #efefef 25%, #e4e4e4 50%, #efefef 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-center {
    display: flex;
    align-items: center;
    padding: 24px 32px;
    gap: 24px;
}

.skeleton-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.skeleton-detail-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.skeleton-check {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    background: linear-gradient(90deg, #e8e8e8 25%, #ddd 50%, #e8e8e8 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-image {
    width: 160px;
    min-width: 120px;
    height: 180px;
    border-radius: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e4e4e4 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-footer {
    padding: 24px 32px;
    background: #F5F7FA;
    border-top: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skeleton-price-label {
    width: 60px;
    height: 11px;
    border-radius: 4px;
    background: linear-gradient(90deg, #efefef 25%, #e4e4e4 50%, #efefef 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-price {
    width: 180px;
    height: 32px;
    border-radius: 6px;
    background: linear-gradient(90deg, #e8e8e8 25%, #ddd 50%, #e8e8e8 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-line {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 8px;
    height: 14px;
    flex: 1;
}

.skeleton-line.short { width: 60%; flex: none; }
.skeleton-line.medium { width: 80%; flex: none; }

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

@media (max-width: 1400px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .acreditation-grid { gap: 40px; }
    .oxford-cards-grid { gap: 32px; }
    .oxford-card-header { padding: 36px 28px 28px; }
    .oxford-card-title { font-size: 26px; }
    .card-image { width: 180px; max-height: 240px; }
}

@media (max-width: 1200px) {
    .acreditation-section { padding: 60px 20px; }
    .acreditation-title { font-size: 36px; }
    .acreditation-main-title h3 { font-size: 32px; }
    .oxford-card-header { padding: 32px 24px 24px; min-height: 160px; }
    .oxford-card-title { font-size: 24px; }
    .container-fluid.d-flex { padding: 20px 24px; gap: 20px; }
    .card-image { width: 160px; max-height: 220px; padding: 15px; }
    .oxford-card-details li { font-size: 14px; padding-left: 28px; }
    .oxford-card-details li::before { width: 20px; height: 20px; }
    .oxford-card-price { font-size: 32px; }
    .oxford-card-footer { padding: 20px 24px; }
}

@media (max-width: 1000px) {
    .acreditation-title { font-size: 32px; }
    .acreditation-main-title h3 { font-size: 28px; }
    .acreditation-grid { grid-template-columns: 1fr; }
    .oxford-cards-grid { gap: 24px; }
    .oxford-card-header { padding: 28px 20px 20px; min-height: 150px; }
    .oxford-card-title { font-size: 22px; }
    .card-image { width: 150px; max-height: 200px; }
    .oxford-card-level { margin-top: -40px; gap: 10px; }
    .oxford-card-level li { font-size: 14px; padding: 0 12px; }
    .bottom-image { display: none; }
}

@media (max-width: 768px) {
    .hero-subtitle { font-size: 56px; }
    .hero-description { font-size: 16px; }
    .features-section { padding: 80px 30px; }
    .section-title, .section-title-accent { font-size: 36px; }
    .features-grid { grid-template-columns: 1fr; gap: 24px; }
    .feature-card { padding: 40px 28px; }
    .acreditation-title { font-size: 28px; }
    .acreditation-main-title h3 { font-size: 24px; }
    .oxford-cards-grid { border-radius: 12px; gap: 20px; }
    .oxford-card-header { padding: 24px 20px 20px; min-height: auto; }
    .oxford-card-title { font-size: 20px; }
    .oxford-card-header::before { font-size: 12px; padding: 5px 14px; }
    .container-fluid.d-flex { padding: 20px; gap: 16px; flex-direction: column; }
    .oxford-card-center { flex-direction: column; gap: 20px; }
    .card-image { width: 140px; max-height: 180px; padding: 12px; }
    .oxford-card-details { gap: 10px; }
    .oxford-card-details li { font-size: 13px; padding-left: 26px; }
    .oxford-card-details li::before { width: 18px; height: 18px; }
    .oxford-card-details li::after { left: 7px; top: 4px; width: 4px; height: 9px; }
    .oxford-card-level { margin: 10px 0; gap: 8px; flex-wrap: wrap; justify-content: center; }
    .oxford-card-level li { font-size: 13px; padding: 2px 10px; }
    .oxford-card-footer { padding: 20px; flex-direction: column; align-items: flex-start; gap: 12px; }
    .oxford-card-price { font-size: 28px; }
    .oxford-card-price::before { font-size: 10px; top: -16px; left: 10px; }
    .btn-subscribe { padding: 15px 35px; font-size: 0.95rem; letter-spacing: 2px; width: 90%; max-width: 300px; }
}

@media (max-width: 480px) {
    .hero-subtitle { font-size: 48px; }
    .features-section { padding: 60px 20px; }
    .section-title, .section-title-accent { font-size: 32px; }
    .acreditation-title { font-size: 24px; }
    .acreditation-main-title h3 { font-size: 20px; }
    .oxford-cards-grid { gap: 16px; border-radius: 10px; }
    .oxford-card-header { padding: 20px 16px 16px; }
    .oxford-card-title { font-size: 18px; }
    .oxford-card-header::before { font-size: 11px; padding: 4px 12px; }
    .container-fluid.d-flex { padding: 16px; }
    .card-image { width: 120px; max-height: 160px; padding: 10px; border-radius: 15px; }
    .oxford-card-details li { font-size: 12px; padding-left: 24px; }
    .oxford-card-details li::before { width: 16px; height: 16px; }
    .oxford-card-details li::after { left: 6px; top: 3px; width: 3px; height: 8px; border-width: 0 1.5px 1.5px 0; }
    .oxford-card-level li { font-size: 12px; padding: 1px 8px; }
    .oxford-card-footer { padding: 16px; }
    .oxford-card-price { font-size: 24px; }
}