:root {
    --mc-primary: #1488c9;
    --mc-primary-dark: #0876b6;
    --mc-blue-dark: #0c2b71;
    --mc-dark: #102a43;
    --mc-white: #ffffff;
    --mc-light: #f5fbff;
    --mc-border: #dcecf5;
    --mc-shadow: 0 18px 50px rgba(12, 43, 113, 0.12);
    --mc-container: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--mc-dark);
    background: var(--mc-white);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.mc-container {
    width: min(100% - 32px, var(--mc-container));
    margin-inline: auto;
}

/* TOP BAR */
.mc-topbar {
    width: 100%;
    background: var(--mc-blue-dark);
    color: var(--mc-white);
    font-size: 14px;
    font-weight: 700;
    position: relative;
    z-index: 1000;
}

.mc-topbar-inner {
    min-height: 44px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
}

.mc-topbar-left,
.mc-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mc-topbar-left a {
    color: var(--mc-white);
    white-space: nowrap;
}

.mc-topbar-center {
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.mc-topbar-right {
    justify-content: flex-end;
}

.mc-topbar-right a {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--mc-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    transition: 0.25s ease;
}

.mc-topbar-right a:hover {
    background: var(--mc-white);
    color: var(--mc-blue-dark);
    transform: translateY(-2px);
}

/* HEADER DESKTOP */
.mc-header {
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--mc-border);
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.mc-header-inner {
    min-height: 88px;
    display: grid;
    grid-template-columns: 220px 1fr auto;
    align-items: center;
    gap: 24px;
}

.mc-logo {
    display: inline-flex;
    align-items: center;
    position: relative;
    z-index: 1002;
}

.mc-logo img {
    width: 205px;
    max-height: 72px;
    object-fit: contain;
}

.mc-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mc-nav a {
    padding: 12px 15px;
    border-radius: 999px;
    color: var(--mc-blue-dark);
    font-size: 15px;
    font-weight: 800;
    transition: 0.25s ease;
}

.mc-nav a:hover {
    background: var(--mc-light);
    color: var(--mc-primary-dark);
}

.mc-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--mc-blue-dark);
    color: var(--mc-white);
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(12, 43, 113, 0.22);
    transition: 0.25s ease;
    white-space: nowrap;
}

.mc-header-cta:hover {
    transform: translateY(-2px);
    background: var(--mc-primary-dark);
}

.mc-menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: var(--mc-blue-dark);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    position: relative;
    z-index: 1400;
}

.mc-menu-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 10px;
    background: var(--mc-white);
    transition: 0.25s ease;
}

body.mc-menu-open {
    overflow: hidden;
}

body.mc-menu-open .mc-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.mc-menu-open .mc-menu-toggle span:nth-child(2) {
    opacity: 0;
}

body.mc-menu-open .mc-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* MAIN */
.mc-main {
    min-height: 70vh;
}

/* HERO */
.mc-hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 132px);
    display: flex;
    align-items: stretch;
    background-image:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.97) 0%,
            rgba(255, 255, 255, 0.92) 30%,
            rgba(255, 255, 255, 0.68) 55%,
            rgba(255, 255, 255, 0.28) 78%,
            rgba(255, 255, 255, 0.12) 100%
        ),
        url("https://violet-jellyfish-936988.hostingersite.com/wp-content/uploads/2026/07/bg.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.mc-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle at 15% 20%, rgba(20, 136, 201, 0.10), transparent 38%);
}

.mc-hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -160px;
    top: -120px;
    border-radius: 50%;
    background: rgba(20, 136, 201, 0.08);
    filter: blur(12px);
    z-index: 0;
    pointer-events: none;
}

.mc-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    left: -180px;
    bottom: -180px;
    border-radius: 50%;
    background: rgba(12, 43, 113, 0.08);
    filter: blur(14px);
    z-index: 0;
    pointer-events: none;
}

