:root {
  --sun: #f8b400;
  --sun-dark: #d98e00;
  --ink: #10243a;
  --ink-soft: #44556b;
  --bg: #ffffff;
  --panel: #14202e;
  --panel-soft: #20334900;
  --line: #e6ecf3;
  --ink-2: #44556b;
  --radius: #dfe7f0;
  --green: #1f9d55;
  --green-dark: #157a42;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height:1.5;
  overflow-x:hidden;
}
a{text-decoration:none;color:inherit}
a:hover{color:var(--sun-dark)}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.4rem;
  padding:.8rem 1.4rem;border-radius:999px;font-weight:700;font-size:1rem;
  border:none;cursor:pointer;transition:transform .15s ease, box-shadow .15s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:linear-gradient(135deg,var(--sun),var(--sun-dark));color:#fff;box-shadow:0 6px 18px rgb(248 180 0 / .35)}
.btn-whatsapp{background:#25d366;color:#fff;box-shadow:0 6px 18px rgb(37 211 102 / .35)}
.btn-call{background:var(--ink);color:#fff}
.btn-ghost{background:#fff;color:var(--ink);border:2px solid var(--sun)}
.btn-big{padding:1rem 1.8rem;font-size:1.1rem}
.btn-block{width:100%}

/* Sticky bar */
.sticky-bar{
  position:sticky;top:0;z-index:50;display:flex;gap:.6rem;justify-content:center;
  padding:.6rem;background:rgb(20 32 46 / .92);backdrop-filter:blur(6px);box-shadow:0 2px 10px rgb(0 0 0 / .15);
}
.sticky-bar .btn{flex:1;max-width:300px;box-shadow:none}

/* Hero */
.hero{
  display:flex;flex-wrap:wrap;gap:2rem;align-items:center;
  padding:3.5rem clamp(1rem,5vw,4rem);background:
   radial-gradient(1200px 500px at 20% -10%, rgb(248 180 0 / .12), transparent 60%),
   linear-gradient(180deg,#fff,#f6f9ff);
}
.hero-inner{flex:1 1 420px;max-width:620px}
.brand{font-weight:800;font-size:1.1rem;letter-spacing:.02em;color:var(--sun-dark)}
.hero h1{font-size:clamp(1.9rem,4.5vw,3.1rem);line-height:1.12;margin:1rem 0 1rem}
.hero h1 span{color:var(--sun-dark)}
.hero .sub{color:var(--ink-2);font-size:1.1rem;max-width:52ch}
.cta-row{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.6rem}
.cta-row.center{justify-content:center}
.trust{display:flex;flex-wrap:wrap;gap:1.6rem;margin-top:2rem}
.trust div{font-size:.92rem;color:var(--ink-2)}
.trust strong{display:block;font-size:1.5rem;color:var(--sun-dark)}
.hero-img{flex:1 1 380px;min-width:300px}
.solar-art{width:100%;height:auto}

/* Section */
.section{padding:4rem clamp(1.2rem,5vw,4rem)}
.section.alt{background:linear-gradient(180deg,#f2f7ff,#eef4fc)}
.section-dark{background:linear-gradient(160deg,var(--panel),var(--panel-soft));color:#fff}
.section h2{font-size:clamp(1.6rem,3vw,2.4rem);text-align:center;margin-bottom:.5rem}
.section-sub{text-align:center;color:var(--ink-2);margin-bottom:2.4rem;max-width:60ch;margin-left:auto;margin-right:auto}
.section-dark .section-sub{color:#c7d3e2}

/* Cards / grids */
.grid{display:grid;gap:1.4rem;max-width:980px;margin:0 auto}
.benefits{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.testimonials{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.card{
  background:#fff;border:1px solid var(--radius);border-radius:18px;padding:1.6rem;
  box-shadow:0 8px 24px rgb(20 32 46 / .05);transition:transform .15s ease;
}
.card:hover{transform:translateY(-4px)}
.card .icon{font-size:2rem;display:block;margin-bottom:.6rem}
.card h3{margin-bottom:.4rem;font-size:1.15rem}
.card p{color:var(--ink-2);font-size:.95rem}
.testimonials .card p{font-style:italic;margin-bottom:.8rem}
.testimonials cite{font-style:normal;color:var(--sun-dark);font-weight:700;font-size:.9rem}

/* Gallery placeholders */
.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;max-width:1000px;margin:0 auto}
.project{border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 24px rgb(20 32 46 / .08)}
.project figcaption{padding:.8rem 1rem;font-size:.9rem;color:var(--ink-2);font-weight:600}
.ph{
  aspect-ratio:4/3;display:block;position:relative;overflow:hidden;
  background:
   linear-gradient(180deg,rgb(255 255 255 / .08),rgb(0 0 0 / .25)),
   linear-gradient(135deg,var(--c1,#2a3b52),var(--c2,#1b2940));
}
.ph::before{
  content:"▦";position:absolute;inset:0;display:grid;place-items:center;
  font-size:3.5rem;color:rgb(255 255 255 / .85);
  text-shadow:0 0 30px rgb(248 180 0 / .6);
}
/* Each project gets a sun-tinted gradient */
.project:nth-child(1) .ph{--c1:#f6a048;--c2:#24344c}
.project:nth-child(2) .ph{--c1:#2c4b6e;--c2:#101c2b}
.project:nth-child(3) .ph{--c1:#caa04a;--c2:#354a63}
.project:nth-child(4) .ph{--c1:#3b6e4a;--c2:#172d23}
.project:nth-child(5) .ph{--c1:#d1853a;--c2:#25394e}
.project:nth-child(6) .ph{--c1:#4a6e8b;--c2:#1b2533}

/* Video */
.video-wrap{max-width:820px;margin:0 auto;border-radius:18px;overflow:hidden;box-shadow:0 20px 50px rgb(0 0 0 / .4)}
.video-ph{
  aspect-ratio:16/9;display:grid;place-items:center;text-align:center;color:#fff;
  background:
   radial-gradient(500px 300px at 30% 20%,rgb(248 180 0 / .2),transparent 60%),
   linear-gradient(160deg,#22364f,#0f1a28);
}
.play{
  width:80px;height:80px;border-radius:50%;display:grid;place-items:center;
  background:var(--sun);font-size:1.6rem;color:#fff;box-shadow:0 10px 30px rgb(248 180 0 / .5);
  cursor:pointer;transition:transform .15s ease;
}
.play:hover{transform:scale(1.1)}
.video-ph p{margin-top:1rem;color:#c7d6e2}

/* Form */
.section#cotizar{background:linear-gradient(180deg,#fff,#f2f6fb)}
.form-card{max-width:560px;margin:0 auto;background:#fff;border-radius:20px;padding:2.2rem;box-shadow:0 12px 40px rgb(20 32 46 / .1);border:1px solid var(--radius)}
.form-card h2{text-align:center}
form{display:flex;flex-direction:column;gap:1rem;margin-top:1.4rem}
label{display:flex;flex-direction:column;gap:.35rem;font-weight:600;font-size:.92rem;color:var(--ink-2)}
input,select{
  padding:.8rem .9rem;border:1px solid #d5dfeb;border-radius:10px;font-size:1rem;color:var(--ink);background:#fbfdff;
}
input:focus,select:focus{outline:2px solid var(--sun);border-color:transparent}
.form-msg{text-align:center;color:var(--green);font-weight:700}

/* Contact banner */
.contact-banner{text-align:center;background:radial-gradient(900px 300px at 50% -20%,rgb(248 180 0 / .2),transparent 60%),linear-gradient(180deg,#fff,#f6f9ff)}
.contact-banner p{color:var(--ink-2);margin-bottom:.6rem}
.contact-banner .cta-row{justify-content:center}

/* Footer */
.footer{text-align:center;padding:2rem clamp(1rem,4vw,3rem);background:var(--panel);color:#c7d6e2;display:flex;flex-direction:column;gap:.4rem;font-size:.95rem}
.footer .brand{color:var(--sun)}
.footer .foot-contact{color:#8ea3bb;font-size:.85rem}

@media (min-width:1024px){
  .hero{padding-top:5rem;padding-bottom:5rem}
}
a:hover{color:var(--sun-dark)}