body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  background: black url('../img/gruas-en-bogota-fondo.jpg') no-repeat center center fixed;
  background-size: cover;
  color: white;
}

.logo {
  font-weight: bold;
  font-size: 1.1rem;
}

#nav-links {
  display: none;
  flex-direction: column;
  background: #000;
  position: absolute;
  top: 60px;
  right: 20px;
  border: 1px solid yellow;
  padding: 10px;
}

#nav-links a {
  color: yellow;
  text-decoration: none;
  margin: 5px 0;
  font-weight: bold;
}

#nav-links.show {
  display: flex;
}

.hidden {
  display: none !important;
}

.hero-bg {
  background: rgba(0, 0, 0, 0.6);
  padding: 100px 20px;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn-llamar, .btn-whatsapp {
  display: inline-block;
  margin: 10px;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  color: #ffffff; /* Blanco puro */
  font-weight: bold;
  transition: 0.3s;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7); /* Sombra para más contraste */
}

.btn-llamar {
  background-color: #b00000; /* Rojo más oscuro */
}

.btn-whatsapp {
  background-color: #128C4A; /* Verde más oscuro */
}

.btn-llamar:hover, .btn-whatsapp:hover {
  transform: scale(1.05);
}

.linea-negra {
  border: none;
  border-top: 3px solid black;
  margin: 50px 0;
}

.testimonios {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 40px 20px;
  text-align: center;
}