.mc-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
    gap: 48px;
    padding: 70px 0 0;
    min-height: calc(100vh - 132px);
}

.mc-hero-content {
    max-width: 650px;
    align-self: center;
    padding-bottom: 70px;
}

.mc-hero-badge {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--mc-blue-dark);
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 10px 28px rgba(12, 43, 113, 0.10);
    margin-bottom: 18px;
}

.mc-hero h1 {
    margin: 0;
    color: var(--mc-blue-dark);
    font-size: clamp(2.5rem, 5vw, 5.4rem);
    line-height: 0.96;
    letter-spacing: -2.5px;
    font-weight: 900;
}

.mc-hero p {
    margin: 24px 0 0;
    max-width: 560px;
    color: #35506b;
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.6;
    font-weight: 600;
}

.mc-hero-actions {
    margin-top: 34px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.mc-btn {
    min-height: 54px;
    padding: 0 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
    transition: 0.25s ease;
}

.mc-btn-primary {
    background: var(--mc-blue-dark);
    color: var(--mc-white);
    box-shadow: 0 14px 32px rgba(12, 43, 113, 0.24);
}

.mc-btn-primary:hover {
    background: var(--mc-primary-dark);
    transform: translateY(-2px);
}

.mc-btn-outline {
    background: rgba(255, 255, 255, 0.94);
    color: var(--mc-blue-dark);
    border: 1px solid var(--mc-border);
}

.mc-btn-outline:hover {
    background: var(--mc-light);
    transform: translateY(-2px);
}

.mc-hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    align-self: stretch;
    min-height: 100%;
}

.mc-hero-image::before {
    content: "";
    position: absolute;
    width: 88%;
    height: 72%;
    bottom: 0;
    border-radius: 42px;
    background: linear-gradient(135deg, rgba(12, 43, 113, 0.10), rgba(20, 136, 201, 0.08));
    filter: blur(2px);
    z-index: -1;
}

.mc-hero-image img {
    width: min(100%, 560px);
    height: auto;
    object-fit: contain;
    object-position: center bottom;
    margin-top: auto;
    margin-bottom: 0;
    filter: drop-shadow(0 28px 34px rgba(12, 43, 113, 0.20));
}

/* BENEFICIOS */
.mc-benefits {
    background: var(--mc-blue-dark);
    padding: 80px 0;
}

.mc-section-head {
    width: 100%;
    text-align: center;
}

.mc-benefits .mc-section-head {
    margin-bottom: 40px;
}

.mc-benefits .mc-section-head span,
.mc-benefits .mc-section-head h2 {
    color: var(--mc-white);
}

.mc-benefits .mc-section-head span {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 900;
}

.mc-benefits .mc-section-head h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    font-weight: 900;
}

.mc-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.mc-benefit-card {
    min-width: 0;
    background: var(--mc-white);
    border-radius: 18px;
    padding: 28px 20px;
    text-align: center;
    border: 2px solid var(--mc-primary);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease;
}

.mc-benefit-card:hover {
    transform: translateY(-4px);
}

.mc-benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #eef8ff;
    color: var(--mc-blue-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 900;
}

.mc-benefit-card h3 {
    margin: 0 0 10px;
    color: var(--mc-blue-dark);
    font-size: 17px;
    line-height: 1.2;
    font-weight: 900;
}

.mc-benefit-card p {
    margin: 0;
    color: #425b76;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
}

/* PASOS */
.mc-steps {
    background: var(--mc-white);
    padding: 84px 0;
}

.mc-steps-head {
    width: 100%;
    text-align: center;
    margin: 0 auto 42px;
}

.mc-steps-head span {
    display: block;
    width: 100%;
    text-align: center;
    color: var(--mc-primary-dark);
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 10px;
}

.mc-steps-head h2 {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    color: var(--mc-blue-dark);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
    font-weight: 900;
}

.mc-steps-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px;
    margin-top: 46px;
}

