
:root{
  --bg:#071522;
  --bg2:#0c1f33;
  --panel:#10263b;
  --text:#f7f9fc;
  --muted:#bcc8d8;
  --green:#42db61;
  --green2:#72ee86;
  --line:rgba(255,255,255,.12);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
}
a{color:inherit;text-decoration:none}

.site-header{
  position:sticky;
  top:0;
  z-index:30;
  min-height:82px;
  display:flex;
  align-items:center;
  gap:32px;
  padding:14px clamp(24px,5vw,78px);
  background:rgba(5,17,29,.96);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(12px);
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:max-content;
}

.brand-icon{
  position:relative;
  width:48px;
  height:46px;
}

.nozzle{
  position:absolute;
  left:17px;
  top:0;
  width:14px;
  height:17px;
  border-radius:4px;
  background:#fff;
}

.nozzle:after{
  content:"";
  position:absolute;
  width:3px;
  height:9px;
  left:5px;
  top:15px;
  background:#fff;
}

.layer{
  position:absolute;
  height:6px;
  background:var(--green);
  transform:skewX(-20deg);
  border-radius:2px;
}

.layer.a{top:25px;left:3px;width:38px}
.layer.b{top:32px;left:6px;width:34px}
.layer.c{top:39px;left:10px;width:28px}

.brand-name{
  font-weight:900;
  font-size:24px;
  letter-spacing:.5px;
}

.brand-name span,
.footer-logo span{color:var(--green)}

.brand-subtitle{
  font-size:10px;
  letter-spacing:2px;
  color:#dce4ee;
  margin-top:2px;
}

.nav{
  margin-left:auto;
  display:flex;
  gap:28px;
  align-items:center;
}

.nav a{
  position:relative;
  padding:10px 0;
  color:#eef3f8;
}

.nav a:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:2px;
  background:var(--green);
  transform:scaleX(0);
  transition:.2s;
}

.nav a:hover:after,
.nav a.active:after{transform:scaleX(1)}

.top-cta,
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  font-weight:800;
}

.top-cta{
  padding:15px 22px;
  background:var(--green);
  color:#06170b;
  white-space:nowrap;
}

.menu-toggle{
  display:none;
  margin-left:auto;
  background:transparent;
  color:white;
  border:1px solid var(--line);
  border-radius:10px;
  font-size:22px;
  padding:8px 12px;
}

.hero{
  position:relative;
  min-height:700px;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:
    url("assets/hero-clean.png") center right / cover no-repeat;
}

.hero-shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,
      rgba(4,16,29,.98) 0%,
      rgba(4,16,29,.93) 28%,
      rgba(4,16,29,.65) 47%,
      rgba(4,16,29,.10) 72%,
      rgba(4,16,29,.02) 100%);
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:760px;
  padding:70px clamp(24px,6vw,96px);
}

.eyebrow{
  margin:0 0 18px;
  color:var(--green2);
  font-size:14px;
  letter-spacing:4px;
  font-weight:900;
}

h1,h2,h3,p{margin-top:0}

h1{
  font-size:clamp(54px,6vw,90px);
  line-height:.98;
  letter-spacing:-3px;
  margin-bottom:24px;
}

h1 span{
  display:block;
  color:var(--green2);
}

.lead{
  max-width:650px;
  font-size:21px;
  line-height:1.55;
  color:#d9e2ec;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin:34px 0 28px;
}

.btn{
  padding:15px 24px;
  transition:.2s;
}

.btn:hover{transform:translateY(-2px)}

