:root {
  --verde: #4C7C4C;
  --amarillo: #F2C94C;
  --naranja: #F2994A;
  --blanco: #fff;
  --gris: #f5f5f5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background-color: var(--gris);
  color: #333;
  line-height: 1.6;
}

.header {
  position: relative;
  padding: 2rem 1rem;
  min-height: 120px; 
  color: var(--blanco);
  background-image: url('/img/imagenFondoLogo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /*animation: zoomBackground 15s ease-in-out infinite;*/
  z-index: 1;
  overflow: hidden;
}

/*.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.2); /* Blanco translúcido encima 
  z-index: 0;
}*/

.header::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); /* 45% negro */
  z-index: 0;
}



.header-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  flex-wrap: wrap;
}

.header-texto {
  flex: 1;
  color: var(--blanco);
  text-align: left;
}

.logo {
  width: 500px;       /* Ajustá este valor a tu gusto */
  height: auto;
  max-height: 250px;  /* Para evitar que sea más alto que el header */
  object-fit: contain;
  display: block;
}

.header img,
.header h1,
.header p {
  position: relative;
  z-index: 1;
}


.navbar {
  display: flex;
  justify-content: center;
  background-color: var(--amarillo);
  padding: 0.5rem;
  gap: 2rem;
}

.navbar a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.navbar a:hover {
  color: var(--naranja);
}

.seccion {
  padding: 2rem 1rem;
  animation: fadeInUp 1s ease-out;
}

.seccion h2 {
  color: var(--verde);
  margin-bottom: 1rem;
  text-align: center;
}

ul {
  list-style: none;
  padding-left: 0;
  max-width: 600px;
  margin: 0 auto;
}

ul li {
  background: var(--blanco);
  margin: 0.5rem 0;
  padding: 1rem;
  border-left: 5px solid var(--naranja);
}

.galeria {
  text-align: center;
  background-color: var(--blanco);
  padding: 2rem;
}

.contacto {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contacto p {
  margin: 0.5rem 0;
  text-align: center;
}

.contacto form {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  background-color: var(--blanco);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contacto input,
.contacto textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contacto button {
  background-color: var(--verde);
  color: var(--blanco);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
}

.contacto button:hover {
  background-color: var(--naranja);
}

.terminos-condiciones {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.terminos-condiciones label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
  cursor: pointer;
}

.terminos-condiciones input[type="checkbox"] {
  transform: scale(1.2);
  accent-color: var(--verde);
}

.terminos-condiciones a {
  color: var(--verde);
  text-decoration: underline;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.5s ease;
}



/*ESTO ES IMAGENES INDEX*/
.galeria-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.ba-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.20);
}

/* Imagen base */
.ba-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Pequeño zoom al mover el slider */
.ba-container:active img,
.ba-container:hover img {
  transform: scale(1.03);
}









/*ESTO ES FLIP CARD INDEX*/


/* CONTENEDOR RESPONSIVE */
.galeria-flip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  padding: 20px 0;
}

/* TARJETA */
.flip-card {
  width: 260px;     /* más estrecha */
  height: 380px;    /* más alta */
  perspective: 1000px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

/* CARAS */
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  backface-visibility: hidden;
  overflow: hidden;
}

.flip-card-front img,
.flip-card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* Muestra toda la imagen */
  background-color: #000; /* Opcional: fondo para que no se vea en blanco */
}

.flip-card-back {
  transform: rotateY(180deg);
}

@media (max-width: 600px) {
  .flip-card {
    width: 90%;
    height: 420px; /* un poco más alta en móviles */
    margin: 0 auto;
  }
}




/* FIN de ESTO ES FLIP CARD INDEX*/











/*RESEÑAS*/


.reviews-section {
  padding: 40px 20px;
  max-width: 1100px;
  margin: auto;
}

/* WIDGET DE VALORACIÓN */
.google-score {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin-bottom: 40px;
}

.google-icon {
  width: 55px;
}

.google-score h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.score {
  font-size: 22px;
  font-weight: bold;
  margin: 5px 0;
}

.reviews-count {
  font-size: 14px;
  color: #666;
}

/* CARRUSEL */
.reviews-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

.reviews-carousel::-webkit-scrollbar {
  height: 8px;
}

.reviews-carousel::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 10px;
}

.review-card {
  flex: 0 0 280px;
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  scroll-snap-align: start;
}

.stars {
  font-size: 18px;
  margin-bottom: 10px;
}

