:root {
  --ribatech-azul: #1b3661;        /* azul oscuro elegante */
  --ribatech-azul-claro: #2e4368;  /* hover suave */
  --ribatech-acento: #3f8fa3;      /* turquesa apagado */
  --ribatech-turquesa: #1aa0bf;
  --ribatech-gris: #f2f2f2;
  --ribatech-texto: #222;
}

/* RESET */
body{
  margin:0;
  font-family:Arial, sans-serif;
  background:var(--gris);
}

/* HERO */
.hero{
  position:relative;
  height:90vh;
  overflow:hidden;
}

/* Imagen más profesional */
.hero-img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Contenido elegante */
.hero-content{
  position:absolute;
  top:70%;
  left:8%;
  transform:translateY(-50%);
  color:white;
  max-width:500px;
}
@media (max-width: 768px) {
  .hero{
  height:60vh;
}
  .hero-img{
    height: 60vh;

  }
  .hero-content{
  top:60%;
 
}

}
.hero h1{
  font-size:52px;
  margin-bottom:10px;
  letter-spacing:1px;
    color:var(--ribatech-gris);

}

.hero p{
  font-size:18px;
  margin-bottom:25px;
  line-height:1.4;
}

/* Botones */
.hero-buttons{
  display:flex;
  gap:15px;
}

.btn{
  padding:12px 25px;
  background:#3f8fa3;
  color:white;
  text-decoration:none;
  border-radius:5px;
  font-weight:600;
  transition:0.3s;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn-outline{
  background:transparent;
  border:2px solid white;
}

.btn-outline:hover{
  background:white;
  color:#1b3661;
}

/* Usa este CSS igual que antes para .destacados-galeria, .destacados-container, .destacado-card, etc... */

.destacados-galeria {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  font-family: Arial, sans-serif;
}

/* ========== destacadoS ========== */
.destacados-container {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.destacado-card {
  background: #f9f9f9;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.destacado-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px 6px 0 0;
}

.destacado-card h3 {
  margin: 15px 20px 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ribatech-azul);
}

.destacado-banner {
  background: #f6c240;
  color: #222;
  font-weight: 700;
  padding: 10px 20px;
  margin: 0 20px 15px;
  border-radius: 3px;
  font-size: 1rem;
}

.precio-detalles {
  display: flex;
  justify-content: space-between;
  padding: 0 20px 15px;
  font-size: 0.9rem;
  color: var(--ribatech-texto);
}

.precio-mes {
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ribatech-texto);
}

.precio-mes .mes {
  font-weight: 400;
  font-size: 1rem;
  display: block;
  margin-top: 2px;
}

.info-pagos p {
  margin: 0;
  font-weight: 400;
  line-height: 1.3;
}

.caracteristicas {
  list-style: disc;
  padding-left: 40px;
  color: var(--ribatech-azul);
  font-size: 0.9rem;
  margin: 0 20px 15px;
  text-align: justify;
}

.caracteristicas li {
  margin-bottom: 6px;
}

/* BOTÓN destacado */
.btn-destacado {
  background-color: var(--ribatech-azul);
  color: white;
  text-align: center;
  padding: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  margin: 0 20px;
  transition: background-color 0.3s ease;
  user-select: none;
}

.btn-destacado:hover {
  background-color: var(--ribatech-turquesa);
  cursor: pointer;
}
.galeria-container {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  text-align: center;
}

.galeria-container h2 {
  font-weight: 900;
  font-size: 2rem;
  color: var(--ribatech-azul);
  margin-bottom: 40px;
}

.slider-secciones {
  position: relative;
  overflow: hidden;
  padding: 0 40px;
}

.slider-track {
  display: flex;
  gap: 20px;
transition: transform 0.2s ease-out;
}

.seccion-item {
  min-width: 33.33%;
  box-sizing: border-box;
}

.seccion-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seccion-item img:hover,
.seccion-item img:focus {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
  outline: none;
}

.seccion-item p{
  margin-top:12px;
  font-weight:500;
}
/* Botones */
.btn-slider {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(63, 143, 163, 0.7); /* turquesa apagado semitransparente */
  border: none;
  color: white;
  font-size: 24px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  border-radius: 50%; /* círculo */
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: background 0.3s ease, transform 0.2s ease;
  user-select: none;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-slider:hover,
.btn-slider:focus {
  background: rgba(26, 160, 191, 0.9); /* turquesa más intenso */
  transform: translateY(-50%) scale(1.1);
  outline: none;
}

.btn-slider.prev {
  left: 10px;
}

.btn-slider.next {
  right: 10px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px;
}

.slider-dots span {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.slider-dots span.active {
  background: var(--ribatech-acento);
  transform: scale(1.2);
}


/* Responsive */
@media (max-width: 900px) {
  .seccion-item {
    min-width: 50%;
  }
}

@media (max-width: 600px) {
  .seccion-item {
    min-width: 100%;
  }
}

#lightbox {
  display: none;
  position: fixed;
  top:0; left:0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

#lightbox button {
  position: absolute;
  background: rgba(63, 143, 163, 0.7);
  border: none;
  color: white;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}

#lightbox button:hover {
  background: rgba(26, 160, 191, 0.9);
}

.close-lightbox { top:20px; right:20px; }
.prev-lightbox { top:50%; left:20px; transform:translateY(-50%); }
.next-lightbox { top:50%; right:20px; transform:translateY(-50%); }