/* ==========================================
IMPORTAR FUENTE BRESSAY
========================================== */


/* ==========================================
TIPOGRAFÍA GLOBAL
========================================== */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
span,
div {
  font-family: 'Bressay', sans-serif;
}

/* ---------- RESET Y VARIABLES (mismo estilo que inicio) ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {

  background-color: #ffffff;
  color: #1e1e1e;
  line-height: 1.5;
  font-weight: 300;
}

:root {
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #2e2e2e;
  --black: #121212;
}

/* Línea divisoria gris oscuro */
.section-divider {
  width: 100%;
  height: 1px;
  background-color: #2e2e2e;
  margin: 3rem 0;
}

hr {
  border: 0;
  border-top: 2px solid #2e2e2e;
  width: 80px;
  margin: 2rem auto;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

h2:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--dark-gray);
  margin-top: 0.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---------- HEADER (mismo que inicio) ---------- */
/* ---------- HEADER / NAVIGATION ---------- */
header {
  background-color: #000;
  padding: 0.8rem 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1rem;
}

/* Logo */
.logo img {
  height: 50px;
  width: auto;
  max-width: 100%; /* evita que el logo se desborde */
  display: block;
}

/* Menu normal (desktop) */
.nav-menu ul {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  white-space: nowrap; /* evita que los enlaces se rompan */
}

.nav-menu a:hover {
  color: #5a5a5a;
}

.nav-reserva {
  border: 2px solid #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  transition: background-color 0.2s, color 0.2s;
}

.nav-reserva:hover {
  background-color: #fff;
  color: #000;
}

/* Botón hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

header {
  background-color: #000;
  padding: 0.8rem 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1rem;
}

.logo img {
  height: 50px;
  width: auto;
  max-width: 100%;
}

.nav-menu ul {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-menu a:hover {
  color: #5a5a5a;
}

.nav-reserva {
  border: 2px solid #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  transition: background-color 0.2s, color 0.2s;
}

.nav-reserva:hover {
  background-color: #fff;
  color: #000;
}

/* Botón hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ====== MEDIA QUERIES ====== */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #000;
  }

  .nav-menu.active {
    display: block;
  }

  .nav-menu ul {
    flex-direction: column;
  }

  .nav-menu li {
    border-bottom: 1px solid #333;
  }

  .nav-menu a {
    display: block;
    padding: 1rem;
  }

  /* Mantener logo y hamburguesa en la misma línea */
  .header-inner {
    justify-content: space-between;
  }
}

/* ---------- HERO (página quiénes somos) ---------- */
.hero-simple {
  background-color: var(--light-gray);
  padding: 5rem 0;
  text-align: center;
  border-bottom: 1px solid var(--dark-gray);
}

.hero-simple h1 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-simple p {
  font-size: 1.3rem;
  color: #333;
  max-width: 700px;
  margin: 0 auto;
}

/* ---------- SECCIÓN HISTORIA ---------- */
.historia {
  padding: 5rem 0;
}

.historia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.historia-text p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #2a2a2a;
}

.historia-imagen {
       background-image: url('../assets/img/leon.jpg');
  height: 680px;
  border-radius: 12px;
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.2);
}

/* ---------- FILOSOFÍA (valores) ---------- */
.filosofia {
  padding: 4rem 0;
  background-color: var(--light-gray);
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

.valor-item {
  text-align: center;
  padding: 2rem 1rem;
  background: white;
  border-radius: 20px;
  border: 1px solid var(--medium-gray);
}

.valor-item i {
  font-size: 2.8rem;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.valor-item h3 {
  font-weight: 600;
}

.valor-item p {
  color: #555;
}

/* ---------- EXPERIENCIA DEL CLIENTE ---------- */
.experiencia-cliente {
  padding: 5rem 0;
}

.experiencia-block {
  max-width: 900px;
  margin: 0 auto;
  background: var(--light-gray);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid var(--medium-gray);
  text-align: center;
}

.experiencia-block p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.experiencia-highlight {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  font-weight: 600;
}

/* ---------- EQUIPO ---------- */
.equipo {
  padding: 5rem 0;
  background-color: var(--white);
}

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.miembro {
  text-align: center;
}

.miembro-foto {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background-size: cover;
  background-position: center;
  border: 3px solid var(--dark-gray);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.miembro h3 {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.miembro p {
  color: #555;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

/* ---------- CTA ---------- */
.cta-equipo {
  padding: 4rem 0;
  background-color: var(--black);
  color: white;
  text-align: center;
}

.cta-equipo h2 {
  color: white;
}

.cta-equipo h2:after {
  background-color: white;
}

.btn {
  display: inline-block;
  background-color: white;
  color: var(--black);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid white;
  transition: 0.2s;
  font-size: 1.2rem;
  margin-top: 2rem;
}

.btn:hover {
  background-color: transparent;
  color: white;
}

/* ---------- FOOTER ---------- */
footer {
  background-color: #1a1a1a;
  color: #ccc;
  padding: 3rem 0 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px dotted #555;
}

.footer-links a:hover {
  color: white;
}

.copyright {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 2rem;
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999; /* Muy alto para que esté encima de todo */
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
#publi {
  background-color: #000; /* O el fondo que quieras */
  padding: 1rem 0;
  text-align: center;
}

.flex-logos img.logo-inicio {
  max-height: 100px; /* Ajusta según tu preferencia */
  object-fit: contain;
}
/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    gap: 1rem;
  }

  .historia-grid {
    grid-template-columns: 1fr;
  }

  .historia-imagen {
    height: 250px;
  }

  .btn {
    font-size: 1rem;
    padding: 0.8rem 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.2rem;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
}