.text {
  font-size: 15px;
  color: #444;
  margin-bottom: 15px;
}

.author {
  font-size: 14px;
  color: #777;
  text-align: right;
}

/* BOTÓN */
.review-button {
  text-align: center;
  margin-top: 30px;
}

.btn-google {
  display: inline-block;
  padding: 12px 24px;
  background: #4285F4;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  transition: 0.2s ease;
}

.btn-google:hover {
  background: #2e6ce6;
}


/*FIN RESEÑAS*/









@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-contenido {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.cerrar {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.modal.oculto {
  display: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- SERVICIOS --- */
.intro-servicios {
text-align: center;
max-width: 700px;
margin: 0 auto 2rem;
color: #555;
font-size: 1.1rem;
}

.grid-servicios {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 1.5rem;
max-width: 1100px;
margin: 0 auto;
}



/* CARD SERVICIO NUEVO*/
.card-servicio {
background: #fff;
padding: 20px;
border-radius: 16px;
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
text-align: center;
display: flex;
flex-direction: column;
justify-content: space-between;
transition: transform 0.3s ease, box-shadow 0.3s ease;
height: 100%;
cursor: pointer;
}

.card-servicio:hover {
transform: translateY(-8px) scale(1.02);
box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-servicio img {
transition: transform 0.4s ease;
}

.card-servicio:hover img {
transform: scale(1.05);
}

.card-servicio:hover {
transform: translateY(-5px);
}

.card-servicio i {
font-size: 2rem;
color: #2e7d32;
margin-bottom: 12px;
}

.card-servicio h3 {
margin: 10px 0;
}

.card-servicio p {
font-size: 0.95rem;
margin-bottom: 12px;
color: #555;
flex-grow: 1; /* hace que el texto se expanda y empuje la imagen hacia abajo */
}





/* Imagen dentro de la tarjeta */


.card-servicio .servicio-img {
width: 100%;
height: 180px;          /* tamaño fijo */
object-fit: cover;      /* recorta sin deformar */
border-radius: 12px;
margin-top: 10px;
}

/* --- SOBRE NOSOTROS --- */
.sobre-nosotros {
background: var(--blanco);
padding: 4rem 1rem;
}

.sobre-contenido {
display: flex;
flex-wrap: wrap;
max-width: 1100px;
margin: 0 auto;
align-items: center;
gap: 2rem;
}

.sobre-texto {
flex: 1 1 500px;
}

.sobre-texto h2 {
color: var(--verde);
font-size: 2rem;
margin-bottom: 1rem;
}

.sobre-texto p {
color: #555;
line-height: 1.6;
margin-bottom: 1rem;
}

.sobre-imagen {
flex: 1 1 400px;
text-align: center;
}

.sobre-imagen img {
max-width: 100%;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Versión móvil */
@media (max-width: 768px) {
.sobre-contenido {
  flex-direction: column;
  text-align: center;
}
}


/* --- SOBRE NOSOTROS --- */
.sobre-nosotros {
background: var(--blanco);
padding: 4rem 1rem;
border-bottom: 2px solid #eaeaea;
}

/* --- INFO CONTACTO --- */
.info-contacto {
background: #f9f9f9;
padding: 4rem 1rem;
}

.info-contacto h2 {
text-align: center;
margin-bottom: 2rem;
}

.info-contacto .info-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 1rem;
}

.info-contacto a {
color: var(--verde);
text-decoration: none;
}

.info-contacto a:hover {
text-decoration: underline;
}















@keyframes zoomBackground {
  0% { background-size: 100%; }
  50% { background-size: 105%; }
  100% { background-size: 100%; }
}

.modal-contenido {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: fadeInUp 0.5s ease;
}


footer {
  text-align: center;
  padding: 1rem;
  background-color: var(--verde);
  color: var(--blanco);
  margin-top: 2rem;
}

/*.carousel-container {
  position: relative;
  max-width: 900px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 10px;
  background-color: var(--blanco);
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}*/

.carousel-container {
  position: relative;
  max-width: 900px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 10px;
  background-color: var(--blanco);
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Imagen de fondo entre las fotos */
.carousel-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* ocupar todo el carrusel */
  height: 100%;
  background-image: url('img/fondoCentro.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3; /* más tenue para no molestar visualmente */
  z-index: 0;
  pointer-events: none;
}

.carousel {
  display: flex;
  transition: transform 1s ease-in-out;
}


.carousel img {
  width: calc(100% / 3);
  height: 200px;
  object-fit: cover;
  padding: 5px;
  box-sizing: border-box;
  transition: transform 0.4s ease, z-index 0.4s ease;
  filter: brightness(0.95);
  transform: scale(0.9);
  z-index: 1;
}

/* Imagen del centro más grande 
.carousel img:nth-child(3) {
  transform: scale(1.05);
  z-index: 2;
}*/

/* Hover sobre cualquier imagen */
.carousel img:hover {
  transform: scale(1.2);
  z-index: 10;
  filter: brightness(1.05);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.15); /* más claro */
  color: white;
  border: none;
  padding: 0.5rem;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 2;
  opacity: 0; /* Ocultos por defecto */
  transition: all 0.3s ease;
}

.carousel-container:hover .carousel-btn {
  opacity: 1; /* Aparecen solo cuando se pasa el mouse por la galería */
}

.carousel-btn.prev {
  left: 5px;
}

.carousel-btn.next {
  right: 5px;
}

.carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.3);
}
/*.carousel img.centro {
  transform: scale(1.05);
  z-index: 2;
}*/

.carousel img.centro {
  transform: scale(1.05);
  z-index: 2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  filter: brightness(1.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
}












/*Galeria de imagenes 3 */

.galeria-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1rem;
}

.card-proyecto {
position: relative;
cursor: pointer;
overflow: hidden;
border-radius: 12px;
}

.card-proyecto img {
width: 100%;
height: 200px;
object-fit: cover;
transition: transform 0.3s ease;
}

.card-proyecto:hover img {
transform: scale(1.05);
}

.overlay {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
background: rgba(0,0,0,0.5);
color: #fff;
padding: 0.5rem 1rem;
box-sizing: border-box;
transition: transform 0.3s ease, opacity 0.3s ease;
}

.overlay h3 {
margin: 0;
font-size: 1rem;
}

.overlay p {
margin: 0;
font-size: 0.85rem;
}

.modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.9);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 1000;
padding: 1rem;
}

