/* ===== RESET GENERAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}


:root {
  --verde: #66bb6a;
  --azul: #1976d2;
  --azul-claro: #4dabf5;
  --gris-fondo: #f2f6fa;
  --texto: #333333;
  --blanco: #ffffff;
}

/* ===== BASE ===== */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--gris-fondo);
  color: var(--texto);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--blanco);
}

/* ===== HEADER ===== */
.site-header {
  background: var(--azul);
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  height: 60px;
  width: auto;
  display: block;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
  margin: 0;
}

.nav-menu a {
  color: var(--blanco);
  font-weight: 600;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--azul-claro);
}

/* ===== REDES SOCIALES EN NAV ===== */
.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #e0e0e0;
  font-size: 18px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--azul-claro);
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.caption {
  background: rgba(0, 0, 0, 0.55);
  color: var(--blanco);
  padding: 25px;
  text-align: center;
  border-radius: 8px;
  max-width: 600px;
}

.caption h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.caption p {
  font-size: 18px;
}

/* ===== BOTONES CARRUSEL ===== */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  background: rgba(0, 0, 0, 0.3);
  color: var(--blanco);
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 2;
}

.nav.prev {
  left: 10px;
}

.nav.next {
  right: 10px;
}

.nav:hover {
  background: rgba(0, 0, 0, 0.6);
}

/* ===== SECCIONES GENERALES ===== */
.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.section h2 {
  text-align: center;
  font-size: 32px;
  color: var(--azul);
  margin-bottom: 40px;
}

/* ===== GRILLA DE PRODUCTOS ===== */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--blanco);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-card h3 {
  font-size: 20px;
  padding: 15px;
  color: var(--verde);
}

.product-card p {
  padding: 0 15px 15px;
  font-size: 15px;
}

/* ===== SECCIÓN BENEFICIOS ===== */
.beneficios {
  background: var(--gris-fondo);
  padding: 80px 20px;
  text-align: center;
}

.beneficios h2 {
  font-size: 36px;
  color: var(--azul);
  margin-bottom: 50px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  padding: 0 20px;
}

.benefit-card {
  background: var(--blanco);
  padding: 40px 25px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.icon-wrapper {
  font-size: 48px;
  color: var(--verde);
  margin-bottom: 20px;
  transition: transform 0.4s;
}

.benefit-card:hover .icon-wrapper {
  transform: scale(1.2) rotate(5deg);
}

.benefit-card h3 {
  font-size: 22px;
  color: var(--azul);
  margin-bottom: 12px;
}

.benefit-card p {
  font-size: 15px;
  color: var(--texto);
}

/* ===== FOOTER ===== */
footer {
  background: var(--azul);
  color: var(--blanco);
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

/* ===== BOTÓN FLOTANTE WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background 0.3s;
}

.whatsapp-float:hover {
  background-color: #1ebe5b;
}

.contacto {
  padding: 80px 20px;
  background-color: var(--gris-fondo);
}

.contacto h2 {
  text-align: center;
  font-size: 36px;
  color: var(--azul);
  margin-bottom: 40px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--blanco);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 25px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--texto);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--azul-claro);
  outline: none;
}

.contact-form button {
  background-color: var(--azul);
  color: white;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
}

.contact-form button:hover {
  background-color: var(--azul-claro);
}
.quienes-somos {
  background: var(--blanco);
  padding: 80px 20px;
}

.quienes-somos .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.quienes-somos h2 {
  font-size: 36px;
  color: var(--azul);
  margin-bottom: 20px;
}

.quienes-somos p {
  font-size: 16px;
  color: var(--texto);
  line-height: 1.7;
  margin-bottom: 15px;
}

.quienes-somos .imagen img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .quienes-somos .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .quienes-somos .imagen {
    order: -1;
  }
}
section {
  min-height: 100vh;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quienes-somos {
  background-color: var(--blanco);
}

.contacto {
  background-color: var(--gris-fondo);
}
.productos-section {
  background: var(--blanco);
  padding: 80px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.productos-section h2 {
  text-align: center;
  font-size: 36px;
  color: var(--azul);
  margin-bottom: 50px;
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  padding: 0 20px;
}

.producto-card {
  background: var(--gris-fondo);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s, box-shadow 0.4s;
  cursor: pointer;
}

.producto-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.producto-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.producto-card h3 {
  color: var(--verde);
  font-size: 20px;
  padding: 20px 15px 10px;
}

.producto-card p {
  padding: 0 15px 20px;
  color: var(--texto);
  font-size: 15px;
}
html, body {
  width: 100%;
  overflow-x: hidden;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(25, 118, 210, 0.8); /* azul con transparencia */
  backdrop-filter: blur(8px); /* efecto vidrio */
  -webkit-backdrop-filter: blur(8px); /* Safari support */
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 30px;
  height: 90px;
  transition: background 0.3s ease;
}
body::before {
  content: "";
  display: block;
  height: 90px; /* igual a la altura del header */
}
/* ESTILO GENERAL PARA TODAS LAS SECCIONES CON FONDO DECORADO */
.decorado {
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.decorado::before,
.decorado::after {
  content: "";
  position: absolute;
  background-size: 300px 300px;
  background-repeat: no-repeat;
  width: 300px;
  height: 300px;
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
}

.decorado::before {
  top: 0;
  left: 0;
  background-image: url("../images/elementospngtecta-10.png"); /* verde */
}

.decorado::after {
  bottom: 0;
  right: 0;
  background-image: url("../images/elementospngtecta-09.png"); /* azul */
  transform: scaleX(-1); /* invertir horizontal */
}

/* ESTILOS PARTICULARES DE CADA SECCIÓN */
.productos-section,
.quienes-somos-section,
.beneficios-section,
.contacto-section {
  background: var(--blanco);
  padding: 80px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.benefit-card {
  background: white;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.icon-wrapper {
  font-size: 40px;
  color: var(--verde); /* asegurate de tener esta variable en tus :root */
  margin-bottom: 15px;
}

.benefit-card h3 {
  color: var(--azul);
  font-size: 20px;
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 15px;
  color: #333;
}
.contacto-section {
  background: #f6fafd;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contacto-section h2 {
  font-size: 32px;
  color: var(--azul);
  margin-bottom: 40px;
}

.contacto-contenido {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 900px;
  width: 100%;
}

.datos-contacto {
  flex: 1 1 300px;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.datos-contacto ul {
  list-style: none;
  padding: 0;
}

.datos-contacto li {
  margin-bottom: 20px;
  font-size: 16px;
  color: #333;
}

.datos-contacto i {
  color: var(--azul);
  margin-right: 10px;
}

.contacto-formulario {
  flex: 1 1 300px;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.contacto-formulario label {
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: 500;
}

.contacto-formulario input,
.contacto-formulario textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.contacto-formulario button {
  margin-top: 20px;
  padding: 12px;
  background: var(--azul);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

.contacto-formulario button:hover {
  background: #0056b3;
}
