 /* General */
/* ===================== */
/* RESET & BASE */
/* ===================== */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Evitar scroll lateral */
  font-family: Jost, sans-serif;
}

.page {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  background-color: #fff;
  padding: 0;
}

/* ===================== */
/* HEADER */
/* ===================== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease;
  background-color: transparent;
}

header.scrolled {
  background-color: rgba(253, 248, 248, 0.69);
  backdrop-filter: blur(5px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 38px;
}

.logo img {
  height: 40px;
  width: auto;
}

/* Lista de navegación */
nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #032743;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.3rem;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #00c4cc;
}

/* Botón hamburguesa */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: #032743;
  cursor: pointer;
  user-select: none;
}

/* ===================== */
/* HERO */
/* ===================== */
.hero {
  position: relative;
  height: 100vh;
  background: url('images/Banner_Principal.webp') center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero .overlay {
  position: absolute;
  top: 55%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  margin-top: 328px;
}

.hero-content h1 {
  color: #4ADCE7;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-content p {
  background: #002B46;
  color: white;
  font-size: 1.5rem;
  padding: 10px 20px;
  border-radius: 50px;
  display: inline-block;
}

/* Curva inferior del hero */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: white;
  border-top-left-radius: 100px;
  border-top-right-radius: 100px;
  z-index: 2;
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */
/* 📱 Tablet: 768px a 1024px */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .hero-content {
    margin-top: 200px; /* Reduce espacio vertical */
    padding: 15px;
  }
  

  .hero-content h1 {
    font-size: 2.4rem; /* Más proporcional en tablet */
  }

  .hero-content p {
    font-size: 1.2rem;
    padding: 8px 18px;
  }
}

/* 📱 Móvil: hasta 767px */
@media screen and (max-width: 767px) {
	.hero {
    height:60vh;	
	
}

.hero::after {
  height: 75px;
}
.hero .overlay {
  top: 40%;
}
  .hero-content {
    margin-top: 120px; /* Mucho menos margen en móvil */
    padding: 10px;
  }

  .hero-content h1 {
    font-size: 1.6rem; /* Más pequeño para caber en pantalla */
  }

  .hero-content p {
    font-size: 1rem;
    padding: 6px 14px;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  nav ul {
    margin-right: 0;
  }
}

/* Móvil */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    position: absolute;
    top: 70px;
    right: 0;
    flex-direction: column;
    background: rgba(253, 248, 248, 0.95);
    width: 200px;
    padding: 15px 0;
    border-radius: 10px;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
    display: none; /* Oculto por defecto */
    animation: slideDown 0.3s ease forwards;
  }

  nav ul.active {
    display: flex; /* Mostrar cuando tenga la clase active */
  }

  nav ul li {
    margin: 10px 0;
    text-align: center;
  }

  nav ul li a {
    font-size: 1.1rem;
  }
}

/* Apple iPhone X y similares */
@media only screen 
and (device-width: 375px) 
and (device-height: 812px) 
and (-webkit-device-pixel-ratio: 3) {
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .hero-content p {
    font-size: 0.9rem;
  }
}

/* ===================== */
/* ANIMACIONES */
/* ===================== */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* SECCION_1 */
/* Sección que pasa sobre el banner */
.content {
  position: relative;
  z-index: 2;
  background-color: white;
  padding: 60px 20px;
  border-top-left-radius: 100px;
  border-top-right-radius: 100px;
  margin-top: -200px; /* sube para cubrir el borde recto */
  overflow-x: hidden;
}

/* Estilos sección servicios */
#servicios {
  max-width: 1200px;
  margin: -60px auto;
  text-align: center;
  padding: 0px 20px;
  color: #0d2c44; /* Azul oscuro como la imagen */
}

#servicios .titulo-seccion {
  font-size: 1.9rem;
  font-weight: 700;
  color: #0d2c44;
  margin-bottom: 30px;
  text-transform: uppercase;
}

#servicios .texto-seccion {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #0d2c44;
  padding-bottom: 20px;
}

#servicios strong {
  font-weight: 700;
}

.titulo-servicios {
  display: flex;
  align-items: center;
  font-size: 24px;
  color: #0e2b45;
  margin: 90px 0;
  max-width: 1200px;
}