.slider-testimonio img {
  width: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.slider-testimonio p {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.ubicacion-texto {
  font-weight: bold;
  color: #00ff90;
  margin-top: 10px;
}

.zona-mapa-google-doble {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  padding: 40px 20px;
  color: white;
  gap: 40px;
  text-align: center;
}

.mapa-box-real {
  max-width: 450px;
  width: 100%;
}

.google-box {
  max-width: 400px;
}

.btn-opiniones {
  background: #4285F4;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
}

.btn-opiniones:hover {
  background: #3367D6;
}

footer {
  background: #111;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
}

.zona-mapa-reseñas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: transparent;
  padding: 50px 20px;
  color: white;
  border-bottom: 20px;
}

.box-mapa {
  max-width: 400px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.box-reseña {
  max-width: 300px;
  width: 100%;
  background: transparent;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: none;
}



.box-reseña h3 {
  margin: 10px 0 5px;
}

.estrellas {
  color: gold;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

#texto-reseña {
  font-style: italic;
  min-height: 60px;
}

.btn-ver, .btn-escribir {
  display: block;
  margin: 10px auto;
  background: white;
  color: black;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  width: 90%;
  transition: 0.3s;
}

.btn-ver:hover, .btn-escribir:hover {
  background: #ccc;
}

.box-mapa iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 12px;
}

.faq {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 50px 20px;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
}

.faq h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

.faq-item {
  margin-bottom: 30px;
  border-left: 4px solid yellow;
  padding-left: 15px;
  border-bottom: 1px solid #444;
}

.faq-item h3 {
  font-size: 1.2rem;
  color: yellow;
}

.faq-item p {
  margin-top: 8px;
  line-height: 1.6;
}

.faq-pregunta {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 15px 10px;
  cursor: pointer;
  color: yellow;
  transition: background 0.3s ease;
}

.faq-pregunta:hover {
  background: rgba(255, 255, 0, 0.1);
}

.faq-respuesta {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background: rgba(255, 255, 255, 0.05);
  padding: 0 10px;
  color: white;
}

.faq-item.activa .faq-respuesta {
  max-height: 300px;
  padding: 15px 10px;
}

.backlink {
  background-color: rgba(255, 255, 0, 0.1);
  padding: 40px 20px;
  max-width: 800px;
  margin: 60px auto;
  border: 2px dashed yellow;
  border-radius: 12px;
  color: white;
  text-align: center;
}

.backlink h2 {
  color: yellow;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.codigo-backlink {
  width: 90%;
  background: #111;
  color: #0f0;
  border: 1px solid yellow;
  border-radius: 8px;
  padding: 12px;
  font-family: monospace;
  font-size: 0.95rem; 
  margin: 20px 0;
  cursor: pointer;
}

.backlink-icons {
  background: rgba(0, 0, 0, 0.85);
  padding: 50px 20px;
  text-align: center;
  border-radius: 16px;
  margin: 40px auto;
  max-width: 1000px;
}

.backlink-icons h2 {
  color: yellow;
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.iconos-backlinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.icono-item {
display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  width: 140px;
  transition: transform 0.3s;
  color: white;
}

.icono-item img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid yellow;
  margin-bottom: 10px;
  background: white;
  transition: transform 0.5s ease, filter 0.5s ease;
  animation: brilloRed 2.5s infinite;
}

.icono-item p {
  color: yellow;
  font-weight: bold;
  font-size: 0.95rem;
  margin-top: 5px;
}

.icono-item:hover {
  transform: scale(1.1);
}

.icono-item:hover img {
  transform: scale(1.2) rotate(10deg);
  filter: brightness(1.3) drop-shadow(0 0 10px yellow);
}

@keyframes brilloRed {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.whatsapp1 {
  width: 70px;
  height: 70px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: pulse 1.5s infinite;
  box-shadow: 0 0 15px rgba(0,255,0,0.6);
  transition: transform 0.3s;
}

.whatsapp1 img {
  width: 40px;
  height: 40px;
}

.whatsapp1:hover {
  transform: scale(1.2);
}

.btn-call1 {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: #FFC107;
  border-radius: 50%;
  font-size: 26px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: transform 0.3s;
  z-index: 9999;
}

.btn-call1:hover {
  transform: scale(1.1);
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(11, 11, 11, 0.7);}
  50% { transform: scale(1.1); box-shadow: 0 0 15px rgba(8, 8, 8, 0.9);}
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(17, 17, 17, 0.7);}
}

.whatsapp-text-glow {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 140px;
  z-index: 9999;
  animation: salto 1.8s infinite;
  cursor: pointer;
  transition: transform 0.3s ease;
}

@keyframes salto {
  0%, 100% { transform: translateY(0);}
}

.whatsapp-text-glow:hover {
  transform: scale(1.1);
}

.noticias-dinamicas {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px 20px;
  border-radius: 16px;
  margin: 50px auto;
  max-width: 1000px;
  color: white;
}

.noticias-dinamicas h2 {
  color: yellow;
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
}

.noticia-item {
  background-color: rgba(0, 0, 0, 0.75);
  padding: 20px;
  border-left: 5px solid yellow;
  border-radius: 10px;
  margin-bottom: 20px;
}

.noticia-item h3 {
  color: #00ffcc;
  margin-bottom: 10px;
}

.noticia-item p {
  margin-bottom: 10px;
}

.noticia-item span {
  font-size: 0.85rem;
  color: #ccc;
}

.seccion-destacada {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: transparent;
  gap: 40px;
  flex-wrap: wrap;
}

.visual img {
  max-width: 350px;
  animation: flotar 4s ease-in-out infinite;
}

@keyframes flotar {
  0%, 100% { transform: translateY(0);}
}

.texto {
  max-width: 500px;
}

.texto h2 {
  font-size: 2rem;
  color: #00ffff;
  margin-bottom: 20px;
}

.flotantes {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.flotantes.visible {
  opacity: 0.8;
  pointer-events: auto;
  animation: pulse 2s infinite;
}

.flotantes a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 55px;
  height: 55px;
  background: #25d366;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.flotantes a.llamada {
  background: red;
}

.flotantes a:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  animation: vibrar 0.2s linear 2;
}

.flotantes i {
  color: white;
  font-size: 24px;
}

@keyframes vibrar {
  0% { transform: translateY(-50%) translateX(0);}
  25% { transform: translateY(-50%) translateX(-2px);}
  50% { transform: translateY(-50%) translateX(2px);}
  75% { transform: translateY(-50%) translateX(-2px);}
  100% { transform: translateY(-50%) translateX(0);}
}

