 :root {
            --primary-dark: #002b49;
            --primary-blue: #0056b3;
            --accent-blue: #0088cc;
            --light-blue: #e8f4f8;
            --bg-neutral: #f4f7f9;
            --text-main: #1a252c;
            --text-muted: #596a7a;
            --white: #ffffff;
            --border-color: #d1dbe3;
     --sepia-red-light: #c71a1a;   /* Rojo sepia claro */
    --sepia-red-medium: #A0522D;  /* Marrón rojizo medio */
    --sepia-red-dark: #aa3434;    /* Marrón sepia oscuro */
    --sepia-red-warm: #D2691E;    /* Naranja sepia */

        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
            line-height: 1.6;
            color: var(--text-main);
            background-color: var(--bg-neutral);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Banner Header */
        header {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
            color: var(--white);
            padding: 60px 0 50px 0;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        .header-brand {
            font-size: 1.4rem;
            font-weight: 800;
            letter-spacing: 2px;
            color: #8ed1fc;
            text-transform: uppercase;
            margin-bottom: 15px;
            display: inline-block;
            border-bottom: 2px solid #8ed1fc;
            padding-bottom: 4px;
        }

        header h1 {
            font-size: 2.2rem;
            font-weight: 700;
            line-height: 1.25;
            margin-bottom: 15px;
            text-transform: uppercase;
        }

        header .subtitle {
            font-size: 1.25rem;
            color: #d0e7f9;
            font-weight: 600;
            margin-bottom: 20px;
        }

        header .description {
            font-size: 1rem;
            color: #e2f0fb;
            max-width: 900px;
            line-height: 1.5;
            background: rgba(255, 255, 255, 0.08);
            padding: 18px 22px;
            border-left: 4px solid var(--accent-blue);
            border-radius: 0 8px 8px 0;
        }

        /* Navegación */
        nav {
            background-color: var(--primary-dark);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }

        nav ul {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            padding-left: 0;
            margin-bottom: 0;
        }

        nav ul li a {
            display: block;
            color: #d0e7f9;
            text-decoration: none;
            padding: 16px 18px;
            font-size: 0.95rem;
            font-weight: 600;
            transition: all 0.2s ease;
        }

        nav ul li a:hover {
            background-color: var(--primary-blue);
            color: var(--white);
        }

        /* Estilos de Sección de Inscripción */
        .bg-cendap {
            background-color: var(--primary-dark) !important;
        }

        .contact-box {
            background-color: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
        }

        .fw-black {
            font-weight: 900;
        }

        /* Secciones */
        section {
            padding: 50px 0;
        }

        .section-white {
            background-color: var(--white);
        }

        .section-title-container {
            margin-bottom: 35px;
            text-align: center;
        }

        .section-title-container h2 {
            font-size: 1.8rem;
            color: var(--primary-dark);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: inline-block;
            position: relative;
            padding-bottom: 10px;
        }

        .section-title-container h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 70px;
            height: 3px;
            background-color: var(--primary-blue);
        }

        /* Grid de Sedes */
        .sedes-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
            gap: 20px;
        }

        .sede-card {
            background: var(--white);
            border-radius: 8px;
            border-top: 4px solid var(--primary-blue);
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
            padding: 0;
            overflow: hidden;
            transition: transform 0.2s ease;
        }
        .sede-card img {
            width: 100%;
            height: 140px;
            object-fit: cover;
            display: block;
        }

        .sede-card:hover {
            transform: translateY(-3px);
        }

        .sede-card-body {
            padding: 20px;
        }

        .sede-card h3 {
            color: var(--primary-dark);
            font-size: 1.25rem;
            margin-bottom: 10px;
            border-bottom: 1px solid #e1e8ed;
            padding-bottom: 8px;
        }

        .sede-card .date {
            color: var(--primary-blue);
            font-weight: 700;
            font-size: 0.95rem;
            margin-bottom: 8px;
        }

        .sede-card .hotel {
            color: var(--text-muted);
            font-size: 0.9rem;
            font-weight: 600;
        }

        .sede-card .duration {
            display: inline-block;
            margin-top: 10px;
            background-color: var(--light-blue);
            color: var(--primary-blue);
            padding: 3px 8px;
            font-size: 0.8rem;
            font-weight: 700;
            border-radius: 4px;
        }

        /* Lista de Beneficios */
        .benefits-list {
            list-style: none;
            max-width: 950px;
            margin: 0 auto;
            padding-left: 0;
        }

        .benefits-list li {
            position: relative;
            padding-left: 35px;
            margin-bottom: 18px;
            font-size: 1rem;
            color: var(--text-main);
        }

        .benefits-list li::before {
            content: '✓';
            position: absolute;
            left: 0;
            top: 2px;
            width: 22px;
            height: 22px;
            background-color: var(--primary-blue);
            color: var(--white);
            border-radius: 50%;
            text-align: center;
            line-height: 22px;
            font-size: 0.8rem;
            font-weight: bold;
        }

        /* Módulos Académicos */
        .modules-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 25px;
        }

        .module-card {
            background: var(--white);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 22px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.03);
        }

        .module-card h3 {
            font-size: 1.05rem;
            color: var(--primary-dark);
            margin-bottom: 12px;
            padding-bottom: 8px;
            border-bottom: 2px solid var(--light-blue);
        }

        .module-card ul {
            list-style-type: disc;
            padding-left: 18px;
        }

        .module-card ul li {
            font-size: 0.9rem;
            color: var(--text-main);
            margin-bottom: 8px;
            line-height: 1.4;
        }

        /* Detalles del Curso */
        .details-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

        .detail-card {
            background: var(--light-blue);
            border: 1px solid #bce0fd;
            border-radius: 8px;
            padding: 20px;
            text-align: center;
        }

        .detail-card h4 {
            color: var(--primary-dark);
            font-size: 1.1rem;
            margin-bottom: 8px;
        }

        .detail-card p {
            color: var(--primary-blue);
            font-weight: 700;
            font-size: 1rem;
            margin-bottom: 0;
        }

        /* Tabla Personalizada */
        .table-responsive {
            overflow-x: auto;
        }

        .custom-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 15px;
            background: var(--white);
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
            border-radius: 8px;
            overflow: hidden;
        }

        .custom-table th {
            background-color: var(--primary-dark);
            color: var(--white);
            text-align: left;
            padding: 14px 16px;
            font-size: 0.95rem;
            font-weight: 600;
        }

        .custom-table td {
            padding: 12px 16px;
            border-bottom: 1px solid var(--border-color);
            font-size: 0.9rem;
            vertical-align: top;
        }

        .custom-table tr:nth-child(even) {
            background-color: #f8fafc;
        }

        /* Call To Action Banner */
        .cta-section {
            background: linear-gradient(135deg, var(--sepia-red-dark) 0%, var(--sepia-red-medium) 50%, var(--sepia-red-light) 100%);
            color: var(--white);
            text-align: center;
            padding: 50px 20px;
            border-radius: 12px;
            margin: 40px 0;
        }

        .cta-section h3 {
            font-size: 1.6rem;
            margin-bottom: 15px;
        }

        .cta-section p {
            font-size: 1.05rem;
            max-width: 850px;
            margin: 0 auto 25px auto;
            color: #e2f0fb;
            line-height: 1.6;
        }

        .cta-btn {
            display: inline-block;
            background-color: #00a8ff;
            color: var(--white);
            font-weight: 700;
            padding: 14px 32px;
            border-radius: 30px;
            text-decoration: none;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
        }

        .cta-btn:hover {
            background-color: #0088cc;
            transform: translateY(-2px);
            color: var(--white);
        }

        /* Pie de página (Footer) */
        footer {
            background-color: var(--primary-dark);
            color: #94a3b8;
            padding: 40px 0 20px 0;
            border-top: 4px solid var(--primary-blue);
            font-size: 0.88rem;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-bottom: 30px;
        }

        .footer-col h4 {
            color: var(--white);
            font-size: 1rem;
            margin-bottom: 15px;
            border-bottom: 2px solid var(--primary-blue);
            padding-bottom: 5px;
            display: inline-block;
        }

        .footer-col p, .footer-col ul {
            line-height: 1.6;
        }

        .footer-col ul {
            list-style: none;
            padding-left: 0;
        }

        .footer-col ul li {
            margin-bottom: 8px;
        }

        .footer-col ul li a {
            color: #94a3b8;
            text-decoration: none;
            transition: color 0.2s;
        }

        .footer-col ul li a:hover {
            color: var(--white);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #1e293b;
            color: #64748b;
        }

        /* Estilos complementarios para tarjetas de planes */
        .plan-card {
            position: relative;
            transition: transform 0.3s ease;
        }
        .plan-card:hover {
            transform: translateY(-5px);
        }
        .plan-badge-popular {
            position: absolute;
            top: -12px;
            right: 20px;
            background-color: #ffc107;
            color: #000;
            font-size: 0.75rem;
            font-weight: 800;
            padding: 4px 12px;
            border-radius: 20px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            z-index: 10;
        }
        .price-badge {
            background-color: #e9ecef;
            padding: 6px 12px;
            border-radius: 20px;
            font-weight: 700;
            color: #495057;
        }
        .price-badge-b {
            background-color: #fff3cd;
            padding: 6px 12px;
            border-radius: 20px;
            font-weight: 700;
            color: #856404;
        }
        .steps-list .step-item {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            margin-bottom: 15px;
        }
        .steps-list .step-num {
            background-color: var(--primary-dark);
            color: var(--white);
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 0.85rem;
            flex-shrink: 0;
        }
        .bank-card {
            background-color: #f8f9fa;
            border: 1px solid #e9ecef;
        }

        .header-hero-img {
    max-width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
}