body {
	margin: 0;
	font-family: 'Inria Sans', sans-serif;
/*	font-family: 'Poppins', sans-serif;*/
	scroll-behavior: smooth;
}

header {
	position: fixed;
	width: 100%;
	background: #FFD800;
	padding: 10px 0;
	text-align: center;
	z-index: 1000;
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 20px;
}
.logo {
	height: 100px;
}
nav ul {
	list-style: none;
	padding: 0;
	display: flex;
	justify-content: space-between;
}
nav ul li {
	margin: 0 15px;
}
nav ul li a {
	color: black;
	text-decoration: none;
	font-weight: bold;
	font-style: italic;
	text-transform: uppercase;
}

nav ul li a.tienda {
    border: 2px solid black;
    padding: 6px 12px;
    border-radius: 5px;
}

/* Menú oculto por defecto en pantallas pequeñas */
#menu {
	display: flex;
}
.menu-toggle {
	display: none;
	font-size: 30px;
	background: none;
	border: none;
	color: black;
	cursor: pointer;
}
/* End Menu toggle */

.hero {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	background: black;
}
.hero img {
	max-width: 100%;
}
.section {
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	text-align: center;
	background: #f4f4f4;
	padding: 20px;
}
#nosotros .contenido {
	display: flex;
	flex-direction: row;
	gap: 40px;
	text-align: left;
	max-width: 1000px;
}
#nosotros .columna {
	flex: 1;
}

#clientes {
	background: #f9f9f9;
	padding: 60px 20px;
}

.titulo-seccion {
	font-size: 2em;
	margin-bottom: 40px;
	text-align: left;
	width: 100%;
	max-width: 1000px;
}

.clientes-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
}

.cliente-card {
	background: white;
	border-radius: 15px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	width: 200px;
	padding: 20px;
	text-align: center;
	transition: transform 0.3s;
}

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

.cliente-card img {
	width: 80px;
	height: auto;
	margin-bottom: 15px;
}

/* Productos */
#productos {
	background: #eaeaea;
	padding: 60px 20px;
}

.productos-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	max-width: 1000px;
	margin: 0 auto;
}

.producto {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.15);
	background: white;
}

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

.producto:hover img {
	transform: scale(1.05);
}

.producto .etiqueta {
	position: absolute;
	bottom: 0;
	width: 100%;
	background: rgba(0, 0, 0, 0.7);
	color: #FFD800;
	text-align: center;
	padding: 10px;
	font-weight: bold;
	font-size: 1.1rem;
}

.descripcion-productos {
    text-align: center;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-style: italic;
}

#servicios .cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
	margin-top: 40px;
}
.card {
	background: white;
	border-radius: 15px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	width: 250px;
	padding: 20px;
	text-align: center;
	transition: transform 0.3s;
}
.card:hover {
	transform: translateY(-5px);
}
.card img {
	width: 80px;
	height: auto;
	margin-bottom: 15px;
}
.card h3 {
	margin-bottom: 10px;
	color: black;
}
.card p {
	font-size: 0.95rem;
	color: #333;
}
#contacto .contacto-container {
	display: flex;
	flex-direction: space-between;
	gap: 40px;
	max-width: 1000px;
	width: 100%;
	text-align: left;
	margin: 0 auto;
}
#contacto form {
	flex: 1;
	/*display: flex;
	flex-direction: column;*/
}
#contacto .datos-contacto {
	flex: 1;
	display: flex;
	flex-direction: column;
	/*justify-content: center;*/
	gap: 20px;
	/*padding-left: 20px;*/
}
.datos-contacto p {
    font-size: 1rem;
    margin: 10px 0;
}
.datos-contacto i {
    margin-right: 8px;  /* Espacio entre el icono y el texto */
    color: #000000;        /* Color de los iconos */
}
.datos-contacto a {
    color: #000000;
    text-decoration: none;
}
form input, form textarea, form button {
	margin: 10px 0;
	padding: 10px;
	font-size: 1rem;
	width: 100%;
}
form textarea {
	resize: vertical;
	min-height: 185px;
}
form button {
	background: #FFD800;
	border: none;
	cursor: pointer;
	width: 100%;
	font-weight: bold;
	transition: background 0.3s;
}
form button:hover {
	background: black;
	color: #FFD800;
}
/* Botón flotante */
#scrollTop {
	position: fixed;
	bottom: 20px;
	right: 30px;
	width: 50px;
	height: 50px;
	background: #FFD800;
	color: black;
	border: none;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 24px;
	cursor: pointer;
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
	display: none;
}

/* Boton Pre Whatsapp */
.wsp-burbuja {
  position: fixed;
  bottom: 175px; /* justo arriba del botón de WhatsApp */
  right: 20px;
  background-color: #ffffff;
  color: #333;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  font-size: 14px;
  z-index: 998;
  max-width: 230px;
  line-height: 1.4;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  animation: fadeIn 0.5s ease;
}

	/* Punta del globo */
.wsp-burbuja::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 30px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #ffffff;
}

.wsp-burbuja button {
  background: none;
  border: none;
  font-size: 16px;
  color: #888;
  cursor: pointer;
  margin-top: -6px;
}

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


/* Boton de Whatsapp */
.btn-whatsapp {
    position: fixed;
    bottom: 90px; /* Más arriba que el botón de ir al top */
    right: 20px;
    z-index: 1001;
    width: 75px;
    height: 75px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
}

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

