/* ========================================
   RASTI - ¿Qué es Rasti? Page
   ======================================== */

.what-rasti-page {
    background: #fffefb;
}

.what-rasti-formats-section {
    position: relative;
    padding: 3.3rem 0 4.2rem;
    background:
        radial-gradient(circle at 15% 18%, rgba(255, 255, 255, 0.64), transparent 18%),
        radial-gradient(circle at 85% 22%, rgba(255, 255, 255, 0.42), transparent 18%),
        linear-gradient(180deg, #fffaf0 0%, #fffdf8 100%);
    overflow: hidden;
}

.what-rasti-formats-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.what-rasti-formats-decor {
    position: absolute;
    opacity: 0.42;
    transition: opacity 0.3s ease;
}

.what-rasti-formats-section-inner {
    width: min(1180px, calc(100% - 5rem));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.what-rasti-section-label {
    display: inline-flex;
    margin-bottom: 0.95rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(203, 74, 137, 0.1);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.what-rasti-section-title {
    margin: 0;
    color: #1f2433;
    font-family: var(--font-body);
    font-size: clamp(1.95rem, 2.8vw, 2.6rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.03em;
    max-width: none;
    white-space: nowrap;
}

.what-rasti-section-text {
    margin: 0.85rem 0 0;
    color: #4b5163;
    font-size: 0.98rem;
    line-height: 1.62;
    max-width: none;
}

.what-rasti-formats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 380px));
    gap: 1rem;
    margin-top: 1.45rem;
    align-items: stretch;
    justify-content: center;
}

.what-rasti-format-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.82rem;
    align-items: start;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(203, 74, 137, 0.1);
    box-shadow: 0 12px 28px rgba(31, 36, 51, 0.06);
}

.what-rasti-format-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 50% 30%, rgba(255, 245, 216, 0.95), rgba(255, 249, 237, 0.9) 55%, rgba(255, 255, 255, 0.72) 100%);
    overflow: hidden;
}

.what-rasti-format-image {
    display: block;
    max-width: min(100%, 220px);
    max-height: 190px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter:
        drop-shadow(0 0 14px rgba(244, 204, 92, 0.22))
        drop-shadow(0 16px 24px rgba(235, 193, 76, 0.18));
}

.what-rasti-format-copy {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
    padding: 0 0.6rem 0.3rem;
}

.what-rasti-format-tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.32rem 0.68rem;
    border-radius: 999px;
    background: rgba(70, 190, 185, 0.12);
    color: #2e8782;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.what-rasti-format-title {
    margin: 0;
    color: #1f2433;
    font-size: clamp(1.2rem, 1.45vw, 1.55rem);
    line-height: 1.08;
}

.what-rasti-format-text {
    margin: 0;
    color: #4b5163;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 38ch;
}

.what-rasti-format-list {
    margin: 0.1rem 0 0;
    padding-left: 1.15rem;
    color: #2c3141;
    font-size: 0.86rem;
    line-height: 1.42;
}

.what-rasti-format-list li + li {
    margin-top: 0.18rem;
}

.what-rasti-types-section {
    position: relative;
    padding: 3.5rem 0 4.6rem;
    background:
        radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.52), transparent 18%),
        radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.34), transparent 18%),
        linear-gradient(180deg, #fffdf7 0%, #fff9ee 100%);
    overflow: hidden;
}

.what-rasti-types-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.what-rasti-types-decor {
    position: absolute;
    opacity: 0.34;
}

.what-rasti-types-section-inner {
    width: min(1180px, calc(100% - 5rem));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.what-rasti-types-title {
    max-width: none;
    white-space: nowrap;
}

.what-rasti-types-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 420px));
    gap: 0.85rem;
    margin-top: 1.2rem;
    justify-content: center;
    text-align: left;
}

.what-rasti-type-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(203, 74, 137, 0.1);
    box-shadow: 0 12px 26px rgba(31, 36, 51, 0.06);
}

.what-rasti-type-card:focus-visible {
    outline: 3px solid rgba(203, 74, 137, 0.32);
    outline-offset: 3px;
}

