:root {
    --orange: #f3a002;
    --outline-color: #333333;
    --footer-bg: #e6e6fa;
    --card-bg: #ECE8EB;
}

body {
    font-family: "Raleway", sans-serif;
    margin: 0;
    background-color: black;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.lang-btn {
    border: none;
    cursor: pointer;
    font: inherit;
    background: inherit;
    color: inherit;
    padding: 0 20px;
}

/* Banner de interés */
.interest-banner {
    margin: 40px auto 0 auto;
    margin-bottom: 60px;
    padding: 20px 30px;
    text-align: center;
    border: 1px solid var(--outline-color);
    border-radius: 12px;
    background: #f8f8f8;

    width: fit-content;      /* solo ocupa el tamaño del contenido */
    max-width: 80%;          /* evita que se haga enorme en móvil */
}

.interest-banner p {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.interest-banner p {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.interest-banner a {
    color: inherit;
    text-decoration: underline;
}

.main-card {
    background: white;
    width: 110vw;
    height: 110vh;
    border-top-left-radius: 120px;
    position: fixed;
    top: 10px;
    left: 10px;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    z-index: 1;
}

.main-card-inside {
    background: var(--card-bg);
    width: calc(100vw - 62px);
    height: calc(100vh - 50px);
    border-top-left-radius: 92px;
    position: absolute;
    top: 50px;
    left: 50px;
    border-left: 1px solid var(--outline-color);
    border-top: 1px solid var(--outline-color);
    border-right: none;
    border-bottom: none;
    overflow-y: scroll;
    overflow-x: hidden;
    box-shadow: -10px -10px 30px rgba(0, 0, 0, 0.1);
    scrollbar-width: thin;
    scrollbar-color: var(--orange) transparent;
    z-index: 5;
}

.main-card-inside::-webkit-scrollbar { width: 12px; }
.main-card-inside::-webkit-scrollbar-track { background: transparent; }
.main-card-inside::-webkit-scrollbar-thumb {
    background-color: var(--orange);
    border-radius: 12px;
    min-height: 60px;
}

.step-header-wrapper {
    position: absolute;
    top: 0;
    right: 10vw;
    z-index: 2;
    filter: drop-shadow(-0.5px 0px 0px rgba(0, 0, 0, 1));
}

.step-header {
    background: white;
    height: 50px;
    width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 10% 100%, 0% 50%);
}

.header-left-wrapper {
    position: absolute;
    top: 0;
    left: 120px;
    z-index: 0;
    height: 50px;
    width: fit-content;
    align-items: center;
}

.header-down-wrapper {
    position: absolute;
    left: 0;
    bottom: 15vh;
    z-index: 2;
    height: fit-content;
    width: 50px;
}

.header-text {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    height: 100%;
}

.container {
    display: grid;
    grid-template-columns: 1fr 5fr;
    position: relative;
    z-index: 2;
}

.left-panel { position: relative; padding: 0px; overflow: visible; }

.logo-row {
    display: flex;
    margin-bottom: 20px;
    position: sticky;
    overflow: visible;
}

.logo-circle {
    position: relative;
    display: flex;
    justify-content: center;
    width: 180px;
    height: 180px;
    transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.logo-inside {
    position: absolute;
    width: 94px;
    top: 50%;
    left: 50%;
    margin-top: -47px;
    margin-left: -47px;
    transform-origin: center center;
    transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.hero {
    padding: 0 40px 0 0;
    display: grid;
    grid-template-areas:
        "video video image"
        "content content image";
    grid-template-columns: 1fr 4fr 3fr;
    gap: 20px;
    align-items: center;
    z-index: 10;
}

.hero div.video { grid-area: video; }
.hero div.content { grid-area: content; text-align: center; }
.hero div.image { grid-area: image; }

.right-panel {
    padding: 40px 40px 40px 40px;
    overflow-y: auto;
    overflow-x: clip;
    display: flex;
    flex-direction: column;
}

h1 {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: right;
    margin-bottom: 30px;
}

.product-image img {
    width: 100%;
    max-width: 428px;
    padding: 10px;
    overflow: hidden;
}

.content-wrapper {
    position: relative;
    min-height: 100%;
}

.floating-side-image-wrapper {
    position: absolute;
    right: -4vw;
    top: 10vh;
    bottom: 0;
    width: 20vw;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.floating-side-image {
    display: block;
    width: 100%;
    height: auto;
    transform-origin: top right;
    opacity: 1;
}

.steps-container {
    display: flex;
    margin-right: 300px;
    filter: drop-shadow(1px 0px 0px rgba(0, 0, 0, 1));
}

.step {
    flex: 1;
    background: var(--footer-bg);
    border: 1px solid var(--outline-color);
    padding: 20px 20px 20px 80px;
    font-size: 1rem;
    text-align: center;
    align-content: center;
    clip-path: polygon(0% 0%, 80% 0%, 100% 50%, 80% 100%, 0% 100%, 20% 50%);
    margin-right: -6.5%;
    min-height: 150px;
}

.step:first-child {
    clip-path: polygon(0% 0%, 76% 0%, 100% 50%, 76% 100%, 0% 100%);
    padding: 20px;
}

.step:last-child {
    clip-path: polygon(0% 0%, 80% 0%, 100% 50%, 80% 100%, 0% 100%, 22% 50%);
    padding: 20px 20px 20px 50px;
}

@media (max-width: 768px) {
    .container { grid-template-columns: 1fr; }
    .left-panel { border-right: none; border-bottom: none; }
    .hero {
        grid-template-columns: 1fr;
        grid-template-areas: "video" "content" "image";
        padding: 0;
    }
    .steps-container { flex-direction: column; margin-right: 0px; }
    .step { clip-path: none !important; margin-right: 0; margin-bottom: 5px; }
    .right-panel { padding-right: 40px; overflow-x: auto; }
    .floating-side-image-wrapper {
        top: 60vh;
        width: 45vw;
        right: -9vw;
    }
}