.mc-steps-grid::before {
    content: "";
    position: absolute;
    left: 11%;
    right: 11%;
    top: 42px;
    border-top: 2px dashed rgba(12, 43, 113, 0.35);
    z-index: 0;
}

.mc-step-card {
    position: relative;
    z-index: 1;
    min-width: 0;
    text-align: center;
}

.mc-step-icon {
    width: 86px;
    height: 86px;
    margin: 0 auto 26px;
    border-radius: 50%;
    background: var(--mc-primary-dark);
    color: var(--mc-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 34px rgba(12, 43, 113, 0.20);
}

.mc-step-icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: var(--mc-white);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mc-step-card h3 {
    margin: 0 0 12px;
    color: var(--mc-blue-dark);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.25;
}

.mc-step-card p {
    margin: 0 auto;
    max-width: 230px;
    color: #4b5f73;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 600;
}

.mc-steps-action {
    margin-top: 46px;
    display: flex;
    justify-content: center;
}

/* TABLET */
@media (max-width: 1024px) {
    .mc-header-inner {
        grid-template-columns: 190px 1fr auto;
        gap: 14px;
    }

    .mc-logo img {
        width: 185px;
    }

    .mc-nav a {
        padding: 10px;
        font-size: 14px;
    }

    .mc-hero-inner {
        gap: 28px;
    }

    .mc-hero h1 {
        letter-spacing: -1.8px;
    }
}

/* MOBILE APP HEADER MEJORADO */
@media (max-width: 900px) {
    body {
        padding-bottom: 76px;
    }

    .mc-container {
        width: min(100% - 24px, var(--mc-container));
    }

    .mc-topbar {
        font-size: 13px;
    }

    .mc-topbar-inner {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px 0;
        text-align: center;
    }

    .mc-topbar-left,
    .mc-topbar-right {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .mc-topbar-center {
        white-space: normal;
        font-size: 13px;
        line-height: 1.35;
    }

    .mc-header {
        position: sticky;
        top: 0;
        z-index: 1100;
        background: rgba(255, 255, 255, 0.98);
    }

    .mc-header-inner {
        width: min(100% - 24px, var(--mc-container));
        min-height: 76px;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 12px;
        padding: 8px 0;
    }

    .mc-logo {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-width: 0;
        z-index: 1400;
    }

    .mc-logo img {
        display: block;
        width: 170px;
        max-width: 170px;
        max-height: 58px;
        object-fit: contain;
        opacity: 1;
        visibility: visible;
    }

    .mc-menu-toggle {
        display: inline-flex;
        width: 46px;
        height: 46px;
        border-radius: 15px;
        flex-shrink: 0;
        z-index: 1500;
    }

    .mc-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        width: min(100% - 24px, var(--mc-container));
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 14px;
        border-radius: 22px;
        background: var(--mc-white);
        border: 1px solid var(--mc-border);
        box-shadow: 0 18px 45px rgba(12, 43, 113, 0.18);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: 0.22s ease;
        z-index: 1300;
    }

    body.mc-menu-open .mc-nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mc-nav a {
        width: 100%;
        min-height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 16px;
        border-radius: 15px;
        background: var(--mc-light);
        color: var(--mc-blue-dark);
        font-size: 15px;
        font-weight: 900;
    }

    .mc-header-cta {
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 14px;
        top: auto;
        width: auto;
        min-height: 56px;
        border-radius: 18px;
        z-index: 1600;
        box-shadow: 0 14px 35px rgba(12, 43, 113, 0.32);
    }

    /* HERO MOBILE */
    .mc-hero {
        min-height: auto;
        text-align: center;
        background-image:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.78) 0%,
                rgba(255, 255, 255, 0.82) 35%,
                rgba(255, 255, 255, 0.92) 72%,
                rgba(255, 255, 255, 0.97) 100%
            ),
            url("https://violet-jellyfish-936988.hostingersite.com/wp-content/uploads/2026/07/bg.jpg");
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .mc-hero-bg {
        background: radial-gradient(circle at 50% 20%, rgba(20, 136, 201, 0.08), transparent 42%);
    }

    .mc-hero::before,
    .mc-hero::after {
        display: none;
    }

    .mc-hero-inner {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 30px 0 0;
        gap: 24px;
    }

    .mc-hero-content {
        max-width: 100%;
        margin: 0 auto;
        padding-bottom: 34px;
    }

    .mc-hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .mc-hero-actions {
        justify-content: center;
    }

    .mc-hero-image {
        order: -1;
        min-height: auto;
        align-self: auto;
        align-items: flex-end;
    }

    .mc-hero-image::before {
        width: 78%;
        height: 66%;
        border-radius: 30px;
    }

    .mc-hero-image img {
        width: min(100%, 360px);
        height: auto;
        margin: 0 auto;
        object-position: center bottom;
    }

    /* BENEFICIOS MOBILE 2X2 */
    .mc-benefits {
        padding: 52px 0;
    }

    .mc-benefits .mc-section-head {
        margin-bottom: 28px;
    }

    .mc-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .mc-benefit-card {
        padding: 20px 12px;
        border-radius: 16px;
    }

    .mc-benefit-icon {
        width: 46px;
        height: 46px;
        font-size: 20px;
        margin-bottom: 12px;
    }

    .mc-benefit-card h3 {
        font-size: 14px;
    }

    .mc-benefit-card p {
        font-size: 12px;
    }

    /* PASOS MOBILE 2X2 */
    .mc-steps {
        padding: 56px 0;
    }

    .mc-steps-head {
        margin-bottom: 28px;
    }

    .mc-steps-head span {
        font-size: 13px;
    }

    .mc-steps-head h2 {
        font-size: clamp(1.9rem, 9vw, 2.7rem);
        padding: 0 8px;
    }

    .mc-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
        margin-top: 30px;
    }

    .mc-steps-grid::before {
        display: none;
    }

    .mc-step-card {
        background: var(--mc-light);
        border: 1px solid var(--mc-border);
        border-radius: 20px;
        padding: 22px 12px;
        box-shadow: 0 12px 28px rgba(12, 43, 113, 0.08);
    }

    .mc-step-icon {
        width: 54px;
        height: 54px;
        margin-bottom: 14px;
    }

    .mc-step-icon svg {
        width: 27px;
        height: 27px;
    }

    .mc-step-card h3 {
        font-size: 14px;
    }

    .mc-step-card p {
        font-size: 12px;
        line-height: 1.4;
    }

    .mc-steps-action {
        margin-top: 32px;
    }
}

