
:root{
  --cafe:#f57c00;        /* naranjo principal */
  --cafe-700:#d96c00;    /* hover */
  --bg:#f6f6f7;
  --text:#0b3c4d;        /* azul oscuro */
  --muted:#2f9bb3;       /* azul medio */
  --card:#ffffff;
  --border:#e5e7eb;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,Helvetica,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{max-width:1200px;margin:0 auto;padding:0 16px}

header{
  position:sticky;top:0;z-index:50;
  background:#fff;border-bottom:1px solid var(--border);
}
.headerbar{display:flex;align-items:center;gap:14px;height:68px}
.brand{display:flex;align-items:center;gap:10px;min-width:0}
.brand img{width:40px;height:40px;border-radius:10px;object-fit:cover}
.brand__text{display:flex;flex-direction:column;min-width:0}
.brand__top{font-weight:700;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:52vw}
.brand__sub{font-size:12px;color:var(--muted)}

#ig{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:#fff;border:1px solid var(--border);box-shadow:0 2px 6px rgba(0,0,0,.06)}
#ig img{width:20px;height:20px}

nav{margin-left:auto;display:flex;align-items:center;gap:22px}
nav a{color:#111827;font-weight:500}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  padding:10px 16px;
  font-weight:700;
  border:1px solid #d1d5db;
  transition:all .2s ease; /* animación */
}

.btn:hover{
  transform:translateY(-2px); /* efecto subir */
}

.btn--cafe{
  background:var(--cafe);
  border-color:var(--cafe);
  color:#fff;
}

.btn--cafe:hover{
  background:var(--cafe-700);
}

.btn--light{
  background:#fff;
  color:#0f172a;
}
.hamburger{display:none;position:relative;width:44px;height:44px;border-radius:10px;border:1px solid var(--border);background:#fff}
.hamburger span,.hamburger::before,.hamburger::after{
  content:"";position:absolute;left:10px;right:10px;height:2px;background:#111827;border-radius:2px;transition:.3s}
.hamburger span{top:21px}
.hamburger::before{top:14px}
.hamburger::after{top:28px}

@media(max-width:980px){
  nav{display:none;position:fixed;top:68px;left:0;right:0;background:#fff;border-bottom:1px solid var(--border);
      flex-direction:column;padding:14px}
  nav.open{display:flex}
  nav a,.nav-wa{width:100%;padding:12px 6px}
  .nav-wa{width:100%}
  .brand__top{max-width:38vw}
  .hamburger{display:inline-block}
}

.hero{
  position:relative;
  min-height:80vh;
  display:flex;
  align-items:center;
  color:#fff;
  overflow:hidden;
  background:#0b3c4d;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:url('../assets/soldador.jpg') center/cover no-repeat;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(11,60,77,0.75); /* overlay azul */
}
.hero .inner{position:relative;z-index:1}
.hero h1{
  font-size:clamp(36px,6vw,64px);
  line-height:1.1;
  margin:0 0 14px;
  font-weight:800;
}
.hero p{max-width:900px;color:#e5e7eb;font-size:clamp(14px,2.2vw,18px);margin:0 0 22px}
.ctas{display:flex;gap:14px;flex-wrap:wrap}
.ctas .btn--light{background:#fff;color:#0f172a;border-color:#fff}

.section{padding:70px 0}
.section--cafe{
  background:
    linear-gradient(rgba(245,124,0,0.9), rgba(255,152,0,0.9)),
    url('../assets/textura.jpg') center/cover no-repeat;
}
.section--cafe .title,.section--cafe p,.section--cafe li{color:#fff}
.section--cafe .card{background:#fff;color:var(--text)}

.title{font-size:36px;margin:0 0 14px}
.lead{font-size:18px;color:var(--muted);max-width:900px;margin:0 auto;text-align:center}

.centered{text-align:center}

.grid-2{
  display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center;
}
@media(max-width:980px){.grid-2{grid-template-columns:1fr}}

.mision p{font-size:18px}
.picture{border-radius:18px;overflow:hidden;box-shadow:0 10px 20px rgba(0,0,0,.12)}

.services .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media(max-width:980px){.services .cards{grid-template-columns:1fr}}
.card{
  background:var(--card);
  border-radius:18px;
  padding:18px;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
  transition:transform .2s ease, box-shadow .2s ease;
}
.card:hover{
  transform:translateY(-5px);
  box-shadow:0 15px 35px rgba(0,0,0,.12);
}
.card img{border-radius:14px;margin-bottom:12px;height:180px;object-fit:cover;width:100%}
.card h3{margin:6px 0 6px;font-size:18px}
.card ul{margin:0 0 8px 18px}
.card a.action{color:var(--cafe);font-weight:700}

.cta .container{max-width:1100px}
.cta-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
@media(max-width:980px){.cta-grid{grid-template-columns:1fr}}
.form-field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
input,textarea{font:inherit;padding:12px 12px;border-radius:12px;border:1px solid var(--border);background:#fff}
textarea{min-height:140px;resize:vertical}
.row{display:flex;gap:10px;flex-wrap:wrap}
.row .btn{padding:12px 16px}

.contact .box{background:#fff;border:1px solid var(--border);border-radius:18px;padding:20px;max-width:900px;margin:0 auto}
.footer{background:#2b2f35;color:#fff;text-align:center;padding:16px 10px;font-weight:600}

@media(min-width:1024px){
  .cta-grid{max-width:1100px;margin:0 auto}
}

/* Fix: ensure text inside cards on cafe section is dark (not white) */
.section--cafe .card,
.section--cafe .card h3,
.section--cafe .card p,
.section--cafe .card li { color: var(--text) !important; }
.section--cafe .card a.action { color: var(--cafe) !important; }

/* Center contact container better on desktop */
@media (min-width: 1024px){
  .contact .container{ max-width: 1000px; margin-left:auto; margin-right:auto; }
}

/* Center Contact section and set comfortable line-height */
.contact .box{
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}
.contact .box p{
  line-height: 1.5;
}
.contact .box .btn{ 
  margin-left:auto; 
  margin-right:auto; 
  display:inline-block;
}
