/* Global */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: #fafafa;
  color: #333;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #004d40;
  color: #fff;
  padding: 1rem 2rem;
}
header .logo img {
  height: 80px;
}
header nav a {
  color: #fff;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: 500;
}
header nav a:hover {
  text-decoration: underline;
}

/* Hero */
.hero {
  padding: 1rem 1rem;
  background: #e0f2f1;
  text-align: center;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* Servicios cards */
.cards {
  display: flex;
  gap: 1rem;
  padding: 1rem;
}
.card {
  background: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  flex: 1;
}

/* Mapa en donde_estamos */
.map-container {
  margin: 1rem 0;
}
.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 8px;
}

/* Proveedores */
.supplier-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 2rem 1rem;
}
.supplier-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 1rem;
}
.supplier-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

/* Estilos de Contacto mejorados */
.contact-section {
  padding: 4rem 1rem;
  background: #f5f5f5;
}
.contact-section .container {
  max-width: 1000px;
  margin: 0 auto;
}
.contact-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #004d40;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 2rem;
}
.info-card h3,
.map-card h3 {
  margin-top: 0;
  color: #00695c;
}
.info-card p,
.info-card ul {
  font-size: 1.1rem;
  line-height: 1.6;
}
.info-card a {
  color: #004d40;
  text-decoration: none;
}
.info-card a:hover {
  text-decoration: underline;
}
.map-card iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-section h2 {
    font-size: 2rem;
  }
}

/*imagenes de home */
.logo-img {
  width: 250px;    /* ancho fijo */
  height: auto;    /* mantiene la proporción */
  margin-right:30px;
  /* o también podrías usar height en lugar de width */
}
.img-home {
  width: 200px;    /* ancho fijo */
  height: auto;    /* mantiene la proporción */
  /* o también podrías usar height en lugar de width */
}
.img-home-alt {
  width: auto;    /* ancho fijo */
  height: 160px;    /* mantiene la proporción */
  /* o también podrías usar height en lugar de width */
}
.logo-img-alt {
  width: auto;    /* ancho fijo */
  height: 170px;    /* mantiene la proporción */
  margin-right:30px;
  /* o también podrías usar height en lugar de width */
}

.redondeo {
	border-radius: 8px;
}

footer {
  display: grid;
  place-items: center;
  height: 100px; /* Ajusta según lo necesario */
  background-color: #f4f4f4; /* Color de fondo opcional */
}


/* Hero con fondo fijo */
.hero {
  background-size: cover;
  height: 45vh; /* reducido de 80vh a 60vh */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  text-shadow: 0 2px 4px rgba(255,255,255,2);
}
.hero-content {
  text-align: center;
}
.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.6rem;
}

/* Categorías */
.categories {
  background: #fff;
  padding: 1rem 1rem;
}
.categories .container {
  max-width: 1200px;
  margin: 0 auto;
}
.categories h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #004d40;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* seis columnas fijas */
  gap: 2rem;
}
.category-card {
  display: block;
  background: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.category-card:hover {
  transform: translateY(-5px);
}
.category-card img {
  width: 100%;
  height: 120px; /* ajustado para mejor visual */
  object-fit: cover;
}
.category-card h3 {
  font-size: 1rem;
  margin: 0.75rem 0;
  color: #00695c;
}

/* Sección Acerca de nosotros */
.about {
  background: #444;
  color: #eee;
  padding: 1rem 1rem;
}
.about .container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.about h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.about p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Dropdown menú productos */
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
.nav-list li {
  position: relative;
  margin: 0 1rem;
}
.nav-list a {
  text-decoration: none;
  color: #fff;
  padding: 0.5rem;
  display: block;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #004d40;
  list-style: none;
  padding: 0.5rem 0;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  min-width: 180px;
}
.dropdown-menu li {
  margin: 0;
}
.dropdown-menu a {
  color: #fff;
  padding: 0.5rem 1rem;
}
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Equipos Dentales: lista horizontal de items */
.equipment-section {
  padding: 4rem 1rem;
  background: #fff;
}
.equipment-section .container {
  max-width: 1200px;
  margin: 0 auto;
}
.equipment-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #004d40;
}
.equipment-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.equipment-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.equipment-item img {
  width: 200px;
  height: auto;
  border-radius: 4px;
}
.equipment-info {
  flex: 1;
}
.equipment-info h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: #00695c;
}
.equipment-tagline {
  font-style: italic;
  margin: 0 0 0.5rem;
  color: #555;
}
.equipment-desc {
  margin: 0;
  font-size: 1rem;
  color: #333;
}
.equipment-action .btn {
  display: inline-block;
  background: #00695c;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}
.equipment-action .btn:hover {
  background: #004d40;
}

/* 1) Ocultar el botón hamburguesa en pantallas >= 769px */
@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}

