:root {
  --color-fondo: #F8F9FA;
  --color-primario: #2F3E46;
  --color-secundario: #4ECDC4;
  --color-acento: #FF7F50;
  --color-texto: #6C757D;
  --fuente-titulos: 'Playfair Display', serif;
  --fuente-base: 'Montserrat', sans-serif;
}

body {
  background-color: var(--color-fondo);
  font-family: var(--fuente-base);
  color: var(--color-texto);
  margin: 0;
}

/* HEADER */
header {
  background-color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
}

.logo img {
  max-height: 85px;
}

/* NAV */
nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--color-primario);
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  color: var(--color-secundario);
}

/* HERO */
.hero {
  background: linear-gradient(rgba(47,62,70,0.4), rgba(47,62,70,0.4)),
              url('imagenes/hero-sonos-lujo.jpg') center/cover no-repeat;
  text-align: center;
  padding: 8rem 2rem;
  color: white;
}

.hero h1 {
  font-family: var(--fuente-titulos);
  font-size: 2.8rem;
}

.hero h1 span {
  color: var(--color-acento);
}

.hero p {
  font-size: 1.2rem;
  margin: 1rem auto 2rem;
  max-width: 600px;
}

.cta {
  background-color: var(--color-secundario);
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}

.cta:hover {
  background-color: var(--color-acento);
}

/* SECCIONES */
section {
  padding: 5rem 2rem;
}

.soft-section {
  background-color: #fff;
}

/* MARCAS */
.marcas-grid {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.marcas-grid img {
  max-width: 90%;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.marcas-grid img:hover {
  filter: grayscale(0%);
}

/* SERVICIOS */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.servicio {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

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

/* GALERÍA */
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 1.5rem;
}

.galeria img {
  width: 100%;
  border-radius: 8px;
}

/* CONTACTO */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

input, textarea, button {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

button {
  background-color: var(--color-secundario);
  color: white;
  font-weight: bold;
  border: none;
}

button:hover {
  background-color: var(--color-acento);
}

/* FOOTER */
footer {
  background-color: #fff;
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-texto);
  border-top: 1px solid #eaeaea;
}
