:root {
    --primary-color: #fd5108;
    --icon-bg: #ffe2d5;
    --text-color: #000000;
    --bg-white: #ffffff;
    --bg-gradient-start: #fff0eb;
    --bg-gradient-end: #ffffff;
    --indicator-empty: #e0e0e0;
    --font-primary: 'Merriweather', serif;
    --font-secondary: Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

.app-container {
    height: 100vh;
    width: auto;
    aspect-ratio: 9/16;
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 80px rgba(0,0,0,0.8);
}

.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    opacity: 0;
}

.screen.active {
    display: flex;
    opacity: 1;
}

.content-wrapper {
    padding: clamp(15px, 2.5vh, 60px) clamp(20px, 4vw, 80px);
    display: flex;
    flex-direction: column;
    height: 100%;
    z-index: 2;
}

.screen-bg-1 { background: var(--bg-white); }

.hero-image {
    height: 40%;
    width: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 60%, rgba(255,255,255,1) 100%), url('../img/fondo-bosque.png') center top / cover no-repeat;
}

.screen-bg-gradient {
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
}

.title, .subtitle, .title-thanks {
    font-family: var(--font-primary);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: clamp(8px, 1.5vh, 30px);
}

.title { font-size: clamp(40px, 3.2vh, 100px); margin-top: 10px; }
.subtitle { font-size: clamp(24px, 2.8vh, 80px); }
.title-thanks { font-size: clamp(32px, 3.5vh, 120px); text-align: center; margin-top: 2vh; }

.description, .instruction, .description-thanks {
    font-size: clamp(16px, 1.5vh, 45px);
    line-height: 1.4;
    margin-bottom: clamp(15px, 2.5vh, 60px);
}

.logo { width: clamp(100px, 18vh, 350px); margin: 0 auto clamp(15px, 4vh, 100px) auto; }
.logo-small { margin-top: clamp(10px, 3vh, 80px); width: clamp(90px, 10vh, 250px); margin-bottom: clamp(10px, 2vh, 50px); }

.options-container {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.2vh, 30px); 
    margin-bottom: clamp(15px, 2.5vh, 80px);
}

.option-card {
    background: var(--bg-white);
    border-radius: clamp(12px, 1.8vh, 40px);
    padding: clamp(12px, 1.8vh, 40px); 
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.5vh, 30px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.card-header { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.icon-box {
    background-color: var(--icon-bg);
    width: clamp(35px, 4.5vh, 120px);
    height: clamp(35px, 4.5vh, 120px);
    border-radius: clamp(8px, 1vh, 30px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.icon-box img { width: 60%; height: 60%; object-fit: contain; }

.radio-indicator {
    width: clamp(18px, 2vh, 50px);
    height: clamp(18px, 2vh, 50px);
    border-radius: 50%;
    background-color: var(--indicator-empty);
    transition: background-color 0.2s;
}

.card-body p { font-size: clamp(13px, 1.4vh, 38px); line-height: 1.25; }

.option-card.selected { border-color: var(--primary-color); transform: translateY(-3px) scale(1.01); }
.option-card.selected .radio-indicator { background-color: var(--primary-color); }

.progress-container { margin-top: auto; margin-bottom: clamp(15px, 2.5vh, 60px); }
.progress-text { display: flex; justify-content: space-between; font-size: clamp(14px, 1.6vh, 45px); margin-bottom: 8px; }
.progress-percent { color: var(--primary-color); font-weight: bold; font-family: var(--font-primary); }
.progress-bar { width: 100%; height: clamp(6px, 0.8vh, 25px); background-color: var(--indicator-empty); border-radius: 50px; overflow: hidden; }
.progress-fill { width: 100%; height: 100%; background-color: var(--primary-color); }

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(16px, 2vh, 60px);
    border: none;
    border-radius: 500px;
    padding: clamp(12px, 1.5vh, 45px) clamp(24px, 3vh, 90px);
    cursor: pointer;
    margin-top: 10px; 
    margin-bottom: clamp(15px, 3vh, 80px);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(253, 81, 8, 0.3);
    transition: transform 0.2s;
}

.center-content .content-wrapper { align-items: center; }
.badge-container { position: relative; width: clamp(100px, 12vh, 400px); margin: 0 auto; }
.badge-main { width: 100%; }
.badge-sub { position: absolute; bottom: -12px; right: -12px; width: 40%; }

/* NUEVA ESTRUCTURA RESULT-CARD DOS COLUMNAS */
.result-card {
    background: var(--bg-white);
    border-radius: clamp(18px, 2.2vh, 65px);
    padding: clamp(20px, 3vh, 100px) clamp(20px, 4vw, 80px);
    display: flex;
    justify-content: space-between; /* Divide en 2 columnas */
    align-items: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    margin: auto 0;
    width: 95%;
}

.result-col-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1; /* Ocupa el 50% */
    gap: clamp(5px, 1vh, 20px);
}

.result-col-right {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1; /* Ocupa el otro 50% */
}

.result-number { 
    font-family: var(--font-primary); 
    font-size: clamp(60px, 9vh, 280px); 
    font-weight: 900; 
    color: var(--primary-color); 
    line-height: 0.9; 
}

.result-text { 
    font-size: clamp(16px, 2.2vh, 70px); 
    line-height: 1.2; 
    text-align: center;
}

.signature { 
    width: clamp(100px, 12vh, 350px); 
    object-fit: contain; 
}

/* ANIMACIONES */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.screen.active .content-wrapper > * { animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) both; }
.screen.active .title { animation-delay: 0.1s; }
.screen.active .instruction { animation-delay: 0.2s; }
.screen.active .options-container { animation-delay: 0.3s; }
.screen.active .btn-primary { animation-delay: 0.4s; }