* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    overflow-x: hidden;
}

.mainNav {
    width: 100% !important;
    height: 95px;
    position: fixed;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 40px;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mainNav__logo {
    flex-shrink: 0;
}

.mainNav__logo img {
    height: 72px;
    width: auto;
}

.mainNav__links {
    display: flex;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.mainNav__link {
    letter-spacing: 1px;
    font-size: 15px;
    font-weight: 700;
    padding: 5px 8px;
    color: #111827;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mainNav__link:hover {
    color: #e11d48;
    transform: translateY(-3px);
}

.mainNav__cart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-size: 1.55rem;
    color: #111827;
    transition: all 0.3s ease;
    position: relative;
    margin-left: 20px;
}

.mainNav__cart:hover {
    color: #e11d48;
    transform: scale(1.1);
}

.mainNav__cart-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    background: #e11d48;
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.mainNav__icon {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #111827;
    margin-left: 15px;
}

.mainHeading {
    min-height: 100vh;
    padding: 0 40px;
    padding-top: 95px;
    background: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);
    display: flex;
    align-items: center;
}

.mainHeading__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.mainHeading__text {
    z-index: 2;
    color: #637498;
    background-color: rgba(255, 255, 255, 0.25);
    padding: 45px;
    max-width: 620px;
    backdrop-filter: blur(10px);
    border-radius: 8px;
    animation: text 0.8s 0.6s ease backwards;
}

.mainHeading__preTitle {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 12px;
    font-size: 15px;
}

.mainHeading__title {
    text-transform: uppercase;
    font-weight: 200;
    letter-spacing: 2px;
    margin-bottom: 24px;
    font-size: 42px;
    line-height: 1.1;
}

.mainHeading__description {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 35px;
}