@media screen and (max-width: 768px) {
  .seccion-destacada {
    flex-direction: column;
    padding: 40px 20px;
  }
  .hero-bg {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  nav#nav-links {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }
  .reseña {
    width: 100% !important;
    margin: 0 auto;
  }
  .iconos-redes {
    gap: 15px;
  }
  .icono-item img {
    width: 40px;
    height: 40px;
  }
  .icono-item p {
    font-size: 0.8rem;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .hero-bg {
    flex-direction: row;
    flex-wrap: wrap;
    text-align: left;
  }
  nav#nav-links {
    flex-direction: row;
    justify-content: flex-end;
    gap: 15px;
  }
  .reseña {
    width: 45% !important;
    margin: 10px auto;
  }
}

@media screen and (min-width: 1920px) {
  html {
    font-size: 18px;
  }
  .container, .hero-bg, .zona-mapa-reseñas {
    max-width: 1600px;
  }
  .flotantes {
    right: 30px;
  }
}

.animated-boton {
  transition: all 1s ease;
  position: relative;
}

.deslizar-izquierda {
  transform: translateX(-200px);
}

.deslizar-derecha {
  transform: translateX(200px);
}

.fijo-izquierda {
  position: fixed;
  top: 40%;
  left: 10px;
  transform: none !important;
  z-index: 9999;
}

.fijo-derecha {
  position: fixed;
  top: 40%;
  right: 10px;
  transform: none !important;
  z-index: 9999;
}

.carga-superpuesta {
  background: url('../img/foto-carga.webp') no-repeat center center/cover;
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carga-overlay {
  background: transparent;
  padding: 30px;
  text-align: center;
  color: white;
  max-width: 90%;
  border-radius: 12px;
}

.carga-overlay h1 {
  font-size: 2.5rem;
  color: yellow;
  margin-bottom: 15px;
}

.carga-overlay p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn-carga-masinfo {
  background-color: yellow;
  color: black;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-carga-masinfo:hover {
  background-color: #00cc88;
}

.seccion-enmarcada {
  background-color: rgba(255, 255, 0, 0.05);
  padding: 40px 20px;
  border-radius: 16px;
  color: white;
  max-width: 1000px;
  margin: 40px auto;
}

.backlink.seccion-enmarcada {
  border: 2px dashed yellow;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(255, 255, 0, 0.3);
  transition: box-shadow 0.5s ease;
}

.backlink.seccion-enmarcada:hover {
  box-shadow: 0 0 25px rgba(255, 255, 0, 0.5);
}

.ruleta-social {
  text-align:center; margin-top:50px; color:white;
}

.ruleta-contenedor {
  width:300px; height:300px; margin:0 auto; position:relative;
}

#ruleta {
  width:100%; height:100%; border-radius:50%; border:10px solid gold; overflow:hidden; transition:transform 3s ease-out; position:relative;
}

#ruleta.girando {
  transform:rotate(1440deg);
}

.puntero {
  position:absolute; top:-30px; left:50%; transform:translateX(-50%); width:0; height:0; border-left:15px solid transparent; border-right:15px solid transparent; border-bottom:30px solid yellow;
}

.opciones {
  display:grid; grid-template-columns:repeat(2,1fr); grid-template-rows:repeat(2,1fr); height:100%;
}

.red {
  display:flex; justify-content:center; align-items:center; color:white; font-weight:bold; font-size:18px; background:var(--color); cursor:pointer;
}

.iconos-redes-container {
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed yellow;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(255, 255, 0, 0.1);
  text-align: center;
  margin: 30px auto;
  max-width: 600px;
}

.iconos-redes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

@keyframes brilloBoton {
  0% { box-shadow: 0 0 5px rgba(37, 211, 102, 0.4);}
  50% { box-shadow: 0 0 20px rgba(37, 211, 102, 0.9);}
  100% { box-shadow: 0 0 5px rgba(37, 211, 102, 0.4);}
}

.brillo-activo {
  animation: brilloBoton 2s infinite;
}

@keyframes zoomInSuave {
  0% { opacity: 0; transform: scale(0.7) translateY(10px);}
  60% { opacity: 1; transform: scale(1.1) translateY(0);}
  100% { transform: scale(1);}
}

.mensaje-ayuda.animada {
  animation: zoomInSuave 0.4s ease-out;
}

.mensaje-ayuda {
  position: absolute;
  right: 10px;
  bottom: 90px;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 999;
}

.mensaje-ayuda.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 768px) {
  .mensaje-ayuda {
    right: 50%;
    bottom: 110px;
    transform: translateX(50%) translateY(10px);
    font-size: 13px;
    padding: 6px 10px;
    white-space: nowrap;
  }
  .mensaje-ayuda.visible {
    transform: translateX(50%) translateY(0);
  }
}

.indicadores-reseñas {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.indicadores-reseñas span {
  font-size: 20px;
  margin: 0 5px;
  cursor: pointer;
  color: #888;
  transition: color 0.3s;
}

.indicadores-reseñas span.activo {
  color: #000;
}

.seccion-ubicacion-link {
  background: transparent;
  border: 2px dashed yellow;
  padding: 50px 20px;
  text-align: center;
  color: white;
  margin: 40px auto;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(255,255,0,0.2);
   /* ✅ Reserva de altura para evitar salto en CLS */
  min-height: 220px; /* ajusta según la altura real que suele ocupar */
}

.seccion-ubicacion-link h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: yellow;
}

