:root{
  --brand:#039f1b;
  --bg:#c87ba4;
  --card:#d31b18;
  --muted:#242723;
  --radius:12px;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background:var(--bg);
  color:#222;
  line-height:1.4;
}

/* NAV */
header.site-header{
  background:var(--brand);
  color:#fff;
  padding:14px 20px;
  display:flex;
  align-items:center;
  gap:12px;
}

/* Texto centrado en medio del header */
.site-title{
  font-weight:700;
  letter-spacing:0.6px;
  text-align:center;
  flex:1;
}

/* NAV LINKS */
.site-nav a{
  color:#fff;
  text-decoration:none;
  margin-left:14px;
  font-weight:600;
}
.site-nav a:hover{
  opacity:.9; 
  text-decoration:underline}

/* HERO / PANTALLA PRINCIPAL */
.hero{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:60px 20px;
  background:linear-gradient(180deg, rgba(162, 15, 54, 0.95), rgba(139,21,56,0.85));
  color:#fff;
}
.hero .inner{
  max-width:1100px;
}
.hero h1{font-size:2.2rem;margin-bottom:8px}
.hero p{opacity:.95}

/* LAYOUT */
.container{
  max-width:1100px;
  margin:28px auto;
  padding:0 18px;
}

/* SECCIONES */
.section{
  background:var(--card);
  padding:22px;
  border-radius:var(--radius);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  margin-bottom:18px;
}
.vision h2{margin-bottom:8px}
.vision p{color:var(--muted)}

/* ASIDE */
.layout{
  display:grid;
  grid-template-columns: 260px 1fr;
  gap:18px;
  margin-top:8px;
}
aside.sidebar{
  background: #dde2db;
  padding:16px;
  border-radius:10px;
  height:fit-content;
  box-shadow:0 6px 14px rgba(0,0,0,0.04);
}
.sidebar h3{margin-bottom:10px}

/* PRODUCTOS */
.product-board{
  background:var(--card);
  padding:18px;
  border-radius:12px;
  box-shadow:0 8px 20px rgba(0,0,0,0.06);
}
.product-board h2{margin-bottom:14px}

.products-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap:14px;
}
.product-card{
  background:#fff;
  border-radius:10px;
  border:1px solid #eee;
  padding:12px;
  text-align:center;
  transition:transform .15s ease, box-shadow .15s ease;
}
.product-card:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 30px rgba(0,0,0,0.08);
}
.product-card img{
  width:100%;
  height:140px;
  object-fit:cover;
  border-radius:8px;
  margin-bottom:10px;
}
.product-card h4{font-size:1rem;margin-bottom:6px}
.product-card p{font-size:.9rem;color:var(--muted);margin-bottom:8px}
.btn{
  display:inline-block;
  padding:8px 12px;
  border-radius:8px;
  background:var(--brand);
  color:#fff;
  text-decoration:none;
  font-weight:600;
}

/* FOOTER */
footer{
  text-align:center;
  color:#fff;
  background:var(--brand);
  padding:12px;
  margin-top:22px;
}

/* RESPONSIVE */
@media (max-width:900px){
  .layout{grid-template-columns:1fr; }
  aside.sidebar{order:2}
  .hero{padding:40px 14px}
}

/* MENÚ DESPLEGABLE */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown > a {
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  font-weight: 600;
}
.dropdown-content {
  display: none;
  position: absolute;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  border-radius: 8px;
  z-index: 1000;
}
.dropdown-content a {
  color: #333 !important;
  padding: 10px 14px;
  display: block;
  text-decoration: none;
}
.dropdown-content a:hover {
  background: #f0f0f0;
}
.dropdown:hover .dropdown-content {
  display: block;
}

/* CONTENEDOR PRINCIPAL */
.contenedor-principal {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 30px;
}
.columna-izquierda {
  flex: 1;
  max-width: 40%;
}
.columna-derecha {
  flex: 1;
  max-width: 55%;
}
.menu-rapido, .mision, .vision {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.menu-rapido h3, .mision h2, .vision h2 {
  color: #7a0e2a;
}
.menu-rapido ul {
  list-style: none;
  padding: 0;
}
.menu-rapido li {
  margin-bottom: 5px;
}
.menu-rapido a {
  color: #7a0e2a;
  text-decoration: none;
}
.menu-rapido a:hover {
  text-decoration: underline;
}

/* GEOLOCALIZACIÓN y UBICACIÓN NUEVA */
.coords{
  font-weight:bold;
  margin-top:15px;
}
.mapa-fijo{
  margin-top:40px;
}
.mapa-fijo h3{
  color:var(--brand);
  margin-bottom:8px;
}
.map-link{
  margin-top:10px;
}
.map-link a{
  color:var(--brand);
  font-weight:bold;
  text-decoration:none;
}
.map-link a:hover{
  text-decoration:underline;
}

/* IFRAME DINÁMICO */
iframe{
  width:90%;
  height:400px;
  border:0;
  border-radius:10px;
  margin-top:15px;
}

/* RESPONSIVO UBICACIÓN */
@media (max-width:768px){
  .contenedor-principal, .container{
    flex-direction:column;
    margin:20px;
    padding:15px;
  }
  iframe{
    width:100%;
    height:300px;
  }
  .btn{
    width:90%;
  }
}