.what-rasti-type-card:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 420px);
}

.what-rasti-type-card:nth-child(1) {
    border-top: 4px solid #3ba39f;
}

.what-rasti-type-card:nth-child(2) {
    border-top: 4px solid #f0c93d;
}

.what-rasti-type-card:nth-child(3) {
    border-top: 4px solid #cb4a89;
}

.what-rasti-type-card:nth-child(4) {
    border-top: 4px solid #f2a37a;
}

.what-rasti-type-card:nth-child(5) {
    border-top: 4px solid #315ea8;
}

.what-rasti-type-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 180px;
    padding: 0.65rem 0.8rem 0.5rem;
    background: transparent;
}

.what-rasti-type-image {
    display: block;
    max-width: min(100%, 215px);
    max-height: 145px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.what-rasti-type-copy {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.82rem 0.9rem 0.95rem;
}

.what-rasti-type-title {
    margin: 0;
    color: #1f2433;
    font-size: clamp(1.16rem, 1.4vw, 1.42rem);
    line-height: 1.1;
}

.what-rasti-type-text {
    margin: 0;
    color: #454c5c;
    font-size: 0.94rem;
    line-height: 1.56;
}

.what-rasti-type-examples {
    margin: 0.1rem 0 0;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(31, 36, 51, 0.08);
    color: #5a6275;
    font-size: 0.9rem;
    line-height: 1.55;
    font-style: italic;
}

.what-rasti-types-section .decor-train-long {
    top: 10%;
    left: 4%;
    width: 126px;
    animation: whatRastiFloatTwo 9.5s ease-in-out infinite 0.5s;
}

.what-rasti-types-section .decor-castle {
    top: 13%;
    right: 5%;
    width: 88px;
    animation: whatRastiFloatOne 8s ease-in-out infinite 0.2s;
}

.what-rasti-types-section .decor-moon {
    top: 72%;
    left: 6%;
    width: 58px;
    animation: whatRastiFloatTwo 7.2s ease-in-out infinite 0.4s;
}

.what-rasti-types-section .decor-mushroom {
    bottom: 8%;
    right: 10%;
    width: 72px;
    animation: whatRastiFloatOne 7.8s ease-in-out infinite 0.3s;
}

.what-rasti-types-section .decor-star-3 {
    top: 18%;
    right: 39%;
    width: 36px;
    animation: whatRastiFloatThree 6.6s ease-in-out infinite 0.3s;
}

.what-rasti-types-section .decor-sparkle-1 {
    bottom: 16%;
    left: 43%;
    width: 28px;
    animation: whatRastiFloatOne 6.1s ease-in-out infinite 0.5s;
}

.what-rasti-formats-section .decor-train {
    top: 12%;
    left: 3%;
    width: 90px;
    animation: whatRastiFloatOne 9s ease-in-out infinite;
}

.what-rasti-formats-section .decor-castle {
    top: 74%;
    right: 7%;
    width: 82px;
    animation: whatRastiFloatTwo 8.5s ease-in-out infinite 0.4s;
}

.what-rasti-formats-section .decor-rabbit {
    top: 18%;
    right: 4%;
    width: 70px;
    animation: whatRastiFloatThree 7s ease-in-out infinite 0.2s;
}

.what-rasti-formats-section .decor-moon {
    top: 78%;
    left: 14%;
    width: 56px;
    animation: whatRastiFloatTwo 8s ease-in-out infinite 0.6s;
}

.what-rasti-formats-section .decor-star-1 {
    top: 48%;
    left: 2%;
    width: 42px;
    animation: whatRastiFloatOne 7.5s ease-in-out infinite;
}

.what-rasti-formats-section .decor-star-3 {
    top: 8%;
    right: 36%;
    width: 38px;
    animation: whatRastiFloatThree 6.5s ease-in-out infinite 0.5s;
}

.what-rasti-formats-section .decor-sparkle-1 {
    top: 22%;
    left: 74%;
    width: 28px;
    animation: whatRastiFloatThree 5.8s ease-in-out infinite 0.1s;
}

.what-rasti-formats-section .decor-sparkle-2 {
    top: 86%;
    left: 44%;
    width: 26px;
    animation: whatRastiFloatOne 6.3s ease-in-out infinite 0.3s;
}

.what-rasti-hero-section {
    position: relative;
    margin-top: calc(var(--navbar-height, 72px));
    padding-top: 2.2rem;
    padding-bottom: 4rem;
    min-height: 640px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.42), transparent 18%),
        radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.28), transparent 16%),
        radial-gradient(circle at top left, rgba(255, 222, 89, 0.1), transparent 22%),
        linear-gradient(180deg, #fffaf0 0%, #fff7e6 100%);
}