.primary{
  background:linear-gradient(135deg,#2dcc50,#61e875);
  color:#06170b;
}

.secondary{
  border:1px solid rgba(255,255,255,.5);
  color:#fff;
  background:rgba(5,18,31,.28);
}

.hero-badges{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  color:#d8e2ec;
  font-size:14px;
}

.services,
.project{
  padding:90px clamp(24px,6vw,96px);
}

.services{
  background:linear-gradient(180deg,#071522,#0a1d30);
}

.section-title{
  max-width:760px;
  margin-bottom:38px;
}

.section-title h2,
.project h2,
.contact h2{
  font-size:clamp(36px,4vw,56px);
  letter-spacing:-1.5px;
  margin-bottom:14px;
}

.section-title > p:not(.eyebrow),
.project > div > p:not(.eyebrow){
  font-size:18px;
  line-height:1.6;
  color:var(--muted);
}

.cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.card{
  min-height:215px;
  padding:28px;
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
}

.icon{
  width:52px;
  height:52px;
  border-radius:14px;
  border:1px solid rgba(66,219,97,.45);
  color:var(--green2);
  display:grid;
  place-items:center;
  font-size:24px;
  margin-bottom:20px;
}

.card p{color:var(--muted);line-height:1.55}

.project{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:60px;
  background:#081726;
}

.preview{
  min-height:360px;
  display:grid;
  grid-template-columns:34% 66%;
  overflow:hidden;
  border-radius:24px;
  border:1px solid var(--line);
  background:#0d2034;
}

.preview-sidebar{
  padding:30px 20px;
  display:flex;
  flex-direction:column;
  gap:18px;
  background:#0a1828;
}

.preview-sidebar span{
  height:26px;
  border-radius:8px;
  background:rgba(255,255,255,.08);
}

.preview-letter{
  display:grid;
  place-items:center;
  font-size:220px;
  font-weight:900;
  color:#f84c8d;
}

.contact{
  margin:45px clamp(24px,6vw,96px) 80px;
  padding:44px 52px;
  border:1px solid var(--line);
  border-radius:24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  background:linear-gradient(135deg,#102a45,#091c2f);
}

.contact h2{margin-bottom:0}

footer{
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
  border-top:1px solid var(--line);
  padding:34px clamp(24px,6vw,96px);
  color:var(--muted);
}

.footer-logo{
  color:white;
  font-weight:900;
  font-size:20px;
}

footer p{margin-bottom:0}
.copy{margin-left:auto}

@media(max-width:1050px){
  .nav{
    display:none;
    position:absolute;
    top:82px;
    left:0;
    right:0;
    padding:20px 30px;
    background:#071522;
    flex-direction:column;
    align-items:flex-start;
    border-bottom:1px solid var(--line);
  }

  .nav.open{display:flex}
  .menu-toggle{display:block}
  .top-cta{display:none}

  .cards{grid-template-columns:repeat(2,1fr)}
  .project{grid-template-columns:1fr}

  .hero{
    background-position:62% center;
  }

  .hero-shade{
    background:linear-gradient(90deg,
      rgba(4,16,29,.98) 0%,
      rgba(4,16,29,.92) 42%,
      rgba(4,16,29,.45) 75%,
      rgba(4,16,29,.15) 100%);
  }
}

@media(max-width:640px){
  .site-header{padding:12px 18px}
  .brand-name{font-size:20px}
  .brand-subtitle{display:none}

  .hero{
    min-height:630px;
    background-position:68% center;
  }

  .hero-content{padding:70px 22px}

  h1{
    font-size:48px;
    letter-spacing:-2px;
  }

  .lead{font-size:18px}

  .hero-shade{
    background:linear-gradient(90deg,
      rgba(4,16,29,.99) 0%,
      rgba(4,16,29,.94) 60%,
      rgba(4,16,29,.50) 100%);
  }

  .cards{grid-template-columns:1fr}

  .services,
  .project{padding:70px 22px}

  .contact{
    margin:25px 22px 60px;
    padding:30px;
    flex-direction:column;
    align-items:flex-start;
  }

  .preview-letter{font-size:150px}

  footer{padding:30px 22px}
  .copy{margin-left:0;width:100%}
}

/* Logo real Canela 3D en cabecera */
.brand-icon{
  width:66px !important;
  height:58px !important;
  display:flex !important;
  align-items:center;
  justify-content:center;
  flex:0 0 66px;
}
.brand-icon > span{display:none !important;}
.brand-icon img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
