/* ============================================================
   Acumulativo — hoja de estilos compartida
   ============================================================ */
:root{
  --dark:#0d141a;
  --dark-2:#1d1e20;
  --accent:#cc6333;
  --accent-light:#e08657;
  --cream:#f5e6c8;
  --text:#1d1e20;
  --muted:#6b6b6b;
  --white:#ffffff;
  --max:1140px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:"DM Sans", Arial, sans-serif;
  color:var(--text);
  line-height:1.6;
  background:#fff;
}
h1,h2,h3,h4{
  font-family:"Roboto", Arial, sans-serif;
  font-weight:600;
  margin:0 0 16px;
  line-height:1.2;
}
p{margin:0 0 16px;color:var(--muted);}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.wrap{max-width:var(--max);margin:0 auto;padding:0 24px;}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:#fff;
  border-bottom:1px solid #eee;
}
.site-header .wrap{
  display:flex;align-items:center;justify-content:space-between;
  padding-top:18px;padding-bottom:18px;
}
.brand{display:flex;align-items:center;gap:10px;font-family:"Roboto",sans-serif;font-weight:600;font-size:1.2em;color:var(--text);}
.brand img{height:44px;width:auto;}
.main-nav{display:flex;gap:32px;align-items:center;}
.main-nav a{font-weight:500;color:var(--text);padding:6px 0;border-bottom:2px solid transparent;transition:border-color .2s;}
.main-nav a:hover,.main-nav a.active{border-color:var(--accent);}
.nav-toggle{display:none;background:none;border:0;font-size:1.6em;cursor:pointer;}
@media(max-width:760px){
  .main-nav{position:fixed;top:80px;left:0;right:0;background:#fff;flex-direction:column;gap:0;border-bottom:1px solid #eee;
    max-height:0;overflow:hidden;transition:max-height .25s ease;}
  .main-nav.open{max-height:320px;}
  .main-nav a{padding:16px 24px;width:100%;border-bottom:1px solid #f2f2f2;}
  .nav-toggle{display:block;}
}

/* ---------- Botones ---------- */
.btn{
  display:inline-block;
  background:var(--accent);
  color:#fff;
  font-weight:500;
  padding:14px 32px;
  border-radius:28px;
  border:none;
  cursor:pointer;
  font-size:1em;
  font-family:"DM Sans",sans-serif;
  transition:background .2s, transform .15s;
}
.btn:hover{background:var(--accent-light);}
.btn-outline{
  display:inline-block;
  background:transparent;
  border:2px solid #fff;
  color:#fff;
  padding:12px 30px;
  border-radius:28px;
  font-weight:500;
}
.btn-outline.dark{border-color:var(--text);color:var(--text);}
.btn-row{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;}

/* ---------- Hero foto (Inicio / Contacto) ---------- */
.hero-photo{
  position:relative;
  background-size:cover;
  background-position:center;
  padding:120px 24px;
  text-align:center;
  color:#fff;
}
.hero-photo::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(13,20,26,.55),rgba(13,20,26,.72));
}
.hero-photo .hero-inner{position:relative;max-width:760px;margin:0 auto;}
.hero-photo h1{color:#fff;font-size:2.6em;}
.hero-photo p{color:#eee;font-size:1.15em;max-width:640px;margin:0 auto 30px;}

/* ---------- Hero claro (Servicios / Productos) ---------- */
.hero-light{
  background:var(--cream);
  padding:90px 24px 60px;
  text-align:center;
}
.hero-light.white{background:#fff;}
.hero-light h1{font-size:2.4em;}
.hero-light p{max-width:600px;margin:0 auto;font-size:1.1em;}

/* ---------- Stats ---------- */
.stats{
  display:flex;justify-content:center;gap:70px;flex-wrap:wrap;
  padding:50px 24px;text-align:center;
}
.stats strong{display:block;font-family:"Roboto",sans-serif;font-size:2.4em;color:var(--accent);font-weight:600;}
.stats span{color:var(--muted);}

/* ---------- Foto + tarjeta superpuesta ---------- */
.overlap{max-width:680px;margin:0 auto 70px;position:relative;}
.overlap img{border-radius:4px;width:100%;height:340px;object-fit:cover;}
.overlap-card{
  background:#fff;
  margin:-70px auto 0;
  position:relative;
  max-width:520px;
  padding:32px 30px;
  text-align:center;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}
.overlap-card h3{margin-bottom:10px;}
.overlap-2{display:flex;flex-wrap:wrap;gap:40px;justify-content:center;margin-bottom:20px;}
.overlap-2 .overlap{flex:1 1 320px;margin-bottom:0;}

/* ---------- Secciones genéricas ---------- */
.section{padding:70px 24px;}
.section.alt{background:#faf8f4;}
.section-head{text-align:center;max-width:640px;margin:0 auto 46px;}
.section-head h2{font-size:2em;}

/* ---------- Grid de tarjetas con foto ---------- */
.card-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:28px;max-width:var(--max);margin:0 auto;
}
.card{
  background:#fff;border:1px solid #eee;border-radius:6px;overflow:hidden;
  box-shadow:0 2px 12px rgba(0,0,0,.04);
  display:flex;flex-direction:column;
}
.card img{height:190px;object-fit:cover;width:100%;}
.card .card-body{padding:24px;flex:1;display:flex;flex-direction:column;}
.card h3{font-size:1.15em;margin-bottom:8px;}
.card p{font-size:.96em;flex:1;}
.card .card-cta{margin-top:12px;}

/* Tarjeta tipo "producto" con panel crema */
.card.product .card-body{background:var(--cream);}
.card .tag{
  font-size:.72em;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);
  font-weight:700;margin-bottom:6px;display:block;
}

/* Tarjeta "proyecto" con flecha */
.card.project .card-body{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start;gap:10px;}
.card.project h3{font-size:1.05em;margin:0;}
.card.project .arrow{font-size:1.3em;color:var(--text);}

/* ---------- Galería ---------- */
.gallery-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:14px;max-width:var(--max);margin:0 auto;
}
.gallery-grid img{height:160px;object-fit:cover;border-radius:6px;}
@media(max-width:700px){.gallery-grid{grid-template-columns:repeat(2,1fr);}}

/* ---------- Testimonios ---------- */
.testimonial-band{
  background:var(--accent);
  color:#fff;
  text-align:center;
  padding:70px 24px;
}
.testimonial-band .stars{color:#fff;font-size:1.3em;margin-bottom:16px;}
.testimonial-band p{color:#fff;font-size:1.2em;font-style:italic;max-width:600px;margin:0 auto 18px;}
.testimonial-band .name{font-weight:600;}

/* ---------- CTA final ---------- */
.cta-band{
  background:var(--dark);
  color:#fff;
  text-align:center;
  padding:60px 24px;
}
.cta-band h2{color:#fff;}
.cta-band p{color:#cfcfcf;max-width:560px;margin:0 auto 26px;}

/* ---------- Contacto: formulario flotante ---------- */
.contact-form-wrap{max-width:560px;margin:-90px auto 0;position:relative;}
.contact-form{
  background:#fff;padding:40px 34px;box-shadow:0 14px 40px rgba(0,0,0,.12);
}
.contact-form label{display:block;font-weight:600;margin-bottom:6px;font-size:.95em;}
.contact-form input,.contact-form textarea{
  width:100%;padding:12px 14px;margin-bottom:20px;border:1px solid #ddd;border-radius:4px;
  font-family:"DM Sans",sans-serif;font-size:1em;
}
.contact-form textarea{min-height:110px;resize:vertical;}
.contact-form .btn{width:100%;}

.contact-info{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:36px;max-width:var(--max);margin:0 auto;padding-top:110px;
}
.contact-info h4{font-size:.8em;letter-spacing:.06em;text-transform:uppercase;color:var(--accent);margin-bottom:8px;}
.contact-info p{color:var(--text);margin-bottom:0;}
.contact-info a{color:var(--accent);font-weight:600;}

/* ---------- Footer ---------- */
.site-footer{background:var(--dark);color:#cfcfcf;padding:70px 24px 30px;}
.footer-grid{
  display:grid;grid-template-columns:2fr 1fr 1.4fr;gap:40px;max-width:var(--max);margin:0 auto;
}
.footer-grid h3{color:#fff;font-size:1.3em;}
.footer-grid label{
  display:block;font-size:.78em;letter-spacing:.06em;text-transform:uppercase;
  font-weight:700;color:#fff;margin-bottom:14px;
}
.footer-grid a{display:block;color:#cfcfcf;margin-bottom:8px;}
.footer-grid input{
  width:100%;padding:12px 14px;border:none;border-radius:4px;margin-bottom:14px;font-family:"DM Sans",sans-serif;
}
.footer-bottom{
  max-width:var(--max);margin:50px auto 0;padding-top:24px;border-top:1px solid rgba(255,255,255,.12);
  font-size:.85em;color:#8a8f94;
}
@media(max-width:760px){
  .footer-grid{grid-template-columns:1fr;}
  .contact-info{padding-top:70px;}
}
