/* ----------------------------------------------------------------
  Custom CSS
-----------------------------------------------------------------*/

/* ------------------------------
   GLOBAL / GENERALES
------------------------------ */



#catalogo {
  background-color: #fff;
}

.verde-ventaja {
  background: #38B060 !important;   /* verde del logo */
  color: #fff !important;
}

/* Colocación básica en top bar */
#top-bar .top-bar-left { float: left; }
#top-bar .top-bar-right { float: right; }

#header, #header-wrap, #logo img {
  height: auto;
}

/* Botón verde reutilizable */
.verde {
  background: #38B060 !important;
  color: #fff !important;
}
.verde:hover {
  background: #2f9953 !important;
  color: #fff !important;
}

/* Botón configuradoror en top bar */
.configurador-top-link {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 6px 14px;
  border-radius: 6px 6px 0 0;
  text-decoration: none;
  line-height: 1.2;
}

.configurador-top-link i {
  font-size: 14px;
  margin-bottom: 3px;
  color: #fff;
}

.configurador-top-main {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.configurador-top-sub {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.9;
}

/* Header por encima del slider */
body.stretched #header,
#header-wrap {
  z-index: 50;
}

/* ------------------------------
   SLIDER VERTICAL (SWIPER)
------------------------------ */

.vertical-swiper{
  width: 100%;
  height: 100vh;
  position: relative;
}

.vertical-swiper .swiper-wrapper{
  height: 100%;
}

.vertical-swiper .swiper-slide{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  color: #fff;
}

/* Contenido centrado */
.vertical-swiper .slide-content{
  position: relative;
  z-index: 20;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Título */
.vertical-swiper .slide-title{
  font-size: 3rem;
  font-weight: 600;
  text-transform: capitalize;
  text-shadow: 0 3px 8px rgba(0,0,0,0.4);
}

/* Botón */
.vertical-swiper .slide-btn{
  position: relative;
  z-index: 25;
  display: inline-block;
  padding: 12px 28px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 1rem;
  border-radius: 6px;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: all .25s;
}

.vertical-swiper .slide-btn:hover{
  background: rgba(0,0,0,0.75);
  transform: translateY(-3px);
}

/* Paginación: colocada a la derecha */
.vertical-swiper .swiper-pagination{
  position: absolute;
  right: 20px;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  width: auto !important;
  height: auto !important;
  z-index: 10;

  /* CLAVE: el contenedor NO captura clicks */
  pointer-events: none;
}

/* Bullets en columna y clicables */
.vertical-swiper .swiper-pagination-bullets{
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  width: auto !important;
  height: auto !important;

  /* CLAVE: solo los bullets capturan clicks */
  pointer-events: auto;
}

.vertical-swiper .swiper-pagination-bullets *{
  pointer-events: auto;
}

/* ------------------------------
   SECCIÓN POR QUÉ ELEGIRNOS
------------------------------ */

#por-que-elegirnos {
  padding: 100px 0;
  background-color: #ffffff;
}

#por-que-elegirnos .section-intro {
  max-width: 760px;
  margin: 0 auto 60px auto;
  text-align: center;
}

#por-que-elegirnos .section-intro h2 {
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

#por-que-elegirnos .section-intro p {
  font-size: 1.05rem;
  font-weight: 300;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

#por-que-elegirnos .reasons-grid {
  max-width: 1100px;
  margin: 0 auto;
}

#por-que-elegirnos .reason-item {
  padding: 28px 0;
  border-top: 1px solid #eee;
}

#por-que-elegirnos .reason-item-last {
  border-bottom: 1px solid #eee;
}

#por-que-elegirnos .reason-item h3 {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 8px;
}

#por-que-elegirnos .reason-item p {
  font-weight: 300;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* ------------------------------
   SECCIÓN DISTRIBUIDOR
------------------------------ */

#distribuidor {
  padding: 100px 0;
  background-color: #ffffff;
}

.section-flex-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.video-wrapper-16x9 {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
}

.video-wrapper-16x9 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#distribuidor .section-title {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 20px;
}

#distribuidor .section-text {
  font-weight: 300;
  color: #555;
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 30px;
}

/* ------------------------------
   QUIÉNES SOMOS
------------------------------ */

#quienes-somos .about-text-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

#quienes-somos .about-text {
  font-weight: 300;
  line-height: 1.8;
  font-size: 1.1rem;
}

/* SECCIÓN CIFRAS */
#cifras {
  background-color: #111;
  color: #fff;
}

#cifras h5 {
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* SECCIÓN SOBRE + CONTACTO */
#sobre-contacto {
  background-color: #111;
  color: #fff;
}

#sobre-contacto h2 {
  color: #fff;
}

/* ============================
   SECCIÓN QUIÉNES SOMOS (ESTILO APPLE)
============================ */

.section-qs {
  background-color: #fff;
  padding: 100px 0;
}

