/* ===================================================
   SUMA DE MAYLA - ESTILOS PRINCIPALES
   =================================================== */

:root {
  --azul-mayla: #38A1BD;
  --azul-oscuro: #0E4A68;
  --turquesa: #53C4E0;
  --naranja: #F4B400;
  --gris: #f8f9fa;
  --texto: #444;
  --transicion: all 0.3s ease;
  --sombra: 0 4px 12px rgba(0,0,0,0.08);
}

/* =============================
   RESET GENERAL
============================= */
body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  color: var(--texto);
  background-color: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--azul-oscuro);
  font-weight: 700;
}

.section-title {
  color: var(--azul-oscuro);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--turquesa);
  margin: 8px auto 0;
  border-radius: 2px;
}

/* ============================
   HERO DE SUMA DE MAYLA
============================ */
#hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: #000; /* fallback */
}

#hero .hero-bg {
  background-image: url('../img/hero-mayla.jpg'); /* tu imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}

#hero .hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.85); /* 50% transparencia */
  z-index: 1;
}

#hero .container {
  position: relative;
  z-index: 2;
}

/* Botón personalizado Mayla */
.btn-mayla {
  background-color: #53C4E0;
  color: #fff;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
}
.btn-mayla:hover {
  background-color: #0090B8;
  color: #fff;
  transform: scale(1.03);
}


/* =============================
   TARJETAS (PLANES)
============================= */
.card-mayla {
  border-radius: 1rem;
  box-shadow: var(--sombra);
  transition: var(--transicion);
  background-color: #fff;
}

.card-mayla:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.card-mayla h5 {
  letter-spacing: 0.5px;
}

.card-mayla ul {
  list-style: none;
  padding: 0;
}

.card-mayla li {
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #555;
}

/* =============================
   VALORES
============================= */
#causa .section-title {
  color: var(--azul-oscuro);
}

#causa .bg-light {
  border-left: 5px solid var(--turquesa);
}

#causa .rounded-4 {
  border-radius: 1rem;
}

/* =============================
   SECCIONES GENERALES
============================= */
section {
  scroll-margin-top: 80px;
}

.bg-light {
  background-color: var(--gris) !important;
}

.text-primary {
  color: var(--azul-oscuro) !important;
}

.text-warning {
  color: var(--naranja) !important;
}

/* =============================
   TRANSPARENCIA
============================= */
#transparencia .border {
  border-color: #e4e4e4 !important;
}

#transparencia i {
  display: block;
  margin-bottom: 10px;
}

/* =============================
   BENEFICIOS
============================= */
#beneficios .p-4 {
  transition: var(--transicion);
}

#beneficios .p-4:hover {
  transform: translateY(-5px);
  background-color: #fff9e6;
}

/* =============================
   CONTACTO
============================= */
#contacto {
  background: var(--azul-oscuro);
}

#contacto .form-control {
  border-radius: 0.5rem;
  border: 1px solid #ccc;
}

#contacto .form-control:focus {
  border-color: var(--turquesa);
  box-shadow: 0 0 0 0.2rem rgba(83,196,224,0.25);
}

#contacto .btn-mayla {
  background-color: var(--turquesa);
  color: #fff;
  font-weight: 600;
}

#contacto .btn-mayla:hover {
  background-color: var(--naranja);
  color: #333;
}

/* =============================
   UTILIDADES
============================= */
.lift {
  transition: var(--transicion);
}

.lift:hover {
  transform: translateY(-4px);
}

.rounded-4 {
  border-radius: 1rem !important;
}

.shadow-sm {
  box-shadow: 0 3px 8px rgba(0,0,0,0.1) !important;
}

.text-shadow {
  text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

/* =============================
   FOOTER
============================= */
footer {
  background-color: var(--azul-oscuro);
  color: #fff;
  font-size: 0.9rem;
}

footer a {
  color: var(--naranja);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* =============================
   BOTÓN WHATSAPP (ya existe)
============================= */
.btn-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  font-size: 28px;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  z-index: 9999;
}

.btn-whatsapp:hover {
  background-color: #1ebe5d;
  transform: scale(1.1);
}

/* =============================
   FOOTER FIJO AL FINAL
============================= */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main.flex-fill {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
  background-color: var(--azul-oscuro);
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
}


/* =============================
   RESPONSIVE
============================= */
@media (max-width: 768px) {
  #hero h1 {
    font-size: 2.2rem;
  }
  .card-mayla {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  #hero {
    padding-top: 5rem;
    padding-bottom: 4rem;
  }
}

.navbar-mayla {
  background-color: var(--azul-oscuro);
}

.navbar-mayla .nav-link {
  color: #fff !important;
  transition: all .3s ease;
}

.navbar-mayla .nav-link:hover {
  color: var(--naranja) !important;
}

#modelo table {
  border-radius: 10px;
  overflow: hidden;
}

#modelo thead th {
  background-color: #e8f1f8 !important;
  color: #003845;
}

#modelo tbody tr.table-warning td {
  background-color: #fff8e1 !important;
}

#modelo tbody tr.table-info td {
  background-color: #e7f6f8 !important;
}

#modelo .nav-pills .nav-link.active {
  background-color: #00a0b0;
  color: #fff;
}


.btn-gold {
  background-color: #f28c00; /* naranja cálido Mayla */
  border-color: #f28c00;
  color: #fff;
  transition: all 0.3s ease;
}

.btn-gold:hover,
.btn-gold:focus {
  background-color: #d67800; /* tono más oscuro al pasar el mouse */
  border-color: #d67800;
  color: #fff;
}

.btn-gold:active {
  background-color: #c96c00 !important;
  border-color: #c96c00 !important;
}