/* MOBILE SMALL */
@media (max-width: 520px) {
    .mc-logo img {
        width: 155px;
        max-width: 155px;
    }

    .mc-hero-inner {
        padding-top: 24px;
    }

    .mc-hero h1 {
        font-size: clamp(2.15rem, 12vw, 3.4rem);
        letter-spacing: -1.4px;
    }

    .mc-hero p {
        font-size: 1rem;
    }

    .mc-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .mc-btn {
        width: 100%;
        border-radius: 18px;
    }

    .mc-hero-image img {
        width: min(100%, 310px);
    }
}

/* MOBILE EXTRA SMALL */
@media (max-width: 420px) {
    .mc-logo img {
        width: 145px;
        max-width: 145px;
    }

    .mc-header-inner {
        min-height: 70px;
    }

    .mc-menu-toggle {
        width: 44px;
        height: 44px;
    }

    .mc-nav {
        top: calc(100% + 8px);
        padding: 12px;
    }

    .mc-benefits-grid,
    .mc-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .mc-benefit-card,
    .mc-step-card {
        min-width: 0;
    }

    .mc-benefit-card {
        padding: 18px 9px;
    }

    .mc-step-card {
        padding: 18px 9px;
    }

    .mc-benefit-card h3,
    .mc-step-card h3 {
        overflow-wrap: anywhere;
    }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}