.qs-intro {
  max-width: 720px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.qs-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  color: #9ca3af;
  margin-bottom: 8px;
}

.qs-title {
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.qs-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: #6b7280;
  line-height: 1.8;
  margin: 0;
}

.qs-body {
  max-width: 820px;
  margin: 0 auto;
}

.qs-text p {
  font-weight: 300;
  line-height: 1.8;
  color: #4b5563;
  font-size: 1.02rem;
  margin-bottom: 1.2em;
}

.qs-text p:last-of-type {
  margin-bottom: 0;
}

.qs-cta {
  margin-top: 32px;
}

/* Botón estilo más limpio */
.qs-button {
  border-color: #111827;
  color: #111827;
  background: transparent;
  padding-left: 26px;
  padding-right: 26px;
  font-weight: 400;
}

.qs-button:hover {
  background: #111827;
  color: #ffffff;
}

/* ============================
   SECCIÓN EJEMPLOS DE PISTAS
============================ */

.section-locations {
  background-color: #050816;
  color: #ffffff;
  padding: 90px 0;
}

.section-locations .heading-block h2,
.section-locations .heading-block span {
  color: #ffffff;
}

.location-grid {
  margin-top: 40px;
}

.location-col {
  margin-bottom: 30px;
}

.location-card {
  position: relative;
  width: 100%;
  min-height: 320px;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateZ(0);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.location-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.25), rgba(0,0,0,0.05));
  opacity: 1;
  transition: opacity 0.4s ease;
}

.location-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 22px 20px;
  pointer-events: none;
}

.location-content {
  width: 100%;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.location-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 500;
  color: #ffffff;
}

.location-btn {
  border-color: rgba(255,255,255,0.85);
  color: #ffffff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.location-btn:hover {
  background-color: #ffffff;
  color: #000000;
}

.location-card:hover {
  transform: scale(1.02);
  box-shadow: 0 18px 45px rgba(0,0,0,0.45);
}

.location-card:hover::before {
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 991px) {
  .location-card { min-height: 260px; }
}
@media (max-width: 768px) {
  .location-card { min-height: 220px; }
  .location-title { font-size: 1rem; }
}

/* ============================
   Cambiar logos carrusel con hover
============================ */

.logo-swap a {
  position: relative;
  display: inline-block;
}

.logo-swap img {
  display: block;
  max-width: 100%;
  height: auto;
  transition: opacity .25s ease;
}

.logo-swap .logo-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.logo-swap:hover .logo-hover { opacity: 1; }
.logo-swap:hover .logo-default { opacity: 0; }

/* ============================
Texto SEO
============================ */

.texto-seo {
  font-size: 0px !important;
}

/* ============================
personalización tabla de por que elegirnos
============================ */

.tabla-comparativa {
	overflow-x: auto;
	margin-top: 40px;
}

.tabla-comparativa table {
	width: 100%;
	border-collapse: collapse;
	font-family: 'Lato', sans-serif;
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
}

/* HEADER */
.tabla-comparativa thead {
	background: #f4f4f4; /* neutro elegante */
}

.tabla-comparativa th {
	padding: 18px;
	font-weight: 500;
	text-align: center;
	font-size: 1rem;
	border-bottom: 1px solid #e5e5e5;
}

/* FILAS */
.tabla-comparativa td {
	padding: 16px;
	text-align: center;
	font-size: 0.95rem;
	border-bottom: 1px solid #eee;
}

/* PRIMERA COLUMNA (labels) */
.tabla-comparativa td:first-child {
	font-weight: 500;
	color: #333;
	text-align: left;
}

/* EFECTO HOVER SUAVE */
.tabla-comparativa tbody tr:hover {
	background: #fafafa;
}

/* DESTACADOS */
.tabla-comparativa .positivo {
	color: #38B060; /* tu verde */
	font-weight: 500;
}

.tabla-comparativa .negativo {
	color: #999;
}

/* RESPONSIVE */
@media (max-width: 768px) {
	.tabla-comparativa th,
	.tabla-comparativa td {
		padding: 12px;
		font-size: 0.85rem;
	}
}

.whatsapp-float {
	position: fixed !important;
	right: 25px !important;
	bottom: 90px !important; /* para no pisar el botón subir */
	width: 58px;
	height: 58px;
	background: #25D366;
	border-radius: 50%;
	display: flex !important;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	color: #fff !important;
	text-decoration: none;
	z-index: 999999 !important;
}

/* hover simple */
.whatsapp-float:hover {
	background: #1ebe5d;
}

/* móvil */
@media (max-width: 768px) {
	.whatsapp-float {
		right: 18px !important;
		bottom: 85px !important;
		width: 52px;
		height: 52px;
		font-size: 24px;
	}
}

#gotoTop {
	right: auto !important;
	left: 25px !important;
	bottom: 25px !important;
}
