/* ==== TIPOGRAFÍA GLOBAL ==== */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f4f4;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==== MEDIA LUNA DECORATIVA ==== */
.media-luna {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50vh;
  background: linear-gradient(to bottom, #a947f4cc, white);
  border-bottom-left-radius: 50% 20%;
  border-bottom-right-radius: 50% 20%;
  z-index: -1;
}

/* ==== HEADER ==== */
.nav-container {
  position: relative;
  background: #ffffffa7;
  border-radius: 2rem;
  max-width: 1200px;
  width: 90%;
  margin: 1rem auto 0 auto;
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 45px;
  width: auto;
}

.brand-link {
  text-decoration: none;
  color: #a947f4;
  font-size: 1.3rem;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.icon-sm {
  height: 24px;
  width: 24px;
  object-fit: contain;
}

.navbar-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.navbar-links a {
  text-decoration: none;
  color: #a947f4;
  font-weight: 500;
  transition: color 0.2s ease;
}

.navbar-links a:hover {
  color: #ff6600;
}

/* ==== CLASE PARA OCULTAR ELEMENTOS ==== */
.hidden {
  display: none !important;
}

/* ==== BOTONES ==== */
.btn {
  background: #a947f4;
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  border-radius: 27px;
  transition: background 0.6s ease;
}

.btn:hover {
  background: #4a148c;
}

/* ==== BOTÓN CONTORNO ==== */
.btn-outline {
  background: transparent;
  border: 2px solid #a947f4;
  color: #a947f4;
  padding: 0.6rem 1.3rem;
  border-radius: 27px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #a947f4;
  color: #fff;
  border-radius: 27px;
}

/* ==== MODALES ==== */
.modal-auth {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-auth.active {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  position: relative;
  animation: fadeIn 0.3s ease-out;
}

.modal-content h3 {
  margin-top: 0;
  text-align: center;
  color: #333;
}

.modal-content input {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.modal-content label {
  font-weight: 600;
  margin-bottom: 0.3rem;
  display: block;
  color: #444;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  color: #888;
  cursor: pointer;
}

.close-btn:hover {
  color: #333;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ==== MENSAJES ==== */
.message {
  margin: 1rem auto;
  font-weight: bold;
  font-size: 0.95rem;
  text-align: center;
}

/* ==== SECCIÓN DE BIENVENIDA ==== */
.welcome-business {
  text-align: center;
  margin: 4rem 2rem 3rem;
  padding: 2rem 1rem;
  max-width: 900px;
}

.welcome-business h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 1rem;
}

.welcome-business p {
  font-size: 1.05rem;
  color: #444;
  margin: 0.5rem auto;
  max-width: 700px;
}

.welcome-buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2rem;
}

/* ==== CARRUSEL ==== */
.carousel-container {
  width: 90%;
  max-width: 1100px;
  margin: 3rem auto 0.5rem auto;
  overflow: hidden;
  position: relative;
  z-index: 100;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  animation: scrollCarousel 18s linear infinite;
}

.carousel-img {
  flex: 0 0 auto;
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: cover;
  border-radius: 27px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.carousel-img:hover {
  transform: scale(1.03);
}

@keyframes scrollCarousel {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-33.33%); }
}

/* ==== TÍTULO "¿Por qué elegirnos?" ==== */
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #a947f4;
  margin: 3rem 0 2rem;
}

/* ==== GRID DE FUNCIONALIDADES ==== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 4rem 1.5rem;
  padding: 2rem 1rem 2rem;
  max-width: 1000px;
  margin: 2rem auto 0 auto;
  z-index: 1;
}

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 3rem 1rem 2rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: #a947f4;
  border-radius: 20%;
  transform: translateX(-50%) rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -35px;
  left: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

.feature-icon img {
  width: 85px;
  height: 85px;
  transform: rotate(-45deg);
  object-fit: contain;
  filter: none;
}

.feature-card h4 {
  margin-top: 3.5rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #2c2c2c;
}

.feature-card p {
  color: #555;
  font-size: 0.85rem;
  line-height: 1.4;
}

/* ==== footer ==== */