.cta {
    padding: 16px 36px;
    color: #637498;
    background: transparent;
    border: 2px solid rgba(99, 116, 152, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    border-radius: 4px;
}

.cta:hover {
    border-color: rgba(99, 116, 152, 0.8);
    background-color: rgba(99, 116, 152, 0.08);
    transform: translateY(-4px);
}

.mainHeading__image {
    max-width: 580px;
    width: 50%;
    height: 620px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: image 0.8s 0.3s ease backwards;
}

.mainHeading__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes text {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
}

@keyframes image {
    0% {
        opacity: 0;
        transform: translateY(120px);
    }
}

.contact-container {
    padding: 120px 20px 80px;
    background: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);
    min-height: calc(100vh - 200px);
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-wrapper .text {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #0a1428, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

form .form-row {
    display: flex;
    margin: 28px 0;
    gap: 25px;
}

form .form-row .input-data {
    width: 100%;
    position: relative;
}

form .form-row .textarea {
    height: 180px;
}

.input-data input,
.input-data select,
.textarea textarea {
    display: block;
    width: 100%;
    height: 48px;
    border: none;
    border-bottom: 2px solid #cbd5e1;
    font-size: 16.5px;
    padding: 8px 0 5px 0;
    background: transparent;
    z-index: 2;
    outline: none;
}

.textarea textarea {
    height: 160px;
    resize: vertical;
    padding-top: 12px;
}

.input-data label,
.textarea label {
    position: absolute;
    bottom: 8px;
    left: 0;
    font-size: 16px;
    color: #64748b;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1;
    background: #fff;
    padding: 0 4px;
}

.input-data input:focus~label,
.input-data input:valid~label,
.input-data select:focus~label,
.input-data select:valid~label,
.textarea textarea:focus~label,
.textarea textarea:valid~label {
    transform: translateY(-26px);
    font-size: 13.5px;
    color: #1e40af;
}

.input-data .underline {
    position: absolute;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: #e2e8f0;
}

.input-data .underline:before {
    content: "";
    position: absolute;
    height: 2px;
    width: 100%;
    background: #1e40af;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.input-data input:focus~.underline:before,
.input-data select:focus~.underline:before,
.textarea textarea:focus~.underline:before {
    transform: scaleX(1);
}

.submit-btn .input-data {
    height: 55px;
    width: 100%;
    max-width: 240px;
    margin: 35px auto 0;
    overflow: hidden;
    border-radius: 6px;
}

.submit-btn .inner {
    height: 100%;
    width: 300%;
    position: absolute;
    left: -100%;
    background: linear-gradient(135deg, #0a1428, #1e40af);
    transition: all 0.5s;
}

.submit-btn:hover .inner {
    left: 0;
}

.submit-btn input {
    background: none;
    border: none;
    color: white;
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.cursos-container {
    padding: 140px 20px 100px;
    background: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);
}

.cursos-header {
    text-align: center;
    margin-bottom: 60px;
}

.cursos-header h1 {
    font-size: 42px;
    margin-bottom: 12px;
    color: rgb(0, 0, 0);
}

.cursos-header p {
    font-size: 18px;
    color: #000000;
}

.content-wrapper {
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    padding: 0.5rem;
}

.news-card {
    margin: 0.5rem;
    position: relative;
    height: 380px;
    overflow: hidden;
    border-radius: 0.5rem;
    flex: 1;
    min-width: 290px;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.news-card__card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.news-card__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-card__image {
    transform: scale(1.08);
}

.news-card__text-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: white;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    transition: background-color 0.4s ease;
    z-index: 2;
}

.news-card:hover .news-card__text-wrapper {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
}

.news-card__title {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
    transition: color 0.4s ease;
}

.news-card:hover .news-card__title {
    color: #60a5fa;
}

.news-card__details-wrapper {
    max-height: 0;
    opacity: 0;
    transition: max-height 1.5s ease, opacity 1s ease;
}

.news-card:hover .news-card__details-wrapper {
    max-height: 200px;
    opacity: 1;
}

.news-card__excerpt {
    font-size: 0.97rem;
    line-height: 1.65;
    margin-bottom: 1.1rem;
    color: #f1f5f9;
}

.news-card__read-more {
    background: #1e40af;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.news-card__read-more:hover {
    background: white;
    color: #111827;
}

footer {
    background: #111827;
    color: white;
    padding: 50px 0 30px;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-redes {
    flex: 1;
    min-width: 150px;
}

.footer-redes h4 {
    margin-bottom: 12px;
    color: #e2e8f0;
}

.redes-icons a {
    color: #cbd5e1;
    font-size: 1.8rem;
    margin-right: 20px;
}

.footer-copyright {
    flex: 2;
    text-align: center;
    font-size: 15px;
}

.footer-whatsapp {
    flex: 1;
    text-align: right;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.infoNosotros {
    background: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);
    padding: 120px 20px 100px;
}

.infoNosotros .main {
    max-width: 1200px;
    margin: 0 auto;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    gap: 2rem;
}

.cards_item {
    display: flex;
    padding: 1rem;
    max-width: 820px;
    width: 100%;
}

.card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px -14px rgba(10, 20, 40, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px -15px rgba(10, 20, 40, 0.25);
}

.card_image {
    position: relative;
    max-height: 280px;
    overflow: hidden;
}

.card_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.card:hover .card_image img {
    transform: scale(1.06);
}

.card_image::after {
    content: "";
    display: block;
    width: 100%;
    height: 160px;
    position: absolute;
    bottom: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(10, 20, 40, 0.85) 85%);
}

.card_content {
    padding: 2rem 2.3rem;
    position: relative;
    z-index: 2;
    margin-top: -35px;
    background: #fff;
}

.card_title {
    font-size: 2.8rem;
    line-height: 1.05;
    margin-bottom: 1.3rem;
    color: #0a1428;
    font-weight: 700;
}

.card_text {
    color: #334155;
    font-size: 1.07rem;
    line-height: 1.75;
    font-weight: 300;
}

.card_text p {
    margin-bottom: 1.1rem;
}

.curso-single {
    background: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);
    padding-top: 110px;
    min-height: 100vh;
}

.curso-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.curso-hero {
    background: linear-gradient(rgba(10, 20, 40, 0.75), rgba(10, 20, 40, 0.75));
    background-size: cover;
    background-position: center;
    color: white;
    padding: 180px 20px 100px;
    text-align: center;
}

.curso-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    line-height: 1.1;
}

.curso-hero .curso-subtitle {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

.curso-section {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.8rem;
    color: #0a1428;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #1e40af;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contenido-list {
    list-style: none;
}

.contenido-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contenido-list li:before {
    content: "✓";
    color: #1e40af;
    font-weight: bold;
    font-size: 1.2rem;
}

.precio-box {
    background: #0a1428;
    color: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    margin: 40px auto;
    max-width: 420px;
}

.precio-box .precio {
    font-size: 2.8rem;
    margin: 15px 0;
    font-weight: 700;
}

.btn-agregar {
    background: #1e40af;
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
    width: 100%;
}

.btn-agregar:hover {
    background: #60a5fa;
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    .mainNav__links {
        display: none;
    }

    .mainNav__icon {
        display: block;
    }

    footer .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    footer .footer-whatsapp {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .curso-hero {
        padding: 140px 20px 80px;
    }

    .curso-hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .mainHeading__title {
        font-size: 32px;
    }

    .mainNav {
        height: 80px;
        padding: 0 20px;
    }

    .mainNav__logo img {
        height: 58px;
    }
}

@media (max-width: 992px) {
    .mainHeading__content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .mainHeading__image {
        width: 100%;
        max-width: 500px;
        height: 480px;
    }

    .mainHeading__text {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .mainNav {
        padding: 0 20px;
        height: 80px;
    }

    .mainNav__logo img {
        height: 58px;
    }

    .mainNav__links {
        display: none;
    }

    .mainNav__icon {
        display: block;
    }

    .cursos-container {
        padding: 100px 15px 80px;
    }

    .curso-hero {
        padding: 140px 20px 80px;
    }

    .curso-hero h1 {
        font-size: 2.2rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .mainHeading__title {
        font-size: 32px;
    }

    .mainHeading__text {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .precio-box .precio {
        font-size: 2.3rem;
    }

    .cursos-header h1 {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    form .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .contact-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .news-card {
        min-width: 100%;
        max-width: 100%;
        height: 360px;
    }
}

@media (max-width: 768px) {
    .mainNav__links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding-top: 50px;
        gap: 30px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transition: all 0.4s ease;
        z-index: 999;
    }

    .mainNav__links.active {
        display: flex;
        left: 0;
    }

    .mainNav__link {
        font-size: 18px;
    }
}

.success-message {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    min-height: 500px;
    padding: 40px 25px;

    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);

    max-width: 800px;
    margin: 0 auto;
}

.success-message i {
    font-size: 80px;
    color: #22c55e;
    margin-bottom: 20px;
}

.success-message h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #0a1428;
}

.success-message p {
    font-size: 18px;
    color: #475569;
    margin-bottom: 30px;
    max-width: 500px;
    line-height: 1.6;
}

.success-message button {
    background: #1e40af;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 15px 35px;
    font-size: 16px;
    cursor: pointer;
    transition: .3s;
}

.success-message button:hover {
    background: #60a5fa;
}

.curso-section {
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.curso-section p {
    color: #334155;
    font-size: 1.07rem;
    line-height: 1.75;
    font-weight: 300;
    text-align: justify;
    max-width: 760px;
    margin: 0 auto;
}

.curso-section p:last-child {
    margin-bottom: 0;
}

.curso-section p {
    color: #334155;
    font-size: 1.07rem;
    line-height: 1.75;
    font-weight: 300;
    text-align: justify;
    max-width: 760px;
    margin: 0 auto;
}

.curso-section p:last-child {
    margin-bottom: 0;
}

.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.cart-modal.active {
    display: flex;
}

.cart-content {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cart-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 1.4rem;
    color: #0a1428;
}

.cart-items {
    padding: 20px 25px;
    max-height: 380px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.cart-item-price {
    font-weight: 700;
    color: #1e40af;
}

.cart-total {
    padding: 20px 25px;
    border-top: 1px solid #e2e8f0;
    text-align: right;
}

.cart-total p {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.cart-actions {
    padding: 0 25px 25px;
    display: flex;
    gap: 12px;
}

.cart-actions button {
    flex: 1;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.btn-continue {
    background: #e2e8f0;
    color: #334155;
}

.btn-checkout {
    background: #1e40af;
    color: white;
}