:root {
    --kavex-dark: #241d3f;
    --kavex-mid: #392b64;
    --kavex-hi: #6b56b5;
    --kavex-bg: #f6f5f8;
    --kavex-green: #4aa86f;
    --kavex-green2: #3f9b64;
    --text: #1f2430;
    --muted: #6b7280;
}

/* Base */
html,
body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--text);
    background: #fff;
}

.container-k {
    max-width: 1120px;
}

.brand-logo {
    height: 28px;
    width: auto;
}

/* ============================================================
   HERO
============================================================ */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1200px 600px at 20% 20%, rgba(255, 255, 255, .12), transparent 55%),
        radial-gradient(900px 500px at 80% 30%, rgba(255, 255, 255, .08), transparent 60%),
        linear-gradient(135deg, var(--kavex-dark), var(--kavex-mid) 50%, var(--kavex-hi));
    color: #fff;
    padding: 64px 0 0;
}

.badge-soft {
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .92);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: .9rem;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.hero h1 {
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.05;
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    margin-top: 14px;
}

.hero p {
    color: rgba(255, 255, 255, .85);
    font-size: 1.05rem;
    margin: 14px 0 22px;
    max-width: 520px;
}

/* Columna texto: padding propio abajo */
.hero .col-lg-6:first-child {
    padding-bottom: 64px;
}

/* Imagen hero: más grande, pegada al borde inferior */
.hero-mock {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    margin-bottom: -4px;
}

.hero-mock img {
    width: 115%;
    max-width: 680px;
    height: auto;
    display: block;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .4));
    margin-right: -24px;
    /* sobresale ligeramente del container */
}

@media (max-width: 991px) {
    .hero {
        padding: 44px 0 0;
    }

    .hero .col-lg-6:first-child {
        padding-bottom: 0;
    }

    .hero-mock {
        justify-content: center;
        margin-top: 24px;
    }

    .hero-mock img {
        width: 100%;
        max-width: 480px;
        margin-right: 0;
    }
}

/* Botones */
.btn-kavex {
    background: linear-gradient(180deg, var(--kavex-green), var(--kavex-green2));
    border: none;
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.btn-kavex:hover {
    filter: brightness(1.03);
    color: #fff;
}

.btn-kavex-purple {
    background: linear-gradient(180deg, var(--kavex-mid), var(--kavex-dark));
    border: none;
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.btn-kavex-purple:hover {
    filter: brightness(1.15);
    color: #fff;
}

.btn-round {
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 800;
}

.btn-outline-hero {
    border-color: rgba(255, 255, 255, .35) !important;
}

/* Secciones */
.section {
    padding: 56px 0;
}

.section-title {
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.section-sub {
    color: var(--muted);
    margin-bottom: 26px;
}

.kavex-green {
    color: var(--kavex-green2);
}

/* Features */
.feature-wrap {
    background: linear-gradient(180deg, #ffffff, #f4f3f8);
    border-radius: 22px;
    padding: 22px;
    border: 1px solid rgba(20, 20, 20, .06);
    box-shadow: 0 18px 40px rgba(18, 18, 25, .06);
    height: 100%;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 168, 111, .12);
    color: var(--kavex-green2);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.feature-icon--inline {
    margin-bottom: 0;
}

.feature-title {
    font-weight: 900;
    margin-bottom: 6px;
}

.feature-text {
    color: var(--muted);
    margin-bottom: 0;
}

/* ============================================================
   BAND — UN SOLO FONDO, sin divisiones visibles
   La clave: .band-right NO tiene fondo propio, hereda el del padre.
   El ::before desaparece. La imagen usa mix-blend-mode para fundirse.
============================================================ */
.band {
    position: relative;
    overflow: hidden;
    /* Fondo único de izquierda a derecha, sin cortes */
    background:
        radial-gradient(ellipse 70% 80% at 5% 50%, rgba(255, 255, 255, .06), transparent),
        radial-gradient(ellipse 55% 70% at 95% 15%, rgba(120, 90, 200, .45), transparent),
        linear-gradient(110deg, #1d1537 0%, #2c1f56 35%, #3a2870 65%, #4c3490 100%);
    color: #fff;
    border-radius: 28px;
    display: grid;
    /* Dos columnas: texto fijo 48%, imagen el resto */
    grid-template-columns: 48% 1fr;
    min-height: 360px;
}

.band h2 {
    font-weight: 900;
    letter-spacing: -0.03em;
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 9px 0;
    color: rgba(255, 255, 255, .92);
    font-size: .97rem;
}

.check i {
    color: #6be39b;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Columna izquierda */
.band-left {
    padding: 52px 40px 52px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Columna derecha — TRANSPARENTE, misma herencia de fondo */
.band-right {
    position: relative;
    overflow: hidden;
    /* Sin background, sin ::before — el gradiente del padre se ve uniformemente */
}

/* La imagen se posiciona y se centra verticalmente */
.phone-mock {
    position: absolute;
    inset: -10px -16px -10px -10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.phone-mock img {
    width: 100%;
    height: 120%;
    object-fit: contain;
    object-position: right center;
    filter: drop-shadow(-16px 20px 40px rgba(0, 0, 0, .55));
}

/* Responsive band */
@media (max-width: 991px) {
    .band {
        grid-template-columns: 1fr;
        min-height: unset;
    }

    .band-left {
        padding: 40px 32px 28px;
    }

    .band-right {
        height: 280px;
    }

    .phone-mock {
        inset: 0;
        justify-content: center;
    }

    .phone-mock img {
        height: 100%;
        object-position: center bottom;
    }
}

@media (max-width: 576px) {
    .band-left {
        padding: 32px 24px 20px;
    }

    .band-right {
        height: 220px;
    }
}

/* Cards */
.note-card {
    background: var(--kavex-bg);
    border: 1px solid rgba(20, 20, 20, .06);
    border-radius: 18px;
    padding: 18px;
}

.info-card {
    border: 1px solid rgba(20, 20, 20, .08);
    border-radius: 18px;
    padding: 18px;
    background: #fff;
}

.contact-card {
    background: #fff;
    border: 1px solid rgba(20, 20, 20, .08);
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 18px 40px rgba(18, 18, 25, .06);
}

/* Inputs */
.form-control,
.form-select {
    border-radius: 14px;
    padding: 12px 12px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--kavex-dark), var(--kavex-mid));
    color: rgba(255, 255, 255, .85);
    padding: 18px 0;
}

footer a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Modal */
.modal-kavex {
    border-radius: 22px;
    overflow: hidden;
}

.modal-kavex__header {
    background: linear-gradient(135deg, var(--kavex-dark), var(--kavex-mid));
    color: #fff;
}