.titulo-servicios .linea {
  flex-grow: 1;
  height: 3px;
  background-color: #0e2b45;
}

.titulo-servicios .punto {
  width: 10px;
  height: 10px;
  background-color: #0e2b45;
  border-radius: 50%;
  margin: 0 10px;
}

.titulo-servicios .texto1 h3 {
  white-space: nowrap;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.galeria .item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.galeria img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.galeria .item:hover img {
  transform: scale(1.05);
}

.galeria .titulo {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.8);
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  color: #0a2a43;
}

.galeria a {
  text-decoration: none;
  color: inherit;
}

/* 📱 Tablet: desde 768px hasta 1024px */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .content {
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    margin-top: -120px;
    padding: 40px 15px;
  }

  #servicios .titulo-seccion {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  #servicios .texto-seccion {
    font-size: 1.2rem;
    line-height: 1.4;
    padding-bottom: 15px;
  }

  .titulo-servicios {
    margin: 60px 0;
    font-size: 20px;
  }

  .galeria {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
  }
}

/* 📱 Móvil: hasta 767px */
@media screen and (max-width: 767px) {
  .content {
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    margin-top: -80px;
    padding: 30px 10px;
  }

  #servicios {
    margin: -30px auto;
    padding: 0px 10px;
  }

  #servicios .titulo-seccion {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  #servicios .texto-seccion {
    font-size: 1rem;
    line-height: 1.3;
    padding-bottom: 10px;
  }

  .titulo-servicios {
    flex-direction: column;
    align-items: center;
    margin: 40px 0;
    font-size: 18px;
  }

  .titulo-servicios .linea {
    display: none; /* Oculta las líneas para simplificar en móvil */
  }

  .galeria {
    grid-template-columns: 1fr; /* Una sola columna */
    gap: 10px;
    padding: 10px;
  }
}


/* SECCION_2 */
.sesion-bebes {
  padding: 50px 0;
  font-family: 'Open Sans', sans-serif;
  text-align: center;
}

.sesion-bebes h2 {
  color: #0b2c44;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.subtitulo {
  background-color: #0b2c44;
  color: white;
  padding: 10px 25px;
  border-radius: 12px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 40px;
}

