:root{
  --orange:#f7931e;
  --text:#333;
  --muted:#6b7280;
  --footer:#f8f5f0;
}

html{ scroll-behavior:smooth; }
body{
  font-family:'Open Sans',sans-serif;
  color:var(--text);
  margin:0;
  overflow-x:hidden;
}

.logo{ width:180px; height:auto; }

.botonera{ margin:0; padding-left:0; text-align:right; }
.botonera li{
  padding-top:20px;
  display:inline-block;
  margin-left:12px;
  font-weight:700;
  font-size:16px;
}
.botonera li a{ color:var(--orange); text-decoration:none; }
.botonera li a:hover{ color:#111; }

header{
  background:#fff;
  padding-top:15px;
  padding-bottom:10px;
  position:fixed;
  width:100%;
  z-index:1000;
  box-shadow:0 1px 8px rgba(0,0,0,.06);
}

#home{ padding-top:89px; }
.hero{
  position:relative;
  width:100%;
  height:clamp(650px, 48vw, 820px);
  overflow:hidden;
  background:#ddd;
}
#fondo{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 43%;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.52) 0%, rgba(0,0,0,.22) 38%, rgba(0,0,0,.03) 67%);
  pointer-events:none;
}
.hero-content{
  position:absolute;
  z-index:2;
  left:max(6vw, 45px);
  top:50%;
  transform:translateY(-50%);
  max-width:620px;
  color:#fff;
  text-shadow:0 2px 8px rgba(0,0,0,.22);
}
.hero-content h1{
  font-weight:700;
  font-size:clamp(38px, 4vw, 64px);
  line-height:1.08;
  margin-bottom:18px;
  color:#fff;
}
.hero-content p{
  font-size:clamp(17px, 1.35vw, 22px);
  line-height:1.55;
  margin-bottom:28px;
  max-width:560px;
}
.hero-button{
  display:inline-block;
  background:var(--orange);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  padding:14px 24px;
  border-radius:999px;
  box-shadow:0 8px 22px rgba(0,0,0,.18);
}
.hero-button:hover{ color:#fff; background:#e98208; }

.orange{ background:#fff; }
.nosotros{
  width:100%;
  text-align:center;
  margin-top:110px;
  scroll-margin-top:115px;
}
.nosotros p{ max-width:1050px; margin:0 auto; line-height:1.8; }
.nosotros h2, #tituloS h2{
  font-weight:300;
  font-size:50px;
  color:var(--orange);
}

#servicios{ background:#fff; margin-top:70px; scroll-margin-top:115px; }
.servicios{ text-align:center; padding-bottom:50px; }
#imageneServicio{ padding-top:42px; }
.servicios img{ width:40%; max-width:120px; text-align:center; }
#servicios2{ padding-top:10px; }
.servicios h2{ color:#666; font-weight:300; }
.servicios h3{ font-size:19px; margin-top:14px; }

/* Carrusel original: misma altura visual, pero nunca deforma las fotos. */
#fotos{ padding:0; margin-top:40px; max-width:1320px; }
.carousel-inner{
  background:#f4f4f4;
  border-radius:8px;
  overflow:hidden;
}
.carousel-item{
  height:clamp(560px, 48vw, 760px);
  background:#f4f4f4;
}
.carousel-photo{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
}
.carousel-control-prev-icon,
.carousel-control-next-icon{
  filter:drop-shadow(0 1px 3px rgba(0,0,0,.6));
}

/* Mapa más compacto */
#rowMapa{ justify-content:center; margin-top:55px; }
#mapa{
  display:block;
  width:100%;
  max-width:960px;
  height:320px;
  border:0;
  border-radius:10px;
  margin:0 auto;
}

/* Footer claro y ordenado */
#piepagina{
  margin-top:45px;
  padding:42px 38px 34px;
  background:var(--footer);
  border-top:1px solid #eee7de;
}
#piepagina h3{
  text-align:center;
  font-family:'Open Sans',sans-serif;
  font-size:30px;
  color:#2f2f2f;
  margin-bottom:26px;
}
#listaContactos{ padding-top:5px; }
#piepagina #descripcion h2{
  padding-top:5px;
  color:#444;
  text-align:left;
  font-family:'Open Sans',sans-serif;
  font-size:14px;
  line-height:1.6;
  font-weight:400;
}
.footer-logo-wrap,
.footer-contact-icon{
  min-height:105px;
  display:flex;
  align-items:center;
  justify-content:center;
}
#logoMail, #logoWsp{
  width:56px;
  height:56px;
  padding:0;
  transition:transform .2s ease;
}
#logoMail:hover, #logoWsp:hover{ transform:scale(1.07); }

#pp{
  background:var(--footer);
  border-top:1px solid #e7dfd5;
  padding:14px 20px;
}
#pp p{
  background:transparent;
  font-size:12px;
  margin:0;
  color:#6b7280;
  text-align:center;
}

@media (max-width: 991px){
  .botonera li{ font-size:14px; margin-left:6px; }
  .hero{ height:650px; }
  .hero-content{ left:35px; max-width:520px; }
  .carousel-item{ height:580px; }
}

@media (max-width: 767px){
  header{ position:relative; }
  #home{ padding-top:0; }
  .top{ text-align:center; }
  .botonera{ text-align:center; padding:4px 0 8px; }
  .botonera li{ padding-top:8px; }
  .hero{ height:580px; }
  #fondo{ object-position:58% center; }
  .hero::after{ background:linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.12)); }
  .hero-content{ left:22px; right:22px; max-width:440px; }
  .hero-content h1{ font-size:38px; }
  .hero-content p{ font-size:17px; }
  .nosotros{ margin-top:70px; }
  .nosotros h2, #tituloS h2{ font-size:36px; }
  .servicios .col-md-3{ margin-bottom:35px; }
  .carousel-item{ height:500px; }
  #mapa{ height:280px; }
  #piepagina{ padding:35px 20px; text-align:center; }
  #piepagina #descripcion h2{ text-align:center; }
}

@media (max-width: 480px){
  .logo{ width:155px; }
  .hero{ height:520px; }
  .hero-content h1{ font-size:32px; }
  .hero-content p{ font-size:16px; }
  .carousel-item{ height:420px; }
}
