/* =========================
   RESET GENERAL
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fafafa;
}

/* =========================
   CONTENEDOR GENERAL
========================= */
.section {
  padding: 80px 20px;
  text-align: center;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #222;
}

/* =========================
   HEADER
========================= */
.header-centro {
  background: #111;
  text-align: center;
  padding: 20px 0 10px 0;
  position: relative;
}

.placa-blanca {
  background: white;
  display: inline-block;
  padding: 10px 25px;
  border-radius: 8px;
}

.logo-grande {
  max-width: 250px;
  height: auto;
}

/* REDES SOCIALES */
.header-social-container {
  margin-top: 15px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.icon svg {
  width: 26px;
  height: 26px;
  fill: #c8a951;
  transition: 0.3s;
}

.icon:hover svg {
  transform: scale(1.2);
  fill: #ffffff;
}

/* =========================
   HERO
========================= */
.hero {
  height: 85vh;
  background: url("img/hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.65);
  padding: 50px 30px;
  color: white;
  text-align: center;
  max-width: 800px;
  border-radius: 10px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

/* BOTONES */
.btn {
  display: inline-block;
  background: #c8a951;
  color: #111;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
}

.btn:hover {
  background: #a8873f;
  color: white;
}

/* =========================
   PRODUCTOS
========================= */
.productos-botones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.producto-btn {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #222;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.producto-btn img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.producto-btn span {
  display: block;
  padding: 15px;
  font-weight: 600;
}

.producto-btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* =========================
   SERVICIOS
========================= */
.servicios {
  background: #f3f3f3;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.servicio-card {
  background: white;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.servicio-card:hover {
  transform: translateY(-5px);
}

.servicio-card h3 {
  margin: 15px 0;
  color: #222;
}

/* =========================
   NOSOTROS
========================= */
#nosotros p {
  max-width: 800px;
  margin: auto;
  font-size: 1.1rem;
}

/* =========================
   FORMULARIO
========================= */
.form {
  max-width: 600px;
  margin: auto;
  text-align: left;
}

.form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

.form input,
.form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.form textarea {
  resize: vertical;
  min-height: 100px;
}

.form button {
  margin-top: 20px;
  width: 100%;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #111;
  color: #aaa;
  padding: 50px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}

.footer h3 {
  color: #c8a951;
  margin-bottom: 15px;
}

.footer a {
  color: #aaa;
  text-decoration: none;
  transition: 0.3s;
}

.footer a:hover {
  color: #fff;
}

/* =========================
   WHATSAPP FLOTANTE
========================= */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .logo-grande {
    max-width: 180px;
  }

  .section {
    padding: 60px 20px;
  }
/* ====================================
   ICONOS REDES SOCIALES (TAMAÑO CONTROLADO)
====================================== */
.header-social-container .social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.header-social-container .social-icons .icon svg {
  width: 24px;
  height: 24px;
  fill: #c8a951;
  transition: transform 0.2s ease, fill 0.2s ease;
}

.header-social-container .social-icons .icon:hover svg {
  transform: scale(1.2);
  fill: #fff;
/* =========================================
   RESET BÁSICO
========================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =========================================
   CONTROL GLOBAL DE IMÁGENES
========================================= */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================================
   LOGO HEADER
========================================= */
header img,
.logo img {
  height: 60px;
  width: auto;
}

/* =========================================
   HERO
========================================= */
.hero {
  height: 450px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Fix tamaño íconos redes sociales */
.social-icons svg {
  width: 24px;
  height: 24px;
  display: block;
}
