:root {
  --accent: #632c35;
  --bg: #3e4a4ec2;
  --card: #ffffffc9;
  --text: #0c1833;
}

* {
  box-sizing: border-box;
}

body {
  font-family: Inter, system-ui, Arial, sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== HEADER ===== */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: var(--card);
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.site-header .logo {
  height: 44px;
  margin-right: 10px;
}
.site-header .left {
  display: flex;
  align-items: center;
}
.site-header .brand {
  margin: 0;
  font-size: 1.2rem;
}
.icon-btn {
  background: transparent;
  border: 0;
  font-size: 20px;
  margin-left: 8px;
  cursor: pointer;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 500
}
.nav-links a.active {
  color: var(--accent);
  font-weight: bold;
}

/* ===== MENÚ ===== */
.menu {
  position: absolute;
  right: 12px;
  top: 60px;
  background: var(--card);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(2,6,23,.08);
  transform: scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu ul li {
  margin: 6px 0;
}
.menu a {
  color: var(--text);
  text-decoration: none;
}
.menu.show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* ===== HERO ===== */
.hero {
  padding: 40px 16px;
  text-align: center;
  background: linear-gradient(90deg, #477970, #fff);
  margin: 12px;
  border-radius: 10px;
}
.hero-servicios {
  text-align: center;
  background: linear-gradient(90deg, #477970, #fff);
  padding: 40px 20px;
}
.hero-servicios h2 {
  font-size: 2rem;
  margin: 0;
}
.hero-servicios p {
  font-size: 1.2rem;
  color: #333;
}
.hero-main{
  text-align: center;
  background: linear-gradient(90deg, #477970, #fff);
  padding: 40px 20px;
}
.hero-main  h2 {
  text-align: center;
}

/* ===== BOTÓN GENERAL ===== */
.btn {
  display: inline-block;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover {
  background: #0c8b8a;
  transform: translateY(-2px);
}
.center-btn {
  text-align: center;
  margin: 20px 0;
}

/* ===== TITULO PRINCIPAL ===== */
.titulo {
  text-align: center;
  font-weight: bold;
  font-size: 1.3rem;
  margin: 20px 0
}

/* ===== CARDS ===== */
.contenedor,
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding: 20px;
}
.info,
.card {
  background: var(--card);
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(2,6,23,.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  text-align: center;
}
.card {
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}
.card-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}
.info:hover,
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(2,6,23,.12);
}
.card.hidden {
  display: none;
}
p {
  text-align: center;
  font-size: 1.1rem;
}

/* ===== AUTH FORMS (LOGIN/REGISTRO) ===== */
.auth-page {
  display: flex;
  min-height: 70vh;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.auth-form {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(2,6,23,.06);
  transition: all 0.3s ease;
}
.auth-form:hover {
  box-shadow: 0 12px 30px rgba(2,6,23,.12);
}
.auth-form label {
  display: block;
  margin: 8px 0;
}
.auth-form input {
  width: 100%;
  padding: 10px;
  border: 1px solid #e6e6ee;
  border-radius: 8px;
}
.input-field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 164, 0.2);
}
.btn-accent {
  width: 100%;
  padding: 0.75rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}
.btn-accent:hover {
  background: #0d9488;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 164, 0.3);
}
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
}
.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.auth-container {
  background: url('http://static.photos/gradient/1200x630/5') no-repeat center center;
  background-size: cover;
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 0;
}
.auth-form {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: var(--card);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.auth-form:hover {
  box-shadow: 0 25px 50px rgba(2, 6, 23, 0.15);
  transform: translateY(-5px);
}
.form-title {
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--text);
  position: relative;
}
.form-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}
.input-group {
  margin-bottom: 1.5rem;
  position: relative;
}
.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text);
}
.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
}
.input-field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 164, 0.2);
  outline: none;
}
.input-icon {
  position: absolute;
  right: 1rem;
  top: 2.5rem;
  color: #94a3b8;
}
.btn-accent {
  width: 100%;
  padding: 0.75rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}