/*moviles*/
@media (max-width: 768px) {
  .equipment-item {
    flex-direction: column;
    text-align: center;
  }
  .equipment-item img {
    width: 100%;
    max-width: 300px;
  }
}

/* Responsive ajustes */
@media (max-width: 1200px) {
  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}
@media (max-width: 768px) {
  .hero {
    height: 50vh;
	color: #000;
	text-shadow: 0 2px 4px rgba(255,255,255,1);
	    /* aclarar la imagen */
    filter: brightness(1.1);
	    /* Filtro para aclarar la imagen */
    background: rgba(255,255,255,0.4); /* blanco al 40% */
  }
  .hero-content h1 {
	font-size: 3rem;
  }

  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .about h2 {
    font-size: 2rem;
  }
}

/* Responsive nav para móviles */
@media (max-width: 768px) {
header {
position: relative;
}
.nav-list {
flex-direction: column;
background: #004d40;
position: absolute;
top: 100%;
left: 0;
width: 100%;
display: none; / inicialmente oculto /
}
.nav-list.show {
display: flex;
}
.nav-list li {
margin: 0;
width: 100%;
}
.nav-list a {
padding: 1rem;
border-top: 1px solid rgba(255,255,255,0.1);
}
/* Botón hamburguesa */
.menu-toggle {
display: block;
cursor: pointer;
font-size: 1.5rem;
color: #fff;
position: absolute;
right: 1rem;
top: 1rem;
}
}

/* Para mostrar el menú al hacer clic: agrega clase "show" a .nav-list con JS */
@media (max-width: 768px) {
  /* SUBMENÚ siempre visible y estático */
  .dropdown-menu {
    display: block !important;
    background: #005a4d;
    position: relative;
    box-shadow: none;
    margin: 0;
    padding: 0;
  }
  .dropdown-menu li a {
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
}

/* Seccion del equipo puma */
/* Sección Puma Eli */

/* Variables */
:root {
  --spacing: 1.5rem;
  --max-width: 1200px;
  --hero-bg: #e0f2e9; /* verde clarito */
  --transition-speed: 0.3s;
}

/* Box sizing global */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Contenedor Puma Eli */
.container-puma {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing);
}

/* HERO PUMA */
.hero-puma {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--spacing);
  align-items: center;
  background-color: var(--hero-bg);
  padding: var(--spacing);
}
.hero-puma h1 {
  flex: 0 0 30%;
  margin: 0;
}
.hero-puma p {
  flex: 1 1 70%;
  margin: 0;
}

/* PRODUCT SECTION PUMA */
.product-section-puma {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--spacing);
  margin-top: 0.5rem;
  margin-bottom: var(--spacing);
}
.product-section-puma:nth-child(even) {
  flex-direction: row-reverse;
}
.product-section-puma img {
  flex: 0 0 24%;
  max-width: 24%;
  height: auto;
  border-radius: 0.5rem;
}
.product-section-puma .text {
  flex: 1 1 70%;
  max-width: 70%;
  margin: 0;
}
.product-section-puma .text h2 {
  margin-bottom: 0.5rem;
}


/* Responsive Puma Eli: móvil */
@media (max-width: 768px) {
  /* Cada sección pasa a columna y ocupa todo el ancho */
  .product-section-puma {
    flex-direction: column !important;
    align-items: flex-start;
    padding: 1rem 0;
  }
  /* Imagen al 100% con margen inferior */
  .product-section-puma img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
  }
  /* Texto ocupa todo el ancho y siempre se muestra */
  .product-section-puma .text {
    width: 100%;
    max-width: 100%;
  }
  /* Opcional: algo de espaciado interno */
  .product-section-puma .text p,
  .product-section-puma .text h2 {
    padding: 0 0.5rem;
  }
}