.btn-whatsapp img {
    width: 45px;
    height: 45px;
}

/* Footer */
.footer {
	background: black;
	color: white;
	padding: 40px 20px 20px;
	position: relative;
}

.footer-container {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	max-width: 1000px;
	margin: 0 auto;
	flex-wrap: wrap;
	gap: 20px;
}

.footer-left {
	flex: 1;
	text-align: right;
}

.footer-logo {
	height: 70px;
	margin-bottom: 10px;
}

.certificado-ssl .ssl-cert {
	height: 40px;
	opacity: 0.8;
}

.footer-right {
	flex: 1;
	text-align: left;
}

.footer-right p {
	margin: 8px 0;
	color: #ccc;
}

.footer-right a {
    color: #ccc;
    text-decoration: none;
}

/* Línea divisoria decorativa */
.footer-divider {
	margin-top: 30px;
	height: 4px;
	width: 100px;
	background: #FFD800;
	border-radius: 4px;
	margin-left: auto;
	margin-right: auto;
	opacity: 0.9;
}

.footer-bottom {
	border-top: 1px solid #333;
	margin-top: 20px;
	padding: 15px 20px;
	text-align: center;
	font-size: 0.9rem;
	color: #aaa;
}

.footer-bottom .social-icons {
	margin-top: 10px;
}

.footer-bottom .social-icons a {
	color: yellow;
	margin: 0 10px;
	transition: color 0.3s;
	text-decoration: none;
}

.footer-bottom .social-icons a:hover {
	color: white;
}

/* Líneas amarillas debajo de títulos */
.section h2::after {
	content: "";
	display: block;
	width: 80px;
	height: 4px;
	background: #FFD800;
	margin-top: 10px;
	border-radius: 2px;
}

/* Alternamos la posición del texto en cada sección */
#nosotros h2 {
	text-align: left;
	width: 100%;
	max-width: 1000px;
	font-style: italic;
	text-transform: uppercase;
}
#clientes h2 {
	text-align: center;
	font-style: italic;
	text-transform: uppercase;
}
#productos h2 {
	text-align: left;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto 40px auto;
	padding-left: 10px;
	font-style: italic;
	text-transform: uppercase;
}

#servicios h2 {
	text-align: center;
	font-style: italic;
	text-transform: uppercase;
}
#contacto h2 {
	text-align: left;
	width: 100%;
	max-width: 1000px;
	font-style: italic;
	text-transform: uppercase;
}

/* Alternamos colores de fondo */
#nosotros {
	background: #f4f4f4;
}
#clientes {
	background: #ffffff;
}
#servicios {
	background: #f4f4f4;
}
#contacto {
	background: #ffffff;
}

/* AJXAX Form */
#respuesta p.ok {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
	padding: 10px;
	border-radius: 6px;
	margin-top: 10px;
}

#respuesta p.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
	padding: 10px;
	border-radius: 6px;
	margin-top: 10px;
}

/* En pantallas grandes, el botón no se muestra */
@media (min-width: 768px) {
	.menu-toggle {
		display: none;
	}
}

/* Cambiar a columna cuando el menú se muestra en pantallas pequeñas */

@media (max-width: 480px) {
	.productos-grid {
	grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	/* Logo */
	.logo {
		height: 70px;
	}
	/* Top */
	.hero {
		display: flex;
		justify-content: center;
		align-items: center;
		height: 40vh;
		background: black;
	}
	/* Menu */
	nav ul {
		display: none;
		flex-direction: column;
		align-items: center;
		background-color: #FFD800;
		width: 100%;
		padding: 20px 0;
	}
	nav ul li {
		margin: 10px 0;
	}
	.menu-toggle {
		display: block;
		background: none;
		border: none;
		font-size: 30px;
		color: black;
		cursor: pointer;
		z-index: 1001;
	}
	#menu {
		display: none;
		flex-direction: column;
		align-items: center;
		background-color: #FFD800;
		width: 100%;
		padding: 10px 0;
		position: absolute;
		top: 70px;
		left: 0;
		z-index: 1000;
	}
	/* Mostrar el menú cuando tenga la clase 'show' */
	#menu.show {
		display: flex;
	}
	/* Cambiar el icono del botón cuando el menú está abierto */
	#menu-toggle.open {
		transform: rotate(90deg);  /* Gira el botón para hacerlo como una cruz */
	}
	/* End Menu */
	/* Footer */
	.footer-logo {
		height: 50px;
		margin-bottom: 10px;
	}
	.footer-right p {
		font-size: 0.8rem;
	}
	
	/* Quienes Somos */
	#nosotros .contenido {
		flex-direction: column;
		gap: 0px;
	}
	
	/* Productos */
	.producto img {
		width: auto;
		object-fit: left;
	}

	.productos-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	/* Contactos */
	#contacto .contacto-container {
		flex-direction: column; /* Asegura que se apilen las columnas */
		gap: 20px;
	}	
	/* Mejora el espaciado y hace que los campos se adapten */
	form input, form textarea, form button {
		width: 100%;
		margin: 10px 0;
	}
	/* Espaciado y tamaño en dispositivos móviles */
	.datos-contacto {
		padding-left: 0;
	}
	form input, form textarea, form button {
		margin: 10px 0;
		padding: 10px;
		font-size: 1rem;
		width: 80%;
	}

	/* End Contactos */
}