:root {
  --brand-purple: #744FC6;
  --brand-cyan: #13C1BD;
  --brand-yellow: #F5BC18;
  --bg-card: #E4E6DE;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --shadow-subtle: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-strong: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--brand-purple); /* El morado de fondo principal */
  color: var(--text-light); 
  line-height: 1.6;
}

/* --- MAIN LANDING PAGE (index.html) --- */
.main-header {
  background-color: transparent;
  padding: 1.5rem 2rem;
  text-align: center;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--brand-yellow);
}
.logo span {
  color: var(--text-light);
}

.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.hero-content {
  max-width: 600px;
}

.hero-content h1 {
  font-size: 2.3rem;
  color: var(--brand-cyan); /* El cyan de "NUESTRAS" */
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: 900;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.cta-container {
  margin-top: 2rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--brand-yellow);
  color: var(--brand-purple);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-strong);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background-color: #ffcb3a;
  box-shadow: 0 12px 30px rgba(245, 188, 24, 0.4);
}

.btn-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
}

.cta-hint {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

/* --- CHAT INTERFACE (victoria.html) --- */
.chat-body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: var(--brand-purple);
}

.chat-container {
  width: 100%;
  max-width: 450px;
  height: 90vh;
  max-height: 800px;
  background: var(--bg-card); /* El color crema de las tarjetas */
  border-radius: 20px;
  box-shadow: var(--shadow-strong);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-header {
  background-color: var(--brand-purple);
  color: var(--text-light);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  border-bottom: 4px solid var(--brand-cyan);
}

.back-btn {
  position: absolute;
  top: -30px;
  left: 0;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.back-btn:hover {
  color: white;
}

.chat-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--brand-yellow);
  object-fit: cover;
}

.chat-title h2 {
  font-size: 1.2rem;
  margin: 0;
  color: var(--brand-cyan);
}

.chat-title span {
  font-size: 0.85rem;
  color: var(--brand-yellow);
}

.chat-messages {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: var(--bg-card);
}

.message {
  display: flex;
  width: 100%;
}

.message.agent {
  justify-content: flex-start;
}

.message.user {
  justify-content: flex-end;
}

.message-content {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.95rem;
  box-shadow: var(--shadow-subtle);
  color: var(--text-dark);
}

.message.agent .message-content {
  background-color: white;
  border-bottom-left-radius: 4px;
}

.message.user .message-content {
  background-color: var(--brand-cyan);
  color: white;
  border-bottom-right-radius: 4px;
}

.message-content.loading {
  font-style: italic;
  color: #888;
}

.chat-input-area {
  padding: 1rem;
  background: white;
  border-top: 1px solid #ddd;
  display: flex;
  gap: 10px;
}

.chat-input-area input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 25px;
  font-size: 1rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
  color: var(--text-dark);
}

.chat-input-area input:focus {
  border-color: var(--brand-cyan);
}

.chat-input-area button {
  background-color: var(--brand-yellow);
  color: var(--brand-purple);
  border: none;
  padding: 0 20px;
  border-radius: 25px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chat-input-area button:hover {
  background-color: #ffcb3a;
  transform: scale(1.05);
}

.chat-options {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.chat-options button {
  background-color: var(--brand-purple);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 15px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.chat-options button:hover {
  opacity: 0.8;
}
