* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SoDo Sans', Helvetica, Arial, sans-serif;
    color: #1e3932;
}

#navbar {
    height: 100px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 40px;
    position: sticky;
    top: 0;
    background: white;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    border: none;
    background-color: transparent;
}

.logo img {
    height: 50px;
}

.nav-options a {
    text-decoration: none;
    color: #000;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.1em;
    margin-right: 20px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.location {
    font-weight: 600;
    font-size: 14px;
    margin-right: 20px;
}

button {
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

/* Estilo base para que el enlace se comporte como un botón */
.btn-outline, .btn-black {
    display: inline-flex;    /* Crucial: permite que respete el padding y ancho */
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    border-radius: 50px;     /* Hace que sean ovalados */
    font-weight: 700;
    text-decoration: none;   /* Quita el subrayado azul */
    font-size: 14px;
    transition: background-color 0.2s;
    cursor: pointer;
}

/* El botón blanco con borde negro */
.btn-outline {
    border: 1px solid black;
    background-color: white;
    color: black;
}

/* El botón negro sólido */
.btn-black {
    border: 1px solid black;
    background-color: black;
    color: white;
}

/* Evita que los colores cambien después de hacer clic */
.btn-outline:visited { color: black; }
.btn-black:visited { color: white; }

/* Efecto hover opcional para que se sienta vivo */
.btn-outline:hover {
    background-color: #f2f2f2;
}

/* --- RESET Y ESTILO BASE PARA ENLACES-BOTÓN --- */
/* --- ESTILO CORREGIDO PARA QUE NO SE EXPANDAN --- */
.btn-outline-green, .btn-outline-white {
    display: inline-flex;    /* Cambiar a inline-flex evita que ocupen el 100% */
    align-items: center;
    justify-content: center;
    padding: 7px 20px;       /* El padding da el aire interno sin estirar de más */
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    width: auto;             /* Forzamos a que el ancho sea automático según el contenido */
    margin: 0 auto;
    margin-bottom: 3rem;          /* Centra el botón si el padre es un flex-column */
}

.btn-outline-green {
    border: 1px solid #00754A;
    color: #00754A;
    background-color: transparent;
}

.btn-outline-white {
    border: 1px solid white;
    color: white;
    background-color: transparent;
}

/* --- CLASES visited (Importante para que no cambien de color) --- */
.btn-outline-green:visited { color: #00754A; }
.btn-outline-white:visited { color: white; }

/* --- EFECTO HOVER (Opcional, pero recomendado) --- */
.btn-outline-green:hover {
    background-color: rgba(0, 117, 74, 0.05); /* Tinte verde suave */
}
.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Tinte blanco suave */
}

.content {
    width: 100%;
}

.card {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.row-reverse {
    flex-direction: row-reverse;
}

.card-image {
    flex: 1;
    display: flex;
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
}

.card-text {
    flex: 1;
    text-align: center;
    padding: 40px;
}

.card-text h1 {
    font-size: 48px;
    margin-bottom: 25px;
}

.card-text p {
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.bg-cream { background-color: #faf3e3; }
.bg-lavender { background-color: #d0d2aa; }
.bg-green-bright { background-color: #037748; }
.bg-green-dark { background-color: #2b452a; }
.bg-blue-light { background-color: #037748; }

.text-white { color: white; }
.text-green { color: #1e3932; }

.bottom-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.bottom-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.bottom-card img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
}

.bottom-card h2,
.bottom-card p,
.bottom-card button {
    margin-left: 40px;
    margin-right: 40px;
    text-align: center;
}

.bottom-card h2 {
    font-size: 28px;
    margin-top: 20px;
    margin-bottom: 15px;
}

.bottom-card p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
    flex-grow: 1;
}

.bottom-card button {
    margin-bottom: 40px;
    align-self: center;
}

.footer-simple {
    padding: 40px;
    border-top: 1px solid #e0e0e0;
    margin-top: 50px;
}

.footer-links {
    display: flex;
    gap: 100px;
}

.footer-links h3 {
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-links p {
    margin-bottom: 15px;
    color: rgba(0,0,0,0.56);
    font-size: 14px;
}

.content-menu {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

.menu-header p {
    font-weight: 700;
    margin-bottom: 5px;
}

.menu-header h1 {
    font-size: 28px;
    margin-bottom: 40px;
}

.menu-section {
    margin-bottom: 60px;
}

.menu-section h2 {
    font-size: 18px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.circle-img {
    width: 150px;
    height: 150px;
    background-color: #1e3932;
    border-radius: 50%;
    margin-bottom: 15px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-img img {
    width: 80%;
    height: auto;
}

.product-item h3 {
    font-size: 16px;
    font-weight: 700;
}

/* --- LAYOUT PRINCIPAL DE REWARDS --- */
.rewards-container {
    display: grid;
    /* Define dos columnas: una de ancho fijo (400px) y otra flexible */
    grid-template-columns: 475px 1fr;
    /* La altura total es el viewport completo menos la altura del navbar */
    min-height: calc(100vh - 100px); 
    width: 100%;
}

/* --- ESTILOS DEL PANEL VERDE STICKY (IZQUIERDO) --- */
.rewards-sticky-panel {
    /* Esta es la clave: se pega al tope (justo debajo del navbar) */
    position: sticky;
    top: 100px; /* Misma altura que tu navbar */
    
    /* Ocupa toda la altura disponible en la pantalla */
    height: calc(100vh - 100px);
    
    /* Centrado interno del contenido */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Corta la mano del teléfono si sobresale */
}

.sticky-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px;
    width: 100%;
}

.rewards-logo-main {
    max-width: 180px;
    margin-bottom: 30px;
}

.sticky-content h1 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
}

.sticky-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

/* Imagen de la mano con el teléfono (posicionada abajo) */
.phone-hand-img {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 250px;
}

/* --- ESTILOS DE LA SECCIÓN BLANCA (DERECHA) --- */
.rewards-scroll-content {
    /* Esta sección no necesita estilos especiales de posicionamiento, 
       se comportará como scrollable por defecto dentro del grid principal. */
    border-left: 1px solid #e0e0e0; /* Separación sutil */
}

/* --- CLASES DE COLOR AUXILIARES (POR SI NO LAS TIENES) --- */
.bg-green-dark { background-color: #1e3932; }
.text-white { color: white; }
.bg-white { background-color: white; }

/* Nuevo estilo de botón específico para rewards */
.btn-white-filled {
    padding: 7px 16px;
    border-radius: 50px;
    border: 1px solid white;
    background: white;
    color: #1e3932;
    font-weight: 600;
}

.rewards-scroll-inner {
    padding: 60px 40px;
    max-width: 900px; /* Centra el contenido blanco para que no se estire infinito */
    margin: 0 auto;
}

.rewards-white-header {
    text-align: center;
    margin-bottom: 50px;
}

.rewards-white-header h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    color: #1e3932;
}

/* Cuadrícula Responsiva */
.benefits-grid {
    display: grid;
    /* auto-fit llena el espacio; minmax evita que los iconos se hagan minúsculos */
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.benefit-item img {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
}

.benefit-item p {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

/* Sección Gris de Estrellas */
.stars-info {
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 60px;
}

.bg-light-gray { background-color: #f7f7f7; }

.stars-conversion {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-top: 30px;
}

/* --- CONTROL DE EXPANSIÓN DE IMÁGENES EN CONVERSIÓN --- */

/* Contenedor principal de la fila de conversión */
.conversion-row {
    display: flex;
    flex-direction: column;
    align-items: center; /* Alinea verticalmente la imagen y el texto al centro */
    gap: 15px; /* Espacio entre la imagen y el texto */
    max-width: 600px; /* Evita que la fila se estire demasiado horizontalmente */
    margin: 0 auto; /* Centra la fila dentro de su contenedor padre */
    text-align: left; /* Alinea el texto a la izquierda dentro de la fila */
}

/* Control directo sobre la imagen dentro de la fila de conversión */
.conversion-row img {
    /* Limitamos la expansión fijando una altura máxima */
    max-height: 50px; /* Ajusta este valor según el tamaño de tus placeholders (ej: 40px-60px) */
    width: auto; /* Mantiene la proporción de aspecto de la imagen original */
    
    /* Aseguramos que la imagen no se estire más allá de su tamaño intrínseco */
    object-fit: contain; 
    
    flex-shrink: 0; /* Evita que la imagen se aplaste si el texto es muy largo */
}

/* Estilos para el texto al lado de la imagen */
.conversion-row span {
    font-size: 16px; /* Tamaño de fuente responsivo y legible */
    line-height: 1.4; /* Mejora la legibilidad */
    font-weight: 600; /* Peso de fuente similar al original */
    color: #1e3932; /* Verde oscuro Starbucks */
}

/* Ajustes responsivos para pantallas más pequeñas (opcional pero recomendado) */
@media (max-width: 600px) {
    .conversion-row {
        flex-direction: column; /* Apila imagen y texto verticalmente */
        text-align: center; /* Centra el texto */
        gap: 10px;
    }
    
    .conversion-row img {
        max-height: 40px; /* Imagen un poco más pequeña en móvil */
    }
}

.how-it-works {
    text-align: center;
    padding: 60px 40px 100px;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Un poco más de espacio entre pasos */
    align-items: flex-start;
    max-width: 650px; /* Ampliado para dar aire a la imagen y texto */
    margin: 40px auto 0;
}

.step {
    display: flex;
    align-items: center;
    gap: 25px;
    text-align: left;
    width: 100%;
}

.step-num {
    background: #1e3932;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* --- NUEVAS REGLAS PARA DIMENSIONAR IMÁGENES --- */

.step-image-container {
    flex-shrink: 0;
    width: 100px;  /* Controla el ancho del espacio de la imagen */
    height: 100px; /* Controla el alto del espacio */
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Esto evita que la imagen se estire o pierda proporción */
}

.step-text-container p {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #212121;
    margin: 0;
}

/* --- ESTILOS ESPECÍFICOS DE LOGIN --- */

.login-container {
    display: grid;
    grid-template-columns: 5fr 7fr; /* Proporción similar a la original */
    min-height: calc(100vh - 100px);
}

.login-aside {
    display: flex;
    align-items: start;
    justify-content: center;
    padding-top: 10rem;
    padding-left: 30px;
}

.aside-content h1 {
    font-size: 40px;
    font-weight: 800;
}

.login-form-section {
    padding: 60px 0;
    display: flex;
    justify-content: center;
}

.login-box {
    width: 100%;
    max-width: 500px;
    padding: 0 20px;
}

/* Estilos de Formulario */
.stb-form {
    background: transparent;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 14px;
}

.form-group input {
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

.forgot-password {
    color: #00754a;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 30px;
    text-decoration: underline;
}

.form-actions {
    text-align: right;
}

.btn-lg {
    padding: 12px 30px;
    font-size: 18px;
}

/* Sección Promo Blanca */
.login-promo {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.promo-tag {
    background-color: #1e3932;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.promo-content {
    padding: 30px;
    text-align: center;
}

.promo-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.promo-flex {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 20px;
    gap: 20px;
}

.promo-img {
    max-width: 150px;
    height: auto;
}

/* Responsividad */
@media (max-width: 992px) {
    .login-container {
        grid-template-columns: 1fr;
    }
    .login-aside {
        min-height: 200px;
        padding: 40px;
    }
}

/* --- ESTILOS DE REGISTRO --- */

.form-instruction {
    font-size: 14px;
    margin-bottom: 5px;
}

.form-sub-label {
    display: block;
    font-size: 13px;
    color: rgba(0,0,0,0.6);
    margin-bottom: 20px;
}

.form-help {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.date-selectors {
    display: flex;
    gap: 15px;
}

.date-selectors select {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    flex: 1;
}

.form-divider {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 30px 0;
}

/* Radio y Checkbox Custom */
.radio-label, .check-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    cursor: pointer;
}

.radio-label input, .check-label input {
    margin-top: 3px;
    accent-color: #00754a; /* Pone los checks verdes en navegadores modernos */
}

/* Reutilizamos el botón LG pero aseguramos que sea un elemento A */
a.btn-lg {
    display: inline-flex;
    text-decoration: none;
}