.btn-accent:hover {
  background: #0d9488;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 164, 0.3);
}
.divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: #94a3b8;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}
.divider-text {
  padding: 0 1rem;
  font-size: 0.875rem;
}
.social-login {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}
.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.social-btn.google:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.social-btn.apple:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: #64748b;
}
.auth-footer a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
.auth-footer a:hover {
  color: #0d9488;
  text-decoration: underline;
}
.password-toggle {
  cursor: pointer;
  transition: color 0.2s ease;
}
.password-toggle:hover {
  color: var(--accent);
}
.password-strength {
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  margin-top: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
}
.password-strength.weak {
  background: linear-gradient(to right, #ef4444 25%, #e2e8f0 25%);
}
.password-strength.medium {
  background: linear-gradient(to right, #f59e0b 50%, #e2e8f0 50%);
}
.password-strength.strong {
  background: linear-gradient(to right, #10b981 75%, #e2e8f0 25%);
}
.password-strength.very-strong {
  background: linear-gradient(to right, #0ea5a4 100%, #e2e8f0 0%);
}
.floating-label {
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  background: white;
  padding: 0 0.5rem;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: all 0.2s ease;
}
.input-field:focus + .floating-label,
.input-field:not(:placeholder-shown) + .floating-label {
  opacity: 1;
  transform: translateY(0);
}
@media (min-width: 768px) {
  .auth-form {
    padding: 2.5rem;
  }
}
/* Centrar títulos y botones de login/registro */
.auth-form h2 {
  text-align: center;
  margin-bottom: 16px;
}
.auth-form button {
  display: block;
  margin: 16px auto 0 auto;
}

/* ===== OFERTAS ===== */
.ofertas {
  text-align: center;
  padding: 30px 20px;
  background: #ffffffc9;
  margin: 20px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.ofertas h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.ofertas p {
  font-size: 1rem;
}
.slider {
  display: flex;
  overflow: hidden;
  position: relative;
  height: 40px;
  margin: 20px 0;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  font-weight: bold;
  font-size: 1.1rem;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.5s ease;
}
.slide.active {
  opacity: 1;
  transform: scale(1);
}
.slider-controls {
  margin-top: 10px;
}
.slider-controls button {
  background: #e6fffb;
  border: 1px solid #0ea5a4;
  color: #0ea5a4;
  padding: 8px 12px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.slider-controls button:hover {
  background: #0ea5a4;
  color: #fff;
}
.chat-messages {
  height: 250px;
  overflow-y: auto;
  padding: 10px;
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
}
.chat-input {
  display: flex;
  padding: 10px;
  border-top: 1px solid #e2e8f0;
}
.chat-input input {
  flex: 1;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 8px;
  margin-right: 8px;
}
.chat-input button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
}
/* ===== FAQ ===== */
.faq {
  margin: 20px 16px;
}
.faq details {
  background: var(--card);
  border-radius: 10px;
  margin-bottom: 12px;
  border: 1px solid #e6e6ee;
  border-radius: 6px;
  padding: 10px;
  background: #f9f9f9;
  cursor: pointer;
  transition: all 0.3s ease;
}
.faq details[open] {
  background: #e6fffb;
  border-color: #ffffffc9;
}
.faq summary {
  font-weight: bold;
  color: #0f172a;
}
.faq p {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #333;
}
/* ===== FOOTER ===== */
.site-footer {
  background: #0ea5a4;
  color: #fff;
  padding: 20px 40px;
  margin-top: 40px;
}
.footer-content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-left h3 {
  margin: 0;
  font-size: 1.3rem;
}
.social-icons a {
  color: #fff;
  font-size: 1.5rem;
  margin-left: 10px;
  transition: color 0.2s ease;
}
.social-icons a:hover {
  color: #e6fffb;
}

/* ===== CHAT ===== */
.chat-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  max-height: 400px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transform: scale(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}
.chat-box.show {
  transform: scale(1);
}
.chat-header {
  background: var(--accent);
  color: #fff;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px 10px 0 0;
}
.chat-header span {
  font-weight: bold;
}
.chat-header .close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}
.faq h2{
  text-align: center;
}