/* Sección «Elige tu Kit» (tema hijo) — prefijo exclusivo .rys-kit para no chocar con Elementor ni el tema. */
.rys-kit {
    --rys-kit-bg: #141416;
    --rys-kit-lime: #d8f63c;
    --rys-kit-blue: #2550ff;
    --rys-kit-ink: #111114;
    --rys-kit-muted: #5b5d66;
    --rys-kit-line: #e6e6ea;
    background: var(--rys-kit-bg);
    color: #ffffff;
    font-family: 'Chivo', 'Helvetica Neue', Arial, sans-serif;
    padding: clamp(40px, 6vw, 88px) 0;
    box-sizing: border-box;
    overflow: hidden;
}

.rys-kit *,
.rys-kit *::before,
.rys-kit *::after { box-sizing: border-box; }

.rys-kit__inner {
    width: 100%;
    max-width: 1310px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px);
}

/* ---------- Encabezado ---------- */
.rys-kit__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(32px, 5vw, 64px);
}

.rys-kit__heading { flex: 1 1 auto; min-width: 0; }

.rys-kit .rys-kit__eyebrow {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rys-kit-lime);
}

.rys-kit .rys-kit__title {
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: clamp(32px, 5.4vw, 72px);
    font-weight: 900;
    font-style: italic;
    line-height: 0.98;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #ffffff;
}

.rys-kit__title > span { display: block; }
.rys-kit .rys-kit__title-accent { color: var(--rys-kit-blue); }

.rys-kit .rys-kit__subtitle {
    margin: clamp(16px, 2vw, 28px) 0 0;
    max-width: 640px;
    font-size: clamp(13px, 1.1vw, 15px);
    line-height: 1.6;
    color: #c9cad1;
}

/* Alto fijo (no aspect-ratio) y contenido en absoluto: evita que Safari/navegadores móviles agranden la imagen en cada relayout. */
.rys-kit__mascot {
    --rys-kit-mascot: clamp(120px, 18vw, 230px);
    flex: 0 0 auto;
    width: var(--rys-kit-mascot);
    height: var(--rys-kit-mascot);
    position: relative;
}

/* Especificidad .rys-kit .x (0,2,0) > .elementor img (0,1,1): evita que Elementor/el tema fuercen height:auto. */
.rys-kit .rys-kit__mascot-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* ---------- Tarjetas ---------- */
.rys-kit__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.rys-kit__card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    color: var(--rys-kit-ink);
    border: 1px solid var(--rys-kit-line);
    border-radius: 2px;
    padding: clamp(16px, 1.8vw, 24px);
}

.rys-kit__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 6px 22px 6px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
    transform: rotate(-2deg);
    clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.rys-kit__card--lime .rys-kit__tag { background: var(--rys-kit-lime); color: var(--rys-kit-ink); }
.rys-kit__card--blue .rys-kit__tag { background: var(--rys-kit-blue); color: #ffffff; }

/* 16:9 con padding-top: el alto depende solo del ancho, nunca del contenido (sin bucles de relayout en móvil). */
.rys-kit__media {
    position: relative;
    overflow: hidden;
    display: block;
    height: 0;
    margin: 12px 0 0;
    padding: 56.25% 0 0;
    border-bottom: 1px solid var(--rys-kit-line);
}

.rys-kit .rys-kit__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.rys-kit__num {
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 10px;
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    color: #4a4c55;
}

.rys-kit__logo {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 10px;
    width: clamp(28px, 3vw, 38px);
    height: clamp(28px, 3vw, 38px);
}

.rys-kit .rys-kit__logo-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Hueco reservado mientras no hay imagen. */
.rys-kit__ph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, #f4f4f6 0 10px, #ececf0 10px 20px);
    border-radius: 2px;
}

.rys-kit__mascot .rys-kit__ph {
    background: repeating-linear-gradient(45deg, #1f1f23 0 10px, #26262b 10px 20px);
    border-radius: 50%;
}

.rys-kit__ph-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a8c96;
}

.rys-kit__body {
    flex: 1 1 auto;
    padding-top: clamp(20px, 2.4vw, 32px);
}

.rys-kit .rys-kit__name {
    margin: 0 0 14px;
    padding: 0;
    font-family: inherit;
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 900;
    font-style: italic;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--rys-kit-ink);
}

.rys-kit .rys-kit__text {
    margin: 0 0 clamp(20px, 2.4vw, 32px);
    font-size: 13px;
    line-height: 1.6;
    color: var(--rys-kit-muted);
}

.rys-kit .rys-kit__includes {
    margin: 0 0 12px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rys-kit-muted);
}

.rys-kit .rys-kit__list {
    margin: 0 0 clamp(24px, 3vw, 36px);
    padding: 0;
    list-style: none;
}

.rys-kit .rys-kit__list li {
    position: relative;
    margin: 0 0 9px;
    padding-left: 24px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--rys-kit-ink);
}

.rys-kit .rys-kit__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 12px;
    height: 1px;
    background: #9a9ca5;
}

.rys-kit .rys-kit__list li:first-child::before,
.rys-kit .rys-kit__list li:last-child::before { background: var(--rys-kit-blue); }

/* ---------- Botón ---------- */
.rys-kit .rys-kit__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 0 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.rys-kit .rys-kit__card--lime .rys-kit__btn { background: var(--rys-kit-lime); color: var(--rys-kit-ink); }
.rys-kit .rys-kit__card--blue .rys-kit__btn { background: var(--rys-kit-blue); color: #ffffff; }

.rys-kit .rys-kit__btn:hover,
.rys-kit .rys-kit__btn:focus-visible { filter: brightness(0.94); }

.rys-kit .rys-kit__btn:hover .rys-kit__arrow { transform: translateX(4px); }
.rys-kit__arrow { flex: 0 0 auto; transition: transform 0.2s ease; }

.rys-kit .rys-kit__btn:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.rys-kit .screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* ---------- Responsivo ---------- */
@media (max-width: 767px) {
    .rys-kit__grid { grid-template-columns: 1fr; }
    .rys-kit__header { flex-direction: column-reverse; }
    .rys-kit__mascot { --rys-kit-mascot: 120px; align-self: flex-end; display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .rys-kit .rys-kit__btn,
    .rys-kit__arrow { transition: none; }
}
