:root {
  --terracota: #e1933f;
  --terracota-oscuro: #a45d28;
  --gris: #f8f8f8;
  --negro: #222;
}

/* ===== RESET BÁSICO ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: "Poppins", sans-serif; color: var(--negro); background: #fff; }

/* ===== HEADER ===== */
header {
  background: var(--terracota);
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 50px 10px 50px;
  flex-wrap: wrap;
}
.logo-container { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { 
  width: 100px; 
  height: auto; 
  object-fit: contain; 
  filter: none; 
}
.logo-text { font-size: 1.6rem; font-weight: 700; color: #fff; }

nav ul { display: flex; list-style: none; gap: 25px; flex-wrap: wrap; }
nav ul li a {
  color: #fff; text-decoration: none; font-weight: 500; transition: color .3s;
}
nav ul li a:hover, nav ul li a.active { color: #ffe8d2; }

/* ===== BANNER ===== */
.banner {
  background: url("imagenes/banner.png") center/cover no-repeat;
  color: #fff; text-align: center; padding: 160px 20px;
}
.banner-texto h1 { font-size: 2.5rem; margin-bottom: 10px; }
.banner-texto p { font-size: 1.2rem; margin-bottom: 20px; }
.btn {
  background: var(--terracota-oscuro); color: #fff;
  padding: 10px 25px; border-radius: 25px; text-decoration: none; font-weight: 700;
  transition: .3s;
}
.btn:hover { background: #fff; color: var(--terracota-oscuro); }

/* ===== POR QUÉ ELEGIRNOS ===== */
.porque { background: var(--gris); text-align: center; padding: 80px 20px; }
.porque h2 { color: var(--terracota-oscuro); margin-bottom: 30px; }
.razones { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; }
.razon {
  width: 280px; background: #fff; border-radius: 12px; padding: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,.1); transition: transform .3s;
}
.razon:hover { transform: scale(1.05); }
.razon i { font-size: 2rem; color: var(--terracota); margin-bottom: 10px; }

/* ===== CATEGORÍAS ===== */
.categorias { padding: 80px 50px; background: #fff; text-align: center; }
.categorias h2 { color: var(--terracota-oscuro); margin-bottom: 40px; }

.galeria {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
  gap: 35px;
}
.categoria img {
  width: 100%; height: 260px; object-fit: cover; border-radius: 12px; transition: transform .3s;
}
.categoria img:hover { transform: scale(1.05); }
.categoria h3 { margin-top: 10px; color: var(--terracota-oscuro); }

/* ===== NOSOTROS ===== */
.nosotros {
  background: #fff; color: #333; padding: 80px 100px; text-align: left;
  border-bottom: 3px solid var(--terracota); max-width: 1200px; margin: 60px auto;
  border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,.08);
}
.nosotros h1 { color: var(--terracota-oscuro); font-size: 2rem; margin-bottom: 20px; }
.nosotros p {
  font-size: 1.05rem; line-height: 1.7; margin-bottom: 14px; text-align: justify;
}

/* ===== VALORES ===== */
.valores {
  background: var(--terracota);
  color: #fff;
  padding: 80px 60px;
  text-align: center;
}
.valores h2 { font-size: 2rem; margin-bottom: 40px; }
.valores .razones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
}
.valores .razon {
  background: rgba(255, 255, 255, .15);
  border-radius: 15px;
  padding: 25px;
  width: 260px;
  transition: .3s;
}
.valores .razon i {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 10px;
}
.valores .razon:hover {
  background: rgba(255, 255, 255, .25);
  transform: translateY(-5px);
}

/* ===== FOOTER ===== */
footer {
  background: #fff; 
  border-top: 3px solid var(--terracota); 
  padding: 40px 20px;
}
.footer-container {
  max-width: 1200px; 
  margin: 0 auto;
  display: flex; 
  justify-content: flex-start; 
  align-items: flex-start;
  gap: 100px; 
  flex-wrap: wrap; 
  text-align: left;
  transform: translateX(210px);
}
@media (max-width: 1200px) {
  .footer-container { 
    transform: none; 
    justify-content: center; 
  }
}
.footer-col h3 { 
  color: var(--terracota-oscuro); 
  margin-bottom: 15px;
  font-size: 1.1rem;
}
.footer-col p {
  color: #333; 
  margin-bottom: 10px; 
  font-size: .95rem;
  line-height: 1.6;
}
.footer-col a {
  color: #333; 
  font-size: .95rem; 
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s;
}
.footer-col a:hover {
  color: var(--terracota);
}
.footer-col p i { 
  margin-right: 8px;
  width: 16px;
  display: inline-block;
  text-align: center;
  color: var(--terracota-oscuro);
}
.social-icons { 
  margin-top: 15px;
  display: flex;
  gap: 5px;
}
.social-icons a {
  display: flex; 
  justify-content: center; 
  align-items: center;
  width: 40px; 
  height: 40px; 
  border-radius: 50%;
  border: 2px solid var(--terracota-oscuro); 
  color: var(--terracota-oscuro);
  font-size: 1.1rem; 
  transition: .3s;
  text-decoration: none;
  padding: 0;
}
.social-icons a i {
  display: block;
  line-height: 1;
}
.social-icons a:hover {
  background: var(--terracota-oscuro); 
  color: #fff; 
  transform: translateY(-3px);
}
.copyright {
  text-align: center; 
  color: var(--terracota-oscuro); 
  margin-top: 20px; 
  font-size: .9rem;
}

