/* Tipografía */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap');

/* Global Styles */
body {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "Poppins", serif;
  background-color: #fff;
  overflow-x: hidden;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 130px;
  background-color: #FFFFFF;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 1000;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  height: 70px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links li {
  margin-left: 24px;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-weight: 300;
  padding: 8px 16px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ce5b0c;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-left: auto;
  position: relative;
  z-index: 1100;
}

.menu-icon .line {
  width: 28px;
  height: 3px;
  background-color: black;
  margin: 5px 0;
  transition: all 0.3s ease;
}

#menu-toggle {
  display: none;
}

@media(max-width: 768px) {

  .logo {
    height: 59px;
  }

  .navbar {
    padding: 16px 24px;
  }

  .menu-icon {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
    text-align: center;
    transition: height 0.5s ease;
    padding: 0;
  }

  .nav-links li {
    margin: 10px 0;
    padding: 0;
    width: auto;
  }

  .nav-links a {
    display: inline-block;
    padding: 12px 0;
    text-align: center;
    color: black;
    font-size: 18px;
  }

  #menu-toggle:checked+.menu-icon+.nav-links {
    height: auto;
    padding: 20px 0;
  }

  #menu-toggle:checked+.menu-icon .line:nth-child(1) {
    transform: rotate(45deg) translate(15px, 3px);
  }

  #menu-toggle:checked+.menu-icon .line:nth-child(2) {
    transform: scale(0);
  }

  #menu-toggle:checked+.menu-icon .line:nth-child(3) {
    transform: rotate(-45deg) translate(15px, -4px);
  }
}

/***************************************************************************************/

/* SECCIÓN PRINCIPAL */

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(68, 68, 68, 0.3));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 750px;
  padding: 40px;
}