.what-rasti-hero-layout {
    position: relative;
    z-index: 3;
    width: min(1180px, calc(100% - 5rem));
    margin: 0 auto;
    padding-top: 0.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
    gap: 2.2rem;
    align-items: center;
}

.what-rasti-hero-copy-block {
    display: flex;
    flex-direction: column;
    gap: 0.72rem;
    max-width: 530px;
}

.what-rasti-hero-visual-block {
    position: relative;
    width: min(100%, 590px);
    min-height: 540px;
    justify-self: end;
    overflow: visible;
}

.what-rasti-hero-visual-block::before {
    content: none;
}

.what-rasti-visual-card {
    position: absolute;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    border: 0;
}

.what-rasti-visual-card-top {
    top: 1rem;
    right: 6rem;
    width: min(50%, 215px);
    transform: rotate(6deg);
    z-index: 1;
}

.what-rasti-visual-card-main {
    left: 4rem;
    top: 10rem;
    right: auto;
    bottom: auto;
    width: min(70%, 405px);
    transform: rotate(-3deg);
    z-index: 3;
}

.what-rasti-visual-card-slavia {
    left: -9rem;
    top: 2.4rem;
    right: auto;
    bottom: auto;
    width: min(80%, 1200px);
    z-index: 2;
    overflow: visible;
    border-radius: 0;
}

.what-rasti-visual-image {
    display: block;
    width: 100%;
    height: auto;
    filter:
        drop-shadow(0 0 12px rgba(244, 204, 92, 0.30))
        drop-shadow(0 0 24px rgba(247, 214, 120, 0.24))
        drop-shadow(0 14px 24px rgba(235, 193, 76, 0.22));
    transform: translateZ(0);
    pointer-events: none;
}

.what-rasti-visual-image-top {
    clip-path: inset(0 0 0 3px);
}

.what-rasti-visual-image-slavia {
    border-radius: 0;
    -webkit-mask-image: linear-gradient(
        180deg,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 72%,
        rgba(0, 0, 0, 0.78) 84%,
        rgba(0, 0, 0, 0.28) 94%,
        rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
        180deg,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 72%,
        rgba(0, 0, 0, 0.78) 84%,
        rgba(0, 0, 0, 0.28) 94%,
        rgba(0, 0, 0, 0) 100%
    );
}

.what-rasti-visual-card-slavia::after {
    content: none;
}