.contenido-sesion {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

/* Texto izquierdo */
.texto-izquierdo {
  flex: 1;
  min-width: 300px;
  color: #0b2c44;
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
}

.texto-izquierdo strong {
  font-size: 15.5px;
}

/* Imagen */
.imagen-bebe {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.imagen-bebe img {
  width: 100%;
  max-width: 380px;
  border-radius: 10px;
  display: block;
  margin: auto;
}

/* Texto derecho */
.texto-derecho {
  flex: 1;
  min-width: 280px;
  background-color: #f7f5f5;
  border-radius: 25px;
  padding: 40px 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.texto-derecho p {
  color: #0b2c44;
  font-size: 15.5px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.texto-derecho {
  flex: 1;
  min-width: 280px;
  background-color: #f7f5f5;
  border-radius: 25px;
  padding: 40px 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* <-- Esto centra el botón horizontalmente */
}


/* Botón */
.btn-ver-mas {
  display: inline-block;
  background-color: #42d9f4;
  color: white;
  padding: 12px 0;
  width: 140px;
  text-align: center;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  box-shadow: 0px 4px 6px rgba(0,0,0,0.15);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-ver-mas:hover {
  background-color: #2bb8cf;
  transform: translateY(-2px);
}


/* 📱 Tablet: 768px a 1024px */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .sesion-bebes {
    overflow-x: hidden;
  }

  .contenido-sesion {
    flex-wrap: wrap;
    gap: 20px;
    margin: 0; /* Evita desplazamiento extra */
  }

  .contenido-sesion > * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .imagen-bebe img {
    max-width: 100%;
    height: auto;
    display: block;
  }
}

/* 📱 Móvil: hasta 767px */
@media screen and (max-width: 767px) {
  .sesion-bebes {
    overflow-x: hidden;
  }

  .contenido-sesion {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 0;
  }

  .contenido-sesion > * {
    width: 100%;
    min-width: 0;
    max-width: 90%;
    box-sizing: border-box;
  }

  .imagen-bebe img {
    width: 100%;
    height: auto;
    display: block;
  }
}


/* SECCION_3 */

.fotografia-section {
    background-color: #FFF7F2;
    padding: 40px 20px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.fotografia-section h2 {
    color: #002244;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 10px;
}

.fotografia-section p {
    color: #444;
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.5;
}

.fotografia-section p strong {
    color: #002244;
}

.galeria-fotos {
    display: flex;
    justify-content: center;
    align-items: flex-end; /* 🔹 Alinea todas las imágenes al borde inferior */
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.galeria-fotos img {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Imágenes laterales */
.galeria-fotos img:not(:nth-child(2)) {
    width: 300px;
    height: 377px; /* altura base */
}

/* Imagen central más alta */
.galeria-fotos img:nth-child(2) {
    width: 320px;
    height: 450px; /* altura más alta */
}



.botones3 {
    margin-top: 25px;
    display: flex;
    flex-direction: column; /* Etiqueta arriba, botón abajo */
    align-items: center; /* Centrado horizontal */
    gap: 15px; /* Separación entre etiqueta y botón */
}

.etiqueta h3 {
    background-color: #002244;
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
	
}

.btn-ver-mas {
    background-color: #28d6d6;
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-ver-mas:hover {
    background-color: #1fb3b3;
}

/* 📱 Tablet: 768px a 1024px */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .galeria-fotos img {
    width: 45%;           /* Quepan 2 por fila */
    height: auto;         /* Ajuste proporcional */
    max-width: 100%;
  }

  .galeria-fotos img:nth-child(2) {
    width: 45%;
    height: auto;
  }
}

/* 📱 Móvil: hasta 767px */
@media screen and (max-width: 767px) {
  .galeria-fotos {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .galeria-fotos img {
    width: 100%;
    max-width: 320px;
    height: auto;         /* Evita recorte */
  }

  .galeria-fotos img:nth-child(2) {
    width: 100%;
    max-width: 340px;
    height: auto;
  }
}


/* SECCION_4 */

.fotografia-ejecutiva {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.fe-container {
  display: flex;
  align-items: center;
  background: #072b4d;
  border-radius: 209px 50px 50px 209px;
  padding: 0px 20px 0px 0px;
  max-width: 1000px;
  gap: 30px;
}

.fe-photo {
  flex: 0 0 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fe-photo img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid white; /* Contorno blanco */
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 1),   /* sombra inferior oscura */
    inset 0 2px 4px rgba(255, 255, 255, 0.6); /* brillo interno suave */
}


.fe-text-box {
  color: white;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fe-text-box h2 {
  font-size: 1.4rem;
  font-weight: bold;
}

.fe-description {
  background: white;
  color: #072b4d;
  padding: 20px;
  border-radius: 15px;
  font-size: 0.95rem;
  line-height: 1.4rem;
}

.fe-description strong {
  font-weight: bold;
}

.fe-subtitle {
  background: white;
  color: #072b4d;
  font-weight: bold;
  padding: 15px;
  border-radius: 15px;
  text-align: center;
}

.fe-button {
  background: #28d1e3;
  color: white;
  padding: 10px 25px;
  text-decoration: none;
  border-radius: 20px;
  text-align: center;
  font-weight: bold;
  width: 140px;
  margin: 0 auto; /* Centrar horizontalmente */
  display: block;
  transition: all 0.3s ease; /* Suaviza la animación */
}

.fe-button:hover {
  background: #1bb8c8; /* tono más oscuro */
  transform: scale(1.05); /* agranda un poco */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* sombra más marcada */
}

/* 📱 Tablet: 768px a 1024px */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .fe-container {
    flex-wrap: wrap;
    border-radius: 100px 30px 30px 100px;
    gap: 20px;
    padding: 20px;
  }

  .fe-photo img {
    width: 300px;
    height: 300px;
  }
}

/* 📱 Móvil: hasta 767px */
@media screen and (max-width: 767px) {
  .fotografia-ejecutiva {
    padding: 20px 10px;
  }

  .fe-container {
    flex-direction: column;
    align-items: center;
    border-radius: 30px;
    padding: 20px;
    gap: 20px;
  }

  .fe-photo {
    flex: 0 0 auto;
  }

  .fe-photo img {
    width: 250px;
    height: 250px;
  }

  .fe-text-box {
    text-align: center;
  }

  .fe-description {
    font-size: 0.9rem;
  }

  .fe-button {
    width: 160px;
  }
}


/* SECCION_5 */
.fotografia-producto {
  text-align: center;
  padding: 40px 20px;
  background-color: #EFEEEE;
  font-family: Arial, sans-serif;
}

.fotografia-producto h2 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.subtitulo {
  background: #e6ecf1;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: bold;
  color: #0f1e2b;
  margin-bottom: 20px;
}

.fotografia-producto p {
  max-width: 750px;
  margin: 10px auto;
  color: #333;
  line-height: 1.5;
}

.fotografia-producto strong {
  font-weight: bold;
  color: #0f1e2b;
}

/* ==== CARRUSEL ==== */
.carousel {
  position: relative;
  max-width: 900px;
  margin: 30px auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 15px;
  transition: transform 0.5s ease-in-out;
  padding: 0;
  margin: 0;
  list-style: none;
}

.carousel-slide {
  flex: 0 0 calc(33.333% - 10px); /* 3 imágenes en escritorio */
}

.carousel-slide img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.carousel-nav button {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background-color: #ccc;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-nav button.active {
  background-color: #0f1e2b;
  transform: scale(1.3);
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  z-index: 5;
}

.prev { left: 5px; }
.next { right: 5px; }

.prev:hover, .next:hover {
  background-color: rgba(255,255,255,0.8);
}

.carousel-nav {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.carousel-nav .current-slide {
  background-color: #0f1e2b;
}

.descripcion {
  max-width: 700px;
  margin: 20px auto;
  font-weight: bold;
  color: #0f1e2b;
}

.btn-ver-mas {
  background: #26d3cf;
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s ease;
}

.btn-ver-mas:hover {
  background: #1bb0ad;
}

/* ====== RESPONSIVO ====== */

/* Tablet */
@media (max-width: 768px) {
  .carousel-slide {
    flex: 0 0 calc(50% - 10px); /* 2 imágenes */
  }
  .fotografia-producto h2 {
    font-size: 18px;
  }
  .fotografia-producto p {
    padding: 0 15px;
    font-size: 15px;
  }
  .btn-ver-mas {
    padding: 8px 20px;
    font-size: 14px;
  }
}

/* Móvil */
@media (max-width: 480px) {
  .carousel-slide {
    flex: 0 0 100%; /* 1 imagen */
  }
  .fotografia-producto {
    padding: 25px 15px;
  }
  .fotografia-producto h2 {
    font-size: 16px;
  }
  .subtitulo {
    font-size: 14px;
    padding: 5px 10px;
  }
  .fotografia-producto p {
    font-size: 14px;
    line-height: 1.4;
  }
  .btn-ver-mas {
    padding: 7px 18px;
    font-size: 13px;
  }
  .prev, .next {
    font-size: 16px;
    padding: 6px;
  }
}



/* SECCION_6 */

.alimentos-bebidas {
  background: linear-gradient(to bottom, #EFEEEE 0% 50%, #ffffff 50% 100%);
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.contenido {
  display: flex;
  gap: 20px;
  background: white;
  border-radius: 20px;
  box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
  padding: 20px;
}

.texto {
  flex: 1;
}

.texto h2 {
  font-size: 20px;
  font-weight: bold;
  color: #002244;
}

.texto h3 {
  font-size: 16px;
  margin-top: 5px;
  margin-bottom: 15px;
}

.texto p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.texto strong {
  color: #003355;
}

.btn-ver-mas {
  display: inline-block;
  background-color: #3ccfd7;
  color: white;
  font-weight: bold;
  padding: 10px 25px;
  border-radius: 20px;
  text-decoration: none;
  margin: 15px 0;
  transition: 0.3s;
}

.btn-ver-mas:hover {
  background-color: #2ab0b7;
}

.clientes {
  font-weight: bold;
  color: #002244;
  margin-top: 10px;
}

.imagenes {
  flex: 1;
  display: flex;
  gap: 10px;
}

.principal img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.secundarias {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.secundarias img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: white;
  padding: 5px;
}

/* Iconos en línea */
.iconos {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.iconos img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: white;
  padding: 5px;
}
  background: linear-gradient(to bottom, #EFEEEE 0% 50%, #ffffff 50% 100%);
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.contenido {
  display: flex;
  gap: 20px;
  background: white;
  border-radius: 50px;
  box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
  padding: 20px;
}

.texto {
  flex: 1;
}

.texto h2 {
  font-size: 20px;
  font-weight: bold;
  color: #002244;
}

.texto h3 {
  font-size: 16px;
  margin-top: 5px;
  margin-bottom: 15px;
}

.texto p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.texto strong {
  color: #003355;
}

.btn-ver-mas {
  display: inline-block;
  background-color: #3ccfd7;
  color: white;
  font-weight: bold;
  padding: 10px 25px;
  border-radius: 20px;
  text-decoration: none;
  margin: 15px 0;
  transition: 0.3s;
}

.btn-ver-mas:hover {
  background-color: #2ab0b7;
}

.clientes {
  font-weight: bold;
  color: #002244;
  margin-top: 10px;
}

.imagenes {
  flex: 1;
  display: flex;
  gap: 10px;
}

.principal img {
  width: 370px;
  height: auto;
  border-radius: 10px;
}

/* Columna secundaria: imágenes más pequeñas como los iconos */
.secundarias {
  display: flex;
  flex-direction: column;
  align-items: center; /* centra todo */
  gap: 10px;
}

.secundarias img {
  width: 260px; /* mismo ancho que iconos */
  height: auto;
  border-radius: 10px;
  background: white;
  padding: 5px;
}

/* Iconos en línea */
.iconos {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.iconos img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: white;
  padding: 5px;
}

/* ====== RESPONSIVO ====== */

/* Tablet */
@media (max-width: 992px) {
  .contenido {
    flex-direction: column; /* texto arriba, imágenes abajo */
    align-items: center;
    text-align: center;
  }

  .imagenes {
    flex-direction: column;
    align-items: center;
  }

  .principal img,
  .secundarias img {
    width: 100%; /* se ajustan al ancho disponible */
    max-width: 500px;
  }

  .texto h2 {
    font-size: 18px;
  }
  .texto h3 {
    font-size: 15px;
  }
  .texto p {
    font-size: 14px;
  }
}

/* Móvil */
@media (max-width: 576px) {
  .contenido {
    padding: 15px;
    border-radius: 20px;
  }

  .texto h2 {
    font-size: 16px;
  }
  .texto h3 {
    font-size: 14px;
  }
  .texto p {
    font-size: 13px;
    line-height: 1.4;
  }

  .btn-ver-mas {
    padding: 8px 18px;
    font-size: 13px;
  }

  .principal img,
  .secundarias img {
    width: 100%;
    max-width: 100%;
  }

  .iconos img {
    width: 100px;
    height: 100px;
  }
}


/* SECCION_7 */
.seccion-mascotas {
  background: linear-gradient(white 50%, #C7F3F6 50%);
  text-align: center;
  padding: 40px 20px;
}

.titulo-mascotas {
  display: inline-block;
  background: white;
  padding: 15px 30px;
  border-radius: 20px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
}

.titulo-mascotas h2 {
  font-size: 18px;
  font-weight: bold;
  color: #0d2e44;
  margin: 0;
}

.titulo-mascotas p {
  font-size: 14px;
  color: #0d2e44;
  margin: 5px 0 0 0;
}

.mascotas-section {
    background-color: #c8f2f4; /* Fondo celeste */
    text-align: center;
    padding: 40px 20px;
}

.mascotas-section .iconos {
    display: grid;
    grid-template-columns: repeat(4, 90px);
    justify-content: center;
    gap: 30px 100px;
    margin-bottom: 30px;
}

.mascotas-section .icono {
    background: white;
    border-radius: 50%;
    width: 165px;
    height: 165px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
}

.mascotas-section .icono img {
    width: 100%;
    height: auto;
}

.mascotas-section .texto {
    max-width: 850px;
    margin: 0 auto 20px auto;
}

.mascotas-section .texto h2 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #002b45;
}

.mascotas-section .texto7 p {
    color: #555;
    margin-top: 5px;
}

/* Contenedor con doble color */
.btn-container {
    display: inline-block;
    background: linear-gradient(to right, #3ee5e5 50%, #27cfcf 50%);
    padding: 5px;
    border-radius: 50px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.6); /* Sombra añadida */
}

.btn-mascotas {
    display: inline-block;
    background: white;
    color: #00a0a0;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-mascotas:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25); /* Sombra al pasar el mouse */
}

/* ====== RESPONSIVO SECCIÓN MASCOTAS ====== */

/* Tablet */
@media (max-width: 992px) {
  .mascotas-section .iconos {
    grid-template-columns: repeat(2, 1fr); /* 2 por fila */
    gap: 20px 40px;
  }

  .mascotas-section .icono {
    width: 140px;
    height: 140px;
  }

  .titulo-mascotas h2 {
    font-size: 16px;
  }

  .titulo-mascotas p {
    font-size: 13px;
  }
}

/* Móvil */
@media (max-width: 576px) {
  .mascotas-section .iconos {
    grid-template-columns: repeat(2, 1fr); /* 2 por fila */
    gap: 15px 20px;
  }

  .mascotas-section .icono {
    width: 120px;
    height: 120px;
    margin: 0 auto;
  }

  .titulo-mascotas {
    padding: 10px 20px;
  }

  .titulo-mascotas h2 {
    font-size: 15px;
  }

  .titulo-mascotas p {
    font-size: 12px;
  }

  .mascotas-section .texto h2 {
    font-size: 1rem;
  }

  .btn-mascotas {
    padding: 8px 18px;
    font-size: 14px;
  }
}


/* SECCION_8 */

.testimonios {
  text-align: center;
  padding: 50px 20px;
  background-color: #fff;
}

.testimonios h2 {
  font-size: 1.8rem;
  color: #0d3553;
  margin-bottom: 40px;
}

.contenedor-testimonios {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.tarjeta-testimonio {
  background-color: #b8e3f2;
  border-radius: 20px;
  padding: 30px;
  width: 300px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.comillas {
  font-size: 3rem;
  color: #0d3553;
  text-align: left;
}

.tarjeta-testimonio p {
  text-align: left;
  font-size: 1rem;
  color: #333;
  margin: 0px 0;
  line-height: 1.5;
}

.tarjeta-testimonio strong {
  font-weight: bold;
}

.autor {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}

.autor img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
}

.autor span {
  font-size: 0.9rem;
  color: #333;
}

/* ====== RESPONSIVO TESTIMONIOS ====== */

/* Tablet */
@media (max-width: 992px) {
  .tarjeta-testimonio {
    width: 45%; /* 2 por fila */
    padding: 25px;
  }

  .testimonios h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }
}

/* Móvil */
@media (max-width: 576px) {
  .tarjeta-testimonio {
    width: 100%; /* 1 por fila */
    padding: 20px;
  }

  .tarjeta-testimonio p {
    font-size: 0.95rem;
  }

  .autor img {
    width: 60px;
    height: 60px;
  }

  .autor span {
    font-size: 0.85rem;
  }

  .testimonios h2 {
    font-size: 1.3rem;
  }
}


/* SECCION_9 */
.porque-elegir {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding: 50px 300px;
}

.contenido-izquierda9 {
  flex: 1;
  max-width: 650px;
}

.contenido-izquierda9 h2 {
  text-align: center;
  font-weight: bold;
  color: #002b45;
  margin-bottom: 20px;
}

.iconos-texto9 {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
}

.iconos-texto9 .item9 {
  text-align: center;
  max-width: 200px;
}

.iconos-texto9 img {
  width: 150px;
  margin-bottom: 10px;
}

.texto-destacado9 {
  background: #002b45;
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.btn-cita9 {
  display: inline-block;
  background: #45dbe5;
  color: white;
  font-weight: bold;
  padding: 12px 25px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2);
  margin: 0 auto; /* Centrado horizontal */
}

.contenedor-boton {
  text-align: center; /* Centra contenido inline-block */
}


.btn-cita9:hover {
  background: #3ac2cb;
}

.contenido-derecha {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
}

.contenido-derecha video {
  width: 100%;
  max-width: 320px;
  border-radius: 10px;
}

/* Ocultar controles por defecto */
  .contenido-derecha video::-webkit-media-controls {
    display: none !important;
  }

  /* Mostrar controles al hacer hover */
  .contenido-derecha:hover video::-webkit-media-controls {
    display: flex !important;
  }
/* SECCIÓN DE CONTACTO */
.contacto-redes {
  text-align: center;
  padding: 40px 20px;
  background-color: #fff;
  font-family: Arial, sans-serif;
}

.contacto-redes h2 {
  font-size: 20px;
  font-weight: bold;
  color: #0d2c45;
  margin-bottom: 5px;
}

.contacto-redes p {
  font-size: 16px;
  color: #0d2c45;
  margin-bottom: 20px;
}

.iconos-redes {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.iconos-redes img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.2s ease-in-out;
}

.iconos-redes img:hover {
  transform: scale(1.1);
}

/* ====== RESPONSIVO SECCIÓN 9 ====== */

/* Tablet */
@media (max-width: 992px) {
  .porque-elegir {
    flex-direction: column;
    align-items: center;
    padding: 40px 60px; /* Reducir padding lateral */
    text-align: center;
  }

  .iconos-texto9 {
    flex-wrap: wrap;
    gap: 20px;
  }

  .iconos-texto9 .item9 {
    max-width: 180px;
  }

  .iconos-texto9 img {
    width: 120px;
  }

  .contenido-derecha video {
    max-width: 300px;
  }
}

/* Móvil */
@media (max-width: 576px) {
  .porque-elegir {
    padding: 30px 20px; /* Padding compacto */
    gap: 20px;
  }

  .contenido-izquierda9 h2 {
    font-size: 18px;
  }

  .iconos-texto9 {
    gap: 15px;
  }

  .iconos-texto9 img {
    width: 100px;
  }

  .texto-destacado9 {
    font-size: 14px;
    padding: 10px;
  }

  .btn-cita9 {
    padding: 10px 18px;
    font-size: 14px;
  }

  .contenido-derecha video {
    max-width: 260px;
  }
}

/* ====== RESPONSIVO SECCIÓN CONTACTO ====== */
@media (max-width: 576px) {
  .contacto-redes h2 {
    font-size: 18px;
  }

  .contacto-redes p {
    font-size: 14px;
  }

  .iconos-redes img {
    width: 35px;
    height: 35px;
  }
}


/* footer */
footer {
    background-color: #000;
    color: #fff;
    padding: 20px 0;
}

.footer-container {
    display: flex;
    flex-wrap: wrap; /* Permite que las columnas se reorganicen */
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Reduce el padding para pantallas pequeñas */
    gap: 20px;
}

.footer-column {
    flex: 1;
    min-width: 250px; /* Ancho mínimo para que las columnas no se encimen */
}

.logo-redes img {
    width: 100%; /* Ajusta el tamaño de la imagen al ancho de su contenedor */
    max-width: 300px;
    margin-bottom: 10px;
}

.logo-redes p {
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a img {
    width: 24px;
    height: 24px;
}

.contact-info a {
    color: #00c7d7;
    text-decoration: none;
    font-size: 14px;
}

.contact-info p {
    font-size: 14px;
}

.contact-info a:hover {
    text-decoration: underline;
}

.map iframe {
    border: none;
    width: 100%;
    max-width: 350px;
    height: 200px;
    margin-top: 20px; /* Reduce el margen para pantallas pequeñas */
}

.footer-bottom {
    text-align: center;
    background-color: #111;
    color: #ccc;
    padding: 10px 0;
    font-size: 14px;
}

.footer-bottom a {
    color: #00c7d7;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVO FOOTER ===== */

/* Tablet */
@media (max-width: 992px) {
    .footer-container {
        justify-content: center;
        text-align: center;
    }
    .footer-column {
        min-width: 200px;
    }
    .map iframe {
        max-width: 100%;
        height: 180px;
    }
}

/* Móvil */
@media (max-width: 576px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .footer-column {
        min-width: 100%;
    }
    .logo-redes img {
        max-width: 200px;
    }
    .social-icons {
        justify-content: center;
    }
    .contact-info p,
    .contact-info a {
        font-size: 13px;
    }
    .footer-bottom {
        font-size: 12px;
    }
}