.hero-content h1 {
  font-weight: 200;
  font-size: 3rem;
  margin-top: 220px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero-content p {
  font-weight: 200;
  font-size: 1.3rem;
  color: #e0e0e0;
  margin-bottom: 30px;
  line-height: 1.5;
}

.hero-content button {
  background-color: #ce5b0c;
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: 25px;
  font-weight: 200;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-content button:hover {
  background-color: #ce5b0c;
  transform: translateY(-2px);
}

.hero-btn {
  background-color: #ce5b0c;
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  display: inline-block;
}

.hero-btn:hover {
  background-color: #ce5b0c;
  transform: translateY(-2px);
}

/***************************************************************************************/

/* SECCIÓN ¿POR QUÉ ELEGIR A ALBERTO NEGRETE? */
.porque-elegir {
  padding: 80px 10%;
  background-color: black;
}

.porque-elegir-contenedor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.porque-elegir-imagen {
  flex: 1;
  display: flex;
  justify-content: center;
}

.porque-elegir-imagen img {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.4);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.porque-elegir-texto {
  flex: 1;
  min-width: 320px;
}

.porque-elegir-texto h2 {
  font-weight: 400;
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 15px;
}

.porque-elegir-texto p {
  font-size: 1.1rem;
  color: #f1f1f1;
  line-height: 1.7;
  margin-bottom: 25px;
}

.porque-elegir-texto ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.porque-elegir-texto li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-weight: 300;
  font-size: 1rem;
  color: #fff;
}

.porque-elegir-texto li::before {
  content: "✔";
  color: #ce5b0c;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* ================= */
/* Diseño Responsivo */
/* ================= */

/* Tablets (hasta 992px) */
@media (max-width: 992px) {
  .porque-elegir {
    padding: 60px 8%;
  }

  .porque-elegir-contenedor {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
  }

  .porque-elegir-imagen img {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .porque-elegir-texto {
    text-align: center;
    width: 100%;
  }

  .porque-elegir-texto ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 500px;
    text-align: center;
  }

  .porque-elegir-texto li {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.4;
  }

  .porque-elegir-texto li::before {
    content: "✔";
    color: #ff7a00;
    font-weight: bold;
    font-size: 1.2rem;
    position: relative;
  }
}


@media (max-width: 768px) {
  .porque-elegir-contenedor {
    flex-direction: column;
    text-align: center;
  }

  .porque-elegir-imagen img {
    max-width: 320px;
    width: 100%;
    height: auto;
  }

  .porque-elegir-texto {
    text-align: center;
  }

  .porque-elegir-texto li {
    text-align: left;
    display: inline-block;
  }

  .porque-elegir-texto li::before {
    content: "✔";
    color: #ce5b0c;
    font-weight: bold;
  }
}

@media (max-width: 768px) {
  .porque-elegir {
    padding: 60px 6%;
  }

  .porque-elegir-texto h2 {
    font-size: 1.8rem;
  }

  .porque-elegir-texto p {
    font-size: 1rem;
  }

  .porque-elegir-imagen img {
    max-width: 320px;
    width: 100%;
    height: auto;
  }

  .porque-elegir-texto li::before {
    content: "✔";
    color: #ce5b0c;
    font-weight: bold;
  }
}

@media (max-width: 600px) {
  .porque-elegir-contenedor {
    flex-direction: column;
    text-align: center;
  }

  .porque-elegir-imagen img {
    max-width: 350px;
  }

  .porque-elegir-texto {
    text-align: center;
  }

  .porque-elegir-texto ul {
    display: inline-block;
    text-align: left;
  }

  .porque-elegir-texto h2 {
    font-size: 1.7rem;
  }

  .porque-elegir-texto p {
    font-size: 0.9rem;
    font-weight: 300;
  }

  .porque-elegir-texto li::before {
    content: "✔";
    color: #ce5b0c;
    font-weight: bold;
  }
}

@media (max-width: 480px) {
  .porque-elegir-texto ul {
    padding-left: 0;
  }

  .porque-elegir-texto li {
    position: relative;
    padding-left: 28px;
    display: block;
    text-align: left;
    margin-bottom: 12px;
  }

  .porque-elegir-texto li::before {
    content: "✔";
    color: #ce5b0c;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .porque-elegir {
    padding: 50px 5%;
  }

  .porque-elegir-texto h2 {
    font-size: 1.6rem;
  }

  .porque-elegir-texto p {
    font-size: 0.95rem;
  }

  .porque-elegir-texto li {
    font-size: 0.9rem;
  }

  .porque-elegir-imagen img {
    max-width: 250px;
  }

  .porque-elegir-texto li::before {
    content: "✔";
    color: #ce5b0c;
    font-weight: bold;
  }
}

@media (max-width: 430px) {
  .porque-elegir {
    padding: 40px 5%;
  }

  .porque-elegir-contenedor {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .porque-elegir-imagen img {
    max-width: 230px;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
  }

  .porque-elegir-texto {
    width: 100%;
    text-align: center;
  }

  .porque-elegir-texto h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .porque-elegir-texto p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .porque-elegir-texto ul {
    display: inline-block;
    text-align: left;
    padding: 0;
  }

  .porque-elegir-texto li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    padding-left: 26px;
  }

  .porque-elegir-texto li::before {
    font-size: 1rem;
    top: 0;
  }
}

@media (max-width: 375px) {
  .porque-elegir {
    padding: 35px 4%;
  }

  .porque-elegir-imagen img {
    max-width: 200px;
  }

  .porque-elegir-texto h2 {
    font-size: 1.3rem;
  }

  .porque-elegir-texto p {
    font-size: 0.85rem;
  }

  .porque-elegir-texto li {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }

  .porque-elegir-texto li::before {
    font-size: 0.95rem;
  }
}

@media (max-width: 340px) {
  .porque-elegir {
    padding: 30px 4%;
    text-align: center;
  }

  .porque-elegir-contenedor {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    width: 100%;
  }

  .porque-elegir-imagen {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .porque-elegir-imagen img {
    max-width: 180px;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
  }

  .porque-elegir-texto {
    width: 100%;
    text-align: center;
  }

  .porque-elegir-texto h2 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .porque-elegir-texto p {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 10px;
  }

  .porque-elegir-texto ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    text-align: left;
  }

  .porque-elegir-texto li {
    font-size: 0.8rem;
    padding-left: 22px;
    margin-bottom: 8px;
    position: relative;
  }

  .porque-elegir-texto li::before {
    content: "✔";
    font-size: 0.9rem;
    color: #ce5b0c;
    position: absolute;
    left: 0;
    top: 0;
  }
}

/***************************************************************************************/

/* Sección Historia y Trayectoria */
.historia-trayectoria-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 80px 20px;
  background-color: #f8f8f8;
  margin-bottom: -80px;
}

.historia-trayectoria-content {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.historia-trayectoria-img {
  display: block;
  margin: 0 auto 30px auto;
  width: auto;
  height: 480px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.historia-trayectoria-title {
  font-weight: 300;
  font-size: 3rem;
  color: #ce5b0c;
  margin-bottom: 12px;
}

.historia-trayectoria-text {
  font-size: 1.1rem;
  font-weight: 300;
  color: #444;
  line-height: 1.7;
  max-width: 950px;
  margin: 0 auto;
}

/* Responsivo */
@media (max-width: 768px) {
  .historia-trayectoria-img {
    height: 360px;
  }

  .historia-trayectoria-title {
    font-size: 1.6rem;
  }

  .historia-trayectoria-text {
    font-size: 1rem;
  }
}

/***************************************************************************************/

/* Línea del Tiempo */

.linea-tiempo-container {
  background-color: #f8f8f8;
  padding: 80px 20px;
  position: relative;
}

.linea-tiempo {
  margin-top: 50px;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.linea-tiempo::after {
  content: "";
  position: absolute;
  width: 4px;
  background-color: #ce5b0c;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 4px;
}

/* Eventos */
.evento {
  padding: 20px 40px;
  position: relative;
  width: 50%;
}

.evento .content {
  background: #f9f9f9;
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.evento h3 {
  color: #ce5b0c;
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 8px;
}

.evento p {
  color: #444;
  line-height: 1.6;
  font-weight: 300;
  font-size: 1rem;
}

/* Lado izquierdo */
.evento.left {
  left: -80px;
  text-align: right;
}

/* Lado derecho */
.evento.right {
  left: 50%;
}

/* Círculos en la línea */
.evento::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: #ce5b0c;
  border: 3px solid #fff;
  top: 30px;
  border-radius: 50%;
  z-index: 1;
}

.evento.right::before {
  left: -10px;
}

/* ========= RESPONSIVE ========= */
@media (max-width: 900px) {
  .linea-tiempo::after {
    left: 8px;
    /* mover la línea a la izquierda */
  }

  .evento {
    width: 95%;
    padding-left: 30px;
    padding-right: 10px;
    text-align: left !important;
  }
}

/* Responsivo */
@media (max-width: 900px) {
  .linea-tiempo-container {
    padding: 50px 15px;
  }

  .linea-tiempo {
    max-width: 100%;
  }

  .linea-tiempo::after {
    left: 25px;
    width: 3px;
  }

  .evento {
    width: 90%;
    padding: 10px 20px 10px 55px;
    margin-bottom: 25px;
  }

  .evento.left,
  .evento.right {
    left: 0;
  }

  .evento::before {
    left: 0;
    margin-left: 17px;
  }

  .evento .content {
    border-right: none;
  }

  .evento h3 {
    font-size: 1.1rem;
  }

  .evento p {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .linea-tiempo::after {
    left: 8px;
  }

  .evento {
    width: 90%;
    padding-left: 30px;
    padding-right: 10px;
    text-align: left !important;
  }

  .evento.left,
  .evento.right {
    left: 0;
  }

  .evento::before {
    left: 0;
    margin-left: -8px;
  }

  .evento .content {
    border-right: none;
  }

  .evento h3 {
    font-size: 1.1rem;
  }

  .evento p {
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .linea-tiempo-container {
    padding: 60px 15px;
  }

  .evento .content {
    padding: 16px 20px;
  }

  .evento::before {
    width: 20px;
    height: 20px;
    margin-left: 0px;
  }
}

@media (max-width: 480px) {
  .linea-tiempo-container {
    padding: 40px 10px;
  }

  .evento .content {
    padding: 14px 18px;
  }

  .evento::before {
    width: 20px;
    height: 20px;
    margin-left: 5px;
    left: -10px;
    width: 14px;
    height: 14px;
    top: 20px;
  }

  .evento .content {
    padding: 15px 18px;
    border-radius: 8px;
  }

  .evento h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
  }

  .evento p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}

/***************************************************************************************/

/* Sección Logos */

.colaboraciones-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.colaboraciones-title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 40px;
  font-weight: 400;
}

.colaboraciones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.logo-item img {
  width: 120px;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.logo-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* Responsivo */
@media (max-width: 768px) {
  .colaboraciones-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .logo-item img {
    width: 90px;
  }
}

/***************************************************************************************/

/* Mapa debajo */
.map-container {
  width: 100%;
  /* filter: grayscale(100%); */
  margin-top: -5px;
  margin-bottom: -10px;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Responsivo */
@media (max-width: 900px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-content button {
    padding: 12px 25px;
    font-size: 0.95rem;
  }
}

/***************************************************************************************/

/* BOTÓN FLOTANTE WHATSAPP */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #fff;
    height: 56px;
    width: 56px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: width 0.3s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    width: 280px;
}

.whatsapp-text {
    white-space: nowrap;
    opacity: 0;
    margin-left: 20px;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    margin-left: 130px;
}

.whatsapp-icon {
    font-size: 28px;
    margin-right: 126px;
}

/***************************************************************************************/

/* Footer */
.footer {
  background-color: #e2e2e2;
  color: #000;
  padding: 5px 0;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  gap: 80px;
  margin-bottom: 10px;
}

.footer-section {
  flex: 1 1 220px;
  max-width: 260px;
  min-width: 220px;
  padding: 10px;
  text-align: center;
}

.footer-section img.footer-imagen {
  margin-top: 15px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.footer-section h3 {
  margin-bottom: 10px;
  font-weight: 500;
  text-align: center;
}

.footer-section p {
  margin-bottom: 0;
  text-align: center;
  line-height: 1.4;
  font-weight: 300;
}

.redes a {
  display: inline-block;
}

.footer-section .fa-brands {
  font-size: 28px;
  margin: 0 10px;
  transition: transform 0.3s ease;
  color: black;
}

.footer-section .fa-brands:hover {
  transform: scale(1.2);
  color: #ce5b0c;
}

.footer-link {
  display: block;
  color: black;
  text-decoration: none;
  margin: 6px 0;
  transition: color 0.3s ease;
  font-weight: 300;
}

.footer-link:hover {
  color: #ce5b0c;
}

/* Responsivo */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 20px;
  }

  .footer-section {
    width: 100%;
    max-width: 400px;
    text-align: center;
    margin: 0;
    padding: 5px 0;
  }

  .footer-section h3 {
    margin-top: -75px;
    margin-bottom: 6px;
  }

  .footer-section p {
    margin-bottom: 4px;
    line-height: 1.3;
  }

  .footer-section img.footer-imagen {
    width: 50%;
    max-width: 170px;
    margin: 0 auto 8px auto;
    display: block;
    margin-top: 15px;
  }

  .footer-section .fa-brands {
    margin: 0 8px;
    font-size: 26px;
  }
}