:root{
  --rosa: #EC268F;
  --negro: #000000;
  --blanco: #FFFFFF;
  --whatsapp: #25D366;
  --gris-100: #f5f5f5;
  --gris-200: #ececec;
  --gris-300: #e5e5e5;
  --borde: #e7e7e7;
  --shadow: 0 8px 24px rgba(0,0,0,.06);
}

*{ box-sizing: border-box; }

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--negro);
  background: var(--blanco);
  line-height: 1.5;
}

/* Contenedores */
.container{
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* Header / Nav */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--blanco);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.nav{
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  flex-wrap: wrap;
}

.nav-link{
  text-decoration: none;
  color: var(--negro);
  font-weight: 500;
  padding: 6px 4px;
  border-radius: 6px;
}

.nav-link:hover{
  color: var(--rosa);
}

/* Botones */
.btn-whatsapp{
  background: var(--whatsapp);
  color: var(--blanco);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.btn-primary{
  background: var(--rosa);
  color: var(--blanco);
  border: 0;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary:hover{ filter: brightness(0.95); }

.btn-outline{
  color: var(--rosa);
  border: 2px solid var(--rosa);
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.btn-outline:hover{
  background: #ffe6f2;
}

/* Hero */
.hero{
  padding: clamp(32px, 5vw, 64px) 0 clamp(28px, 4vw, 48px);
}

.hero-title{
  font-size: clamp(28px, 5.5vw, 44px);
  color: var(--rosa);
  margin: 0 0 10px 0;
  line-height: 1.15;
}

.hero-desc{
  font-size: clamp(16px, 2.5vw, 18px);
  margin: 0 0 22px 0;
  max-width: 900px;
}

/* Beneficios */
.benefits{
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 16px 0 24px;
}

.benefit{
  background: var(--gris-100);
  border: 1px solid var(--borde);
  padding: 10px 14px;
  border-radius: 10px; /* esquinas ligeramente redondeadas */
  font-weight: 500;
  white-space: nowrap;
}

/* Imagen hero */
.hero-image{
  margin-top: 8px;
}
.hero-image img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--gris-300);
  box-shadow: var(--shadow);
}

/* Secciones */
.section{
  padding: clamp(40px, 6vw, 72px) 0;
}

.section.alt{
  background: var(--gris-100);
}

.section-title{
  margin-top: 0;
  margin-bottom: 18px;
  font-size: clamp(22px, 4vw, 32px);
  color: var(--rosa);
}

/* Productos */
.products-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
@media (max-width: 900px){
  .products-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px){
  .products-grid{ grid-template-columns: 1fr; }
}

.product-card{
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product-image{
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--gris-300);
  margin-bottom: 10px;
}
.product-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-icon-fallback{
  font-size: 42px;
  line-height: 1;
  margin: 18px 0 8px;
  opacity: .6;
}

.product-name{
  margin: 6px 0 4px;
  font-size: 18px;
  font-weight: 600;
}

/* Servicios / Nosotros */
.list{
  display: grid;
  gap: 8px;
  padding-left: 18px;
  margin: 0;
}

/* Contacto */
.contact-grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px){
  .contact-grid{ grid-template-columns: 1fr; }
}

.contact-item{
  margin: 6px 0;
}

.social{
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.social-link{
  text-decoration: none;
  color: var(--rosa);
  font-weight: 600;
}
.social-link:hover{ text-decoration: underline; }

.contact-form{
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.field{
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}
.field input,
.field textarea{
  width: 100%;
  border: 1px solid var(--gris-300);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.privacy-note{
  font-size: 12px;
  opacity: .8;
  margin: 6px 0 12px;
}

.actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Mapa */
.map-wrap{
  margin-top: 20px;
  border: 1px solid var(--borde);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrap iframe{
  width: 100%;
  height: 360px;
  display: block;
}

/* Footer */
.site-footer{
  padding: 16px 0;
  background: #fafafa;
  border-top: 1px solid var(--borde);
  color: #333;
  font-size: 14px;
}
.footer-inner{
  display: flex;
  justify-content: center;
}

/* Logo fijo inferior izquierdo */
.floating-logo{
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(44px, 7vw, 64px);
  height: clamp(44px, 7vw, 64px);
  border-radius: 12px;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--borde);
  box-shadow: var(--shadow);
  backdrop-filter: saturate(1.8) blur(4px);
}
.floating-logo img{
  width: 80%;
  height: auto;
}

/* FAB WhatsApp */
.wa-fab{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1100;
  background: var(--whatsapp);
  color: var(--blanco);
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.wa-fab:hover{ filter: brightness(0.95); }

/* Utilidades */
.hidden{ display: none; }
.lead{ font-size: 18px; }
