:root {
  --color-primary: #f8b5d3;    /* Rosa pastel */
  --color-secondary: #e2c1f0;  /* Púrpura pastel */
  --color-accent: #a8d8ea;     /* Azul pastel */
  --color-text: #4a4a4a;       /* Gris oscuro para texto */
  --color-background: #fff5f7; /* Fondo rosa muy claro */
  --color-card: #ffffff;       /* Blanco para tarjetas */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
  font-size: 16px;
}

header {
  background-color: var(--color-primary);
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  margin: 0;
  font-size: 2rem;
  color: #6a0572;
}

nav {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

nav a {
  color: var(--color-text);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

nav a:hover {
  background-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--color-card);
  border-radius: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  animation: fadeIn 0.5s ease-out;
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.intro {
  text-align: center;
  background-color: var(--color-secondary);
  color: white;
  padding: 2rem 1rem;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.servicio-card {
  background-color: var(--color-card);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.servicio-card:hover {
  transform: translateY(-5px);
}

.servicio-card ul {
  list-style-position: inside;
  margin-top: 0.8rem;
}

.servicio-card li {
  margin-bottom: 0.5rem;
}

.marcas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.marca-card {
  background-color: var(--color-card);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-catalogo {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--color-accent);
  color: var(--color-text);
  text-decoration: none;
  border-radius: 25px;
  margin-top: 1rem;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-catalogo:hover {
  background-color: var(--color-secondary);
  transform: scale(1.05);
}

.diseños-info {
  background-color: var(--color-secondary);
  padding: 1.5rem;
  border-radius: 10px;
  margin-top: 1rem;
}

.diseños-info ul {
  list-style-position: inside;
  margin: 1rem 0;
}

.diseños-info li {
  margin-bottom: 0.5rem;
}

.contacto-info {
  text-align: center;
  padding: 1rem;
}

.contacto-info ul {
  list-style-position: inside;
  margin: 1rem 0;
  text-align: left;
  display: inline-block;
}

.contacto-info li {
  margin-bottom: 0.5rem;
}

.whatsapp-btn {
  display: inline-block;
  background-color: #25D366;
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  margin-top: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.whatsapp-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.whatsapp-btn span {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
}

.whatsapp-btn small {
  display: block;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 0.3rem;
}

.nota-precios, .nota-diseños {
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 1rem;
  color: #666;
  text-align: center;
}

footer {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--color-primary);
  color: var(--color-text);
  margin-top: 2rem;
}

/* Media Queries para Responsividad */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  main {
    padding: 0.5rem;
  }
  
  section {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }
  
  .servicios-grid, .marcas-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  nav {
    flex-direction: column;
    align-items: center;
  }
  
  nav a {
    width: 100%;
    text-align: center;
    margin: 0.2rem 0;
  }

  .servicio-card, .marca-card {
    padding: 1rem;
  }

  .whatsapp-btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 13px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .intro {
    padding: 1.5rem 1rem;
  }

  .contacto-info ul {
    text-align: center;
  }
}

/* Animaciones suaves */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
