
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fafafa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


header.header {
  background: #1a1a1a;
  color: white;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
}

.logo span {
  color: #d4af37;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
  color: #d4af37;
}

.cart {
  margin-left: auto;
  margin-right: 2rem;
  font-size: 1.5rem;
  cursor: pointer;
  background: #d4af37;
  color: #1a1a1a;
  padding: 8px 14px;
  border-radius: 50px;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

.hero {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('https://via.placeholder.com/1920x1080/333333/ffffff?text=Inverhogar+Hero') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 70px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  max-width: 700px;
}

.btn-primary {
  background: #d4af37;
  color: #1a1a1a;
  padding: 16px 45px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #b8972e;
  transform: scale(1.05);
}


.section {
  padding: 100px 0;
}


.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text h2,
.about-text h3 {
  font-family: 'Playfair Display', serif;
  color: #d4af37;
  margin: 2rem 0 1rem;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.values li {
  margin: 12px 0;
  font-size: 1.2rem;
  font-weight: 500;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
}

.product-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.product-info {
  padding: 1.8rem;
  text-align: center;
}

.product-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: #1a1a1a;
}

.price {
  font-size: 1.7rem;
  font-weight: bold;
  color: #d4af37;
  margin: 1.2rem 0;
}

.btn-add {
  background: #1a1a1a;
  color: white;
  border: none;
  padding: 14px 32px;
  cursor: pointer;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s;
}

.btn-add:hover {
  background: #d4af37;
  color: #1a1a1a;
  transform: scale(1.05);
}

/* ================== CONTACTO ================== */
.hero-contacto {
  background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
              url('https://via.placeholder.com/1920x500/1a1a1a/ffffff?text=Contacto') center/cover;
  padding: 140px 0 90px;
  text-align: center;
  color: white;
}

.hero-contacto h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  margin-bottom: 1rem;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-top: 2rem;
}

.formulario h2,
.info-contacto h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1.8rem;
  color: #d4af37;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 1.1rem;
  transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d4af37;
}

.form-note {
  margin-top: 1rem;
  font-style: italic;
  color: #666;
}

.info-item {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
  align-items: flex-start;
}

.info-item i {
  font-size: 1.8rem;
  color: #d4af37;
  margin-top: 4px;
}

.info-item a {
  color: #d4af37;
  text-decoration: none;
  font-weight: 500;
}

.info-item a:hover {
  text-decoration: underline;
}

.mapa {
  margin: 3rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.redes {
  text-align: center;
  margin-top: 3rem;
}

.redes .social {
  display: inline-block;
  width: 55px;
  height: 55px;
  background: #d4af37;
  color: #1a1a1a;
  line-height: 55px;
  font-size: 1.6rem;
  border-radius: 50%;
  margin: 0 12px;
  transition: all 0.3s;
}

.redes .social:hover {
  background: #1a1a1a;
  color: #d4af37;
  transform: translateY(-5px);
}


.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 35px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: all 0.3s;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #128C7E;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}


.footer {
  background: #1a1a1a;
  color: white;
  text-align: center;
  padding: 3rem 0;
  margin-top: 5rem;
}

@media (max-width: 992px) {
  .about-grid,
  .contacto-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 { font-size: 3.8rem; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #1a1a1a;
    padding: 1.5rem 0;
    text-align: center;
  }
  .nav ul.active { display: flex; }
  .cart { margin-left: 1rem; }
  .hero h1 { font-size: 3.2rem; }
  .hero-contacto h1 { font-size: 3rem; }
}