.modal img {
max-width: 90%;
max-height: 70%;
border-radius: 10px;
margin-bottom: 1rem;
}

.modal #textoModal {
color: #fff;
text-align: center;
max-width: 600px;
}

.modal .cerrar {
position: absolute;
top: 20px;
right: 30px;
font-size: 2rem;
color: #fff;
cursor: pointer;
}

.modal.oculto {
display: none;
}

/* Responsive */



@media (max-width: 768px) {
.galeria-cards {
  grid-template-columns: 1fr; /* 1 por fila */
  gap: 1rem;
  justify-items: center;
}

.card-proyecto {
  width: 90%;
  max-width: 300px;
}

.img-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* cuadrado */
  overflow: hidden;
  border-radius: 10px;
}

.img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay h3 {
  font-size: 1rem;
  text-align: center;
}

.overlay p {
  font-size: 0.8rem;
  text-align: center;
}
}

@media (min-width: 1024px) {
.galeria-cards {
  grid-template-columns: repeat(3, 1fr); /* desktop: 3 por fila */
  padding: 2rem;
  gap: 2rem;
}
}







/*ACA VA EL IFRAME Y DEMAS DATOS PERSONALES*/
.info-contacto {
  background-color: var(--blanco);
  padding: 2rem 1rem;
  text-align: center;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 2rem auto 0;
  padding: 0 1rem;
}

.info-grid h3 {
  color: var(--verde);
  margin-bottom: 0.5rem;
}

.info-grid a {
  color: var(--naranja);
  text-decoration: none;
  font-weight: bold;
}

.info-grid a:hover {
  text-decoration: underline;
}


/*Alerta PopUp*/
.alerta {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--verde);
  color: var(--blanco);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  text-align: center;
  width: 90%;
  max-width: 400px;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.alerta.mostrar {
  opacity: 1;
  pointer-events: auto;
}

.alerta.oculto {
  opacity: 0;
}

.btn-cerrar {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: var(--amarillo);
  color: #333;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-cerrar:hover {
  background-color: var(--naranja);
}


@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* ---- NAVBAR ---- */
.navbar {
position: sticky;
top: 0;
background-color: rgba(34, 49, 63, 0.95); /* Azul oscuro semitransparente */
display: flex;
justify-content: center;
gap: 2rem;
padding: 1rem 2rem;
z-index: 1000;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
font-family: 'Montserrat', sans-serif;
}

.navbar a {
color: #fff;
text-decoration: none;
font-weight: 600;
font-size: 1rem;
position: relative;
transition: color 0.3s ease;
}