.seccion-ubicacion-link p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.btn-ubicacion {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  background: #ff0;
  color: black;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 15px yellow;
  animation: vibrar 2s infinite;

  /* ✅ Fijar tamaño mínimo para evitar CLS */
  min-width: 220px;
  min-height: 44px;
  line-height: 44px; /* centra verticalmente el texto */
}


.btn-ubicacion:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 0 30px yellow;
}

@keyframes vibrar {
  0%, 100% { transform: translateX(0);}
  25% { transform: translateX(-2px);}
  50% { transform: translateX(2px);}
  75% { transform: translateX(-2px);}
}

.boton-grua-flotante {
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 999;
  width: 70px;
  height: 70px;
  cursor: pointer;
  animation: flotarGrua 3s ease-in-out infinite;
}

.grua-icono {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.acciones-grua {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  bottom: 80px;
  right: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.acciones-grua a {
  background-color: #25D366;
  color: white;
  text-decoration: none;
  padding: 10px;
  border-radius: 50%;
  font-size: 20px;
  box-shadow: 0 0 10px yellow;
  transition: transform 0.3s;
}

.acciones-grua a:nth-child(2) {
  background-color: red;
}

.boton-grua-flotante:hover .acciones-grua {
  opacity: 1;
  pointer-events: all;
}

.boton-grua-flotante:hover .grua-icono {
  transform: rotate(-10deg) scale(1.1);
}

@keyframes flotarGrua {
  0%, 100% { transform: translateY(0);}
  50% { transform: translateY(-8px);}
}

.footer-grua {
  position: relative;
  padding: 60px 20px 30px;
  background: transparent;
  backdrop-filter: blur(6px);
  color: #f0f0f0;
  z-index: 1;
  overflow: hidden;
  border-top: 2px solid yellow;
}

.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
  gap: 40px;
  z-index: 2;
  position: relative;
}

.footer-col {
  flex: 1 1 220px;
  min-width: 200px;
}

.footer-col h3 {
  color: yellow;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.footer-col a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col a:hover {
  color: yellow;
  text-decoration: underline;
}

.footer-copy {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #aaa;
  position: relative;
  z-index: 2;
}

.grua-decorativa {
  position: absolute;
  bottom: 10px;
  right: 20px;
  width: 200px;
  height: 200px;
  background-image: url('img/grua-footer.webp');
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.07;
  z-index: 0;
  pointer-events: none;
  animation: brillarFooter 15s ease-in-out infinite;
}

@keyframes brillarFooter {
  0%, 100% { filter: brightness(1); transform: rotate(0deg);}
  50% { filter: brightness(1.4); transform: rotate(1deg);}
}

/* Utilidades */
* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
.container, .hero-bg, .zona-mapa-reseñas { max-width: 1200px; margin: 0 auto; padding: 0 15px; }


.noticias-fifa.seccion-enmarcada{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.grid-noticias {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.carta-noticia {
  perspective: 1000px;
  height: 250px;
  position: relative;
}

.cara-delantera,
.cara-trasera {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background-color: #000;
  color: white;
  border: 2px solid yellow;
  border-radius: 15px;
  padding: 20px;
  transition: transform 0.6s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cara-trasera {
  transform: rotateY(180deg);
  background-color: #111;
}

.carta-noticia:hover .cara-delantera {
  transform: rotateY(180deg);
}

.carta-noticia:hover .cara-trasera {
  transform: rotateY(360deg);
}
.boton-grua-flotante {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 1000;
}

.grua-icono {
  width: 70px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.grua-icono:hover {
  transform: scale(1.1) rotate(-5deg);
}

.acciones-grua {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 10px;
}

.boton-grua-flotante:hover .acciones-grua {
  display: flex;
}

.acciones-grua a {
  display: flex;
  align-items: center;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  padding: 8px 12px;
  margin: 4px 0;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.acciones-grua a i {
  font-size: 20px;
  margin-right: 8px;
}

.acciones-grua a[href*="wa.me"] {
  background-color: #25d366;
  color: white;
}

.acciones-grua a[href*="tel:"] {
  background-color: #f44336;
  color: white;
}

.acciones-grua a:hover {
  opacity: 0.9;
}

.enlace-legal, .enlace-contacto {
  display: inline-block;
  padding: 12px 16px; /* Aumenta área táctil */
  margin: 6px 0;      /* Separación entre enlaces */
  font-size: 16px;    /* Letra legible en móvil */
  text-decoration: none;
  color: #ffffff;     /* Ajusta a tu tema */
  background-color: rgba(0, 0, 0, 0.2); /* Fondo suave */
  border-radius: 6px;
  transition: background-color 0.3s;
}

.enlace-legal:hover, .enlace-contacto:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Evita saltos cuando carga la fuente o el contenido del hero */
.hero-content{
  min-height: 320px; /* ajusta al alto real de tu bloque */
}


/* Evita que el texto de ayuda mueva el layout al aparecer */
.mensaje-ayuda{
  display: inline-block;
  min-width: 140px;
  min-height: 20px;
}

/* Botón "ENVIAR MI UBICACIÓN": reserva altura mínima para que no empuje contenido cuando se pinta la fuente */
.btn-ubicacion{
  display:inline-block;
  min-height: 44px;      /* área táctil mínima */
  line-height: 44px;     /* centra el texto si usas altura fija */
}

/* Tarjetas de noticias: tamaño estable para que la trasera/delantera no cambien el flujo */
.carta-noticia{
  min-height: 180px; /* ajusta según tu diseño */
}

/* Botón flotante: fijo para que nunca empuje el contenido */
.boton-grua-flotante{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
}
section h1, article h1, aside h1, nav h1 {
  font-size: 2rem; /* o el tamaño que uses en tu diseño */
  line-height: 1.2; /* opcional para mejor legibilidad */
}

.hero-content {
  min-height: 240px; /* ajusta al alto real del bloque */
}

.seccion-ubicacion-link {
  min-height: 180px; /* asegura que no se mueva al cargar */
}

.btn-ubicacion {
  min-width: 180px;
  min-height: 44px;
}


#noticias-scroll {
  display: flex;
  white-space: nowrap;
  overflow: hidden;
  height: 24px; /* Altura fija para evitar saltos */
  line-height: 24px; /* Centrado vertical */
}

#noticias-scroll span {
  margin-right: 20px; /* Simula el gap */
}

.btn-formulario {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 16px;
  background: #ffcc00;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.btn-formulario:hover {
  background: #ffdb4d;
}

.btn-formulario {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 14px;
  background-color: #ffcc00;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn-formulario:hover {
  background-color: #ffdb4d;
}

/* --- Centrar y fijar tamaño de las fotos en reseñas --- */
.box-reseña, .slider-testimonio { text-align: center; } /* por si el <img> es inline */

.logo-reseña,
.box-reseña img,
.slider-testimonio img{
  display: block;          /* para poder usar margin auto */
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;     /* ← centra la foto */
  border-radius: 50%;      /* círculo; cambia a 8px si la quieres cuadrada */
  object-fit: cover;       /* recorte elegante dentro del 80x80 */
}

/* 1) Centra TODO el contenido de las tarjetas de reseña */
.slider-testimonio,
.box-reseña,
.box-resena,     /* alias sin ñ por compatibilidad */
.reseña,
.resena {
  display: flex;
  flex-direction: column;
  align-items: center;     /* <-- centro horizontal real en flex */
  text-align: center;
}

/* 2) Normaliza y centra la imagen del autor */
.slider-testimonio img,
.box-reseña img,
.box-resena img,
img.logo-reseña,
img.logo-resena {
  display: block;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 0 12px 0;      /* con flex no hace falta margin:auto */
  float: none !important;
  position: static !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

/* 3) Si usas un DIV con background en vez de <img>, usa esta clase */
.avatar,
.avatar-resena {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  align-self: center;      /* centra el bloque en flex */
  margin-bottom: 12px;
}

/* 4) Alias sin ñ por si el editor/servidor no codifica UTF-8 */
.logo-resena { /* mismo estilo que .logo-reseña si la usas */
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
}

/* Tarjetas internas dentro de esa sección */
.noticias-fifa .noticia-item,
.noticias-fifa .carta-noticia .cara-delantera,
.noticias-fifa .carta-noticia .cara-trasera{
  background: transparent !important;
  /* si quieres conservar el borde amarillo, deja el border; si no, quítalo: */
  /* border-color: transparent; */
}

