/* ==== ESTILOS BASE (los que ya tenías) ==== */
.tabs {
  position: relative;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  margin: 25px auto;
  border-radius: 10px;
  overflow: hidden;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* CABECERA */
.tabs-header {
  background: #109230;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.tabs-header .border {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #F4B142; 
  height: 3px;
  width: auto;
  transition: all 0.3s ease-in-out;
}

.tabs-header ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tabs-header li {
  transition: all 0.3s ease;
}

.tabs-header a {
  display: block;
  padding: 14px 24px;
  color: #f5f5f5;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.6px;
  transition: background 0.3s ease, color 0.3s ease;
  border-bottom: 3px solid transparent;
}

.tabs-header a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.tabs-header .active {
  background: #2f3037;
  font-weight: 600;
  color: #fff;
  border-bottom: 3px solid #F4B142;
}

/* NAVEGADOR */
.tabs-nav {
  position: absolute;
  top: 0;
  right: 0;
  background: #109230;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 12px;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

a {
    color: #2f3037;
    text-decoration: none;
}

 a:hover {
    color: #109230;
    text-decoration: underline;
}
.tabs-nav i {
  border-radius: 50%;
  padding: 6px;
  transition: background 0.3s ease;
}

.tabs-nav i:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* CONTENIDO */
.tabs-content {
  padding: 25px 20px;
  background: #fafafa;
  transition: all 0.3s ease;
}

.tabs-content .tab {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tabs-content .tab.active {
  display: block;
}

/* Sombra elegante abajo */
.tabs-content:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  display: block;
  width: 100%;
  height: 1px;
  box-shadow: 0 0 20px 10px #fff;
}

/* Animación suave al cambiar de tab */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ====== BOTÓN FLOTANTE ====== */
.cp-fab {
  background: #fff !important;
  color: #109230 !important;
  border: 1px solid #dadada;
  border-radius: 50%;
  padding: 14px;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.cp-fab:hover {
  background: #F4B142 !important;
  color: #fff !important;
  border-color: #F4B142;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 768px) {
  .tabs-header ul {
    flex-direction: column; /* tabs en columna */
  }
.tabs-header  {
  text-align: center;
  display: block;      
  width: 100%;         
}

  .tabs-header a {
    font-size: 14px;
    padding: 12px 16px;
    text-align: center;
  }

  .tabs-content {
    padding: 20px 15px;
  }

  /* Ocultar las flechas de desplazamiento */
  .tabs-nav {
    display: none !important;
  }
}