.navbar a::after {
content: '';
position: absolute;
width: 0%;
height: 2px;
bottom: -4px;
left: 0;
background-color: #8dc63f; /* Verde Masus */
transition: width 0.3s ease;
}

.navbar a:hover {
color: #8dc63f;
}

.navbar a:hover::after {
width: 100%;
}

/* Responsive para móviles */
@media (max-width: 600px) {
.navbar {
  flex-direction: column;
  align-items: center;
  padding: 1rem;
}

.navbar a {
  margin: 0.5rem 0;
}
}
/* --- NAVBAR GENERAL --- */
.navbar {
position: sticky;
top: 0;
background-color: rgba(34, 49, 63, 0.95);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.8rem 1.5rem;
z-index: 1000;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
font-family: 'Montserrat', sans-serif;
color: #fff;
}

.nav-logo {
font-weight: 700;
font-size: 1.2rem;
color: #fff;
}

/* --- NAV LINKS --- */
.nav-links {
display: flex;
gap: 1.5rem;
transition: max-height 0.4s ease, opacity 0.4s ease;
}

@media (max-width: 768px) {
.nav-links {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background-color: #ffffff;
  flex-direction: column;
  align-items: center;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  border-bottom: 2px solid #ddd;
  z-index: 99;
}

.nav-links.show {
  max-height: 300px;
  opacity: 1;
  pointer-events: auto;
}

.hamburger {
  display: flex;
}
}

/* --- HAMBURGUESA --- */
.menu-toggle {
display: none;
background: none;
border: none;
font-size: 1.8rem;
color: white;
cursor: pointer;
}
/* Ocultar menú en pantallas pequeñas */
@media (max-width: 768px) {
.nav-links {
  display: none;
  flex-direction: column;
  background-color: #333; /* color de fondo para menú móvil */
  position: absolute;
  top: 60px; /* ajusta según la altura de tu navbar */
  left: 0;
  width: 100%;
  padding: 1rem;
}

/* Mostrar cuando se active */
.nav-links.active {
  display: flex;
}

/* Estilo del botón hamburguesa */
.menu-toggle {
  display: block;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}
}

/* En escritorio, menú siempre visible y horizontal */
@media (min-width: 769px) {
.menu-toggle {
  display: none;
}

.nav-links {
  display: flex;
  gap: 1rem;
  position: static;
  background: none;
}
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
.menu-toggle {
  display: block;
}

.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 64px;
  right: 0;
  background-color: rgba(34, 49, 63, 0.95);
  width: 100%;
  text-align: center;
  padding: 1rem 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.nav-links a {
  margin: 0.5rem 0;
}
}


@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  @media (max-width: 600px) {
      .header-content {
        flex-direction: column-reverse;
        text-align: center;
      }
    
      .header-texto {
        text-align: center;
      }
    
      .logo {
        margin-bottom: 1rem;
      }

      img.logo{
        height: auto;
        width: 20rem;
        margin-left: -0.5rem;

      }
    }




/* Responsive para ocultarlo si necesario */
@media (max-width: 768px) {
.nav-contacto {
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
}
}

.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #25D366;
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.18);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

.whatsapp-float .whatsapp-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: #ffffff;
}

.whatsapp-float .whatsapp-text {
  display: inline-block;
  font-size: 0.95rem;
  line-height: 1;
  color: #fff;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.22);
  opacity: 1;
  outline: none;
}

@media (max-width: 768px) {
  .whatsapp-float {
    padding: 8px;
    right: 14px;
    bottom: 14px;
    border-radius: 50%;
  }
  .whatsapp-float .whatsapp-text {
    display: none;
  }
  .whatsapp-float .whatsapp-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  /* IMAGEN HEADER LOGO MOVIL*/
  .header .logo {
      max-width: 100px; /* más pequeño en móvil */
    }
  
    .header-content {
      padding: 4px 8px; /* un poco menos de espacio */
    }

  /*TELEFONO E INSTAGRAM MOVIL*/
  .nav-contacto {
    gap: 12px; /* menos separación */
  }

  .icono-contacto {
    font-size: 13px; /* texto más pequeño */
    gap: 4px; /* menos espacio entre icono y texto */
  }

  .icono-contacto svg {
    width: 18px;
    height: 18px;
  }

   /* Solo oculta el texto de Instagram en móvil */
.icono-contacto[href*="instagram"] span {
  display: none;
}
 
  }


  

