/* RECLAMAIA PREMIUM CLEAN STYLE V3 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Lato:wght@400;700&display=swap');

:root {
    --navy: #0A192F;    /* Azul muy oscuro, casi negro (Seriedad) */
    --gold: #D4AF37;    /* Dorado real (Dinero/Éxito) */
    --white: #ffffff;
    --gray-light: #f4f6f8;
    --text: #333333;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--white);
    color: var(--text);
    line-height: 1.6;
}

/* HEADER LIMPIO */
header {
    background: var(--white);
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--navy);
    font-weight: 700;
}
.logo span { color: var(--gold); }

/* HERO SECTION - BLANCO Y LIMPIO */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; /* Alineación arriba */
    justify-content: center;
    padding: 4rem 5%;
    gap: 4rem;
    background: radial-gradient(circle at top right, #f9fafb, #ffffff);
}

.hero-text {
    flex: 1 1 400px;
    margin-top: 2rem;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h1 .highlight {
    color: var(--gold);
    font-style: italic;
}

p { font-size: 1.2rem; color: #555; margin-bottom: 2rem; }

/* CHATBOT ELEGANTE */
.hero-chat {
    flex: 1 1 400px;
    max-width: 450px;
}

.chat-window {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08); /* Sombra suave de alta calidad */
    height: 600px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    background: var(--navy);
    color: var(--white);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 45px; height: 45px;
    background: var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--navy);
}

.chat-messages {
    flex: 1;
    padding: 25px;
    background: #fafafa;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* MENSAJES */
.message {
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 1rem;
    max-width: 85%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.message.bot {
    background: var(--white);
    color: var(--text);
    border-left: 4px solid var(--gold); /* Detalle de diseño */
    border-bottom-left-radius: 2px;
}

.message.user {
    background: var(--navy);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

/* INPUT AREA */
.chat-input-area {
    padding: 20px;
    background: var(--white);
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

input {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    background: #fdfdfd;
}
input:focus { border-color: var(--navy); }

.btn-send {
    background: var(--navy);
    color: var(--gold);
    border: none;
    width: 50px;
    border-radius: 6px;
    font-size: 1.5rem;
    cursor: pointer;
}

/* INDICADOR ESCRIBIENDO */
.typing {
    display: none;
    gap: 5px;
    padding: 10px;
    background: transparent;
}
.dot {
    width: 8px; height: 8px;
    background: #ccc;
    border-radius: 50%;
    animation: bounce 1.4s infinite;
}
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* FOOTER */
footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    color: #888;
    background: #f9f9f9;
}