.what-rasti-hero-label {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.what-rasti-hero-title {
    margin: 0;
    color: var(--primary);
    font-family: var(--font-display);
    font-size: clamp(2.9rem, 4.2vw, 4.1rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    max-width: none;
    white-space: nowrap;
}

.what-rasti-hero-subtitle {
    margin: 0.3rem 0 0;
    color: #1f2433;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.12;
    max-width: 23ch;
}

.what-rasti-hero-text {
    margin: 0.45rem 0 0;
    color: #1f2433;
    font-size: 1rem;
    line-height: 1.56;
    max-width: 47ch;
}

.what-rasti-hero-proof {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: 0.25rem;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #63d7d4 0%, #46beb9 100%);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 20px rgba(70, 190, 185, 0.18);
}

.what-rasti-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.15rem;
}

.what-rasti-btn {
    gap: 0.5rem;
    text-decoration: none;
}

.what-rasti-btn svg {
    flex: 0 0 auto;
}
.what-rasti-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.what-rasti-decor {
    position: absolute;
    opacity: 0.72;
    transition: opacity 0.3s ease;
}

.decor-train {
    top: 74%;
    left: 4%;
    width: 105px;
    animation: whatRastiFloatOne 9s ease-in-out infinite;
}

.decor-train-long {
    top: 7%;
    left: 15%;
    width: 138px;
    animation: whatRastiFloatTwo 10s ease-in-out infinite 0.5s;
}

.decor-castle {
    top: 10%;
    right: 8%;
    width: 88px;
    animation: whatRastiFloatOne 8s ease-in-out infinite 1s;
}

.decor-rabbit {
    top: 68%;
    right: 6%;
    width: 76px;
    animation: whatRastiFloatThree 7s ease-in-out infinite 0.3s;
}

.decor-mushroom {
    top: 81%;
    left: 46%;
    width: 74px;
    animation: whatRastiFloatOne 8s ease-in-out infinite 0.8s;
}

.decor-rocket {
    top: 13%;
    right: 24%;
    width: 68px;
    animation: whatRastiFloatTwo 7.5s ease-in-out infinite 0.4s;
}

.decor-star-1 {
    top: 15%;
    left: 5%;
    width: 46px;
    animation: whatRastiFloatOne 8s ease-in-out infinite;
}

.decor-moon {
    top: 42%;
    left: 7%;
    width: 50px;
    animation: whatRastiFloatTwo 7s ease-in-out infinite 0.5s;
}

.decor-star-2 {
    top: 4%;
    left: 47%;
    width: 38px;
    animation: whatRastiFloatThree 6s ease-in-out infinite 0.2s;
}

.decor-star-3 {
    top: 46%;
    right: 8%;
    width: 42px;
    animation: whatRastiFloatOne 7s ease-in-out infinite 0.7s;
}

.decor-star-4 {
    top: 86%;
    left: 25%;
    width: 40px;
    animation: whatRastiFloatTwo 8s ease-in-out infinite 0.4s;
}

.decor-sparkle-1 {
    top: 24%;
    right: 22%;
    width: 32px;
    animation: whatRastiFloatThree 5s ease-in-out infinite;
}

.decor-sparkle-2 {
    top: 89%;
    right: 31%;
    width: 30px;
    animation: whatRastiFloatOne 6s ease-in-out infinite 0.3s;
}

.decor-sparkle-3 {
    top: 56%;
    left: 9%;
    width: 22px;
    animation: whatRastiFloatTwo 5.5s ease-in-out infinite 0.6s;
}

@keyframes whatRastiFloatOne {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(5deg); }
}

@keyframes whatRastiFloatTwo {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-3deg); }
}

@keyframes whatRastiFloatThree {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-6px) scale(1.05); }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .what-rasti-formats-grid {
        grid-template-columns: repeat(2, minmax(0, 420px));
    }

    /* Digital va solo en la primera fila, centrado */
    .what-rasti-formats-grid > article:first-child {
        grid-column: 1 / -1;
        max-width: 420px;
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .what-rasti-formats-section {
        padding: 3rem 0 4rem;
    }

    .what-rasti-formats-section-inner {
        width: min(100%, calc(100% - 2rem));
        text-align: center;
    }

    .what-rasti-formats-section-inner .what-rasti-section-label,
    .what-rasti-formats-section-inner .what-rasti-section-title,
    .what-rasti-formats-section-inner .what-rasti-section-text,
    .what-rasti-types-section-inner .what-rasti-section-label,
    .what-rasti-types-section-inner .what-rasti-section-title,
    .what-rasti-types-section-inner .what-rasti-section-text {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .what-rasti-section-title {
        max-width: 12ch;
        white-space: normal;
        text-wrap: balance;
    }

    .what-rasti-formats-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.2rem;
    }

    .what-rasti-format-card,
    .what-rasti-format-card-reverse {
        grid-template-columns: 1fr;
        gap: 1.15rem;
        padding: 1.2rem;
    }

    .what-rasti-format-visual {
        min-height: 240px;
    }

    .what-rasti-format-image {
        max-width: min(100%, 230px);
        max-height: 210px;
    }

    .what-rasti-types-section {
        padding: 3rem 0 4rem;
    }

    .what-rasti-types-section-inner {
        width: min(100%, calc(100% - 2rem));
        text-align: center;
    }

    .what-rasti-types-section-inner .what-rasti-section-title {
        max-width: 16ch;
    }

    .what-rasti-types-section-inner .what-rasti-section-text {
        max-width: 34ch;
    }

    .what-rasti-types-title {
        white-space: normal;
    }

    .what-rasti-types-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.2rem;
    }

    .what-rasti-type-card:nth-child(5) {
        grid-column: auto;
        width: auto;
    }

    .what-rasti-types-decor {
        opacity: 0.26;
    }

    .what-rasti-types-section .decor-train-long,
    .what-rasti-types-section .decor-castle,
    .what-rasti-types-section .decor-mushroom {
        width: 64px;
    }

    .what-rasti-types-section .decor-moon,
    .what-rasti-types-section .decor-star-3 {
        width: 30px;
    }

    .what-rasti-types-section .decor-sparkle-1 {
        width: 22px;
    }

    .what-rasti-formats-decor {
        opacity: 0.32;
    }

    .what-rasti-formats-section .decor-train,
    .what-rasti-formats-section .decor-castle,
    .what-rasti-formats-section .decor-rabbit {
        width: 62px;
    }

    .what-rasti-formats-section .decor-moon,
    .what-rasti-formats-section .decor-star-1,
    .what-rasti-formats-section .decor-star-3 {
        width: 30px;
    }

    .what-rasti-formats-section .decor-sparkle-1,
    .what-rasti-formats-section .decor-sparkle-2 {
        width: 20px;
    }

    .what-rasti-hero-section {
        margin-top: calc(var(--navbar-height, 72px) + 1rem + env(safe-area-inset-top));
        padding-top: 1.8rem;
        padding-bottom: 3rem;
        min-height: 420px;
    }

    .what-rasti-hero-layout {
        width: min(100%, calc(100% - 2rem));
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.95rem;
    }

    .what-rasti-hero-copy-block {
        display: contents;
    }

    .what-rasti-hero-section .what-rasti-decorations {
        display: none;
    }

    .decor-train,
    .decor-train-long,
    .decor-castle,
    .decor-rabbit,
    .decor-mushroom,
    .decor-rocket {
        width: 70%;
        max-width: 110px;
    }

    .decor-star-1,
    .decor-moon,
    .decor-star-2,
    .decor-star-3,
    .decor-star-4 {
        width: 32px;
    }

    .decor-sparkle-1,
    .decor-sparkle-2,
    .decor-sparkle-3 {
        width: 22px;
    }

    .what-rasti-hero-visual-block {
        order: 4;
        width: min(100%, 320px);
        min-height: 258px;
        margin: 0.05rem auto 0.4rem;
        justify-self: auto;
    }

    .what-rasti-visual-card-top {
        top: 30px;
        right: 50px;
        width: min(32%, 98px);
        transform: rotate(5deg);
    }

    .what-rasti-visual-card-main {
        left: 86px;
        top: 104px;
        width: min(72%, 228px);
        transform: rotate(-3deg);
    }

    .what-rasti-visual-card-slavia {
        left: 42px;
        top: 26px;
        width: min(41%, 132px);
    }

    .what-rasti-hero-subtitle {
        order: 2;
        max-width: 13ch;
        margin-top: 0.1rem;
        text-align: center;
        font-size: clamp(1.55rem, 6.2vw, 2.1rem);
    }

    .what-rasti-hero-title {
        order: 1;
        max-width: none;
        margin: 0;
        text-align: center;
        font-size: clamp(2.4rem, 9.4vw, 3.2rem);
        white-space: nowrap;
    }

    .what-rasti-hero-text {
        order: 3;
        max-width: 34ch;
        margin-top: 0.1rem;
        text-align: center;
        font-size: 0.98rem;
    }

    .what-rasti-hero-proof {
        order: 5;
        align-self: center;
        margin-top: 0;
    }

    .what-rasti-hero-actions {
        order: 6;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-top: 0;
    }

    .what-rasti-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .what-rasti-formats-section {
        padding: 2.6rem 0 3.5rem;
    }

    .what-rasti-formats-section-inner {
        width: min(100%, calc(100% - 1.4rem));
        text-align: center;
    }

    .what-rasti-section-title {
        font-size: 1.75rem;
        white-space: normal;
        text-wrap: balance;
    }

    .what-rasti-section-text {
        font-size: 0.94rem;
        max-width: 31ch;
    }

    .what-rasti-format-card,
    .what-rasti-format-card-reverse {
        border-radius: 24px;
        padding: 1rem;
    }

    .what-rasti-format-visual {
        min-height: 200px;
        border-radius: 18px;
    }

    .what-rasti-format-image {
        max-width: min(100%, 198px);
        max-height: 185px;
    }

    .what-rasti-format-title {
        font-size: 1.35rem;
    }

    .what-rasti-format-text,
    .what-rasti-format-list {
        font-size: 0.92rem;
    }

    .what-rasti-types-section {
        padding: 2.7rem 0 3.5rem;
    }

    .what-rasti-types-section-inner {
        width: min(100%, calc(100% - 1.4rem));
        text-align: center;
    }

    .what-rasti-types-section-inner .what-rasti-section-title {
        max-width: 14ch;
    }

    .what-rasti-types-section-inner .what-rasti-section-text {
        max-width: 29ch;
    }

    .what-rasti-type-card {
        border-radius: 22px;
    }

    .what-rasti-types-title {
        white-space: normal;
    }

    .what-rasti-type-copy {
        padding: 0.95rem 0.95rem 1.05rem;
    }

    .what-rasti-type-title {
        font-size: 1.24rem;
    }

    .what-rasti-type-text,
    .what-rasti-type-examples {
        font-size: 0.91rem;
    }

    .what-rasti-types-decorations {
        display: none;
    }

    .what-rasti-formats-decorations {
        display: none;
    }

    .what-rasti-hero-section {
        margin-top: calc(var(--navbar-height, 72px) + 0.85rem + env(safe-area-inset-top));
        padding-top: 1.5rem;
        min-height: 320px;
    }

    .what-rasti-hero-layout {
        width: min(100%, calc(100% - 1.4rem));
        gap: 0.85rem;
    }

    .what-rasti-hero-visual-block {
        width: min(100%, 296px);
        min-height: 242px;
        margin: 0 auto 0.35rem;
    }

    .what-rasti-visual-card-top {
        top: -1rem;
        right: 1rem;
        width: min(40%, 120px);
    }

    .what-rasti-visual-card-main {
        left: 5rem;
        top: 2rem;
        width: min(61%, 210px);
    }

    .what-rasti-visual-card-slavia {
        left: 0rem;
        top: -6px;
        width: min(65%, 250px);
    }

    .what-rasti-hero-title {
        max-width: none;
        font-size: clamp(2rem, 9vw, 2.7rem);
        white-space: nowrap;
    }

    .what-rasti-hero-subtitle {
        max-width: 12ch;
        font-size: 1.35rem;
    }

    .what-rasti-hero-text {
        max-width: 30ch;
        font-size: 0.94rem;
        line-height: 1.5;
    }

    .what-rasti-hero-proof {
        padding: 0.46rem 0.82rem;
        font-size: 0.76rem;
    }
}

/* Guarantee badge placement override for Qué es Rasti page */
.guarantee-trust-strip--que-rasti {
    margin-top: 0;
    padding: 1rem 0 0.5rem;
}

@media (max-width: 768px) {
    .guarantee-trust-strip--que-rasti {
        padding: 0.75rem 1rem 0;
    }
}
