/* =========================
   IDELBA Forestal - style.css
   ========================= */

/* Variables y base */
:root{
  --bg:#f9fafb;          /* Fondo claro y limpio */
  --panel:#1e293b;       /* Panel/footers oscuros */
  --muted:#475569;       /* Texto secundario */
  --text:#111827;        /* Texto principal */
  --acc:#15803d;         /* Verde bosque (primary) */
  --acc-2:#eab308;       /* Dorado suave (accent) */
  --ok:#22c55e;
  --warn:#f59e0b;
  --err:#ef4444;
  --radius:16px;
  --shadow:0 10px 30px rgba(15,23,42,.18);
  --shadow-soft:0 6px 18px rgba(15,23,42,.12);
  --ring:0 0 0 3px rgba(21,128,61,.25);
  --max:1200px;
  --border:#e5e7eb;
  --surface:#ffffff;
  --surface-subtle:#f1f5f9;
}

*{box-sizing:border-box}
html,body{
  margin:0; padding:0;
  background:var(--bg); color:var(--text);
  font-family:Inter,system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%; height:auto; display:block}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}
a{color:var(--acc); text-decoration:none}
a:hover{text-decoration:underline}
.headerColor{ color:#ffffff }

/* =========================
   Header
   ========================= */
header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(140%) blur(6px);
  background:linear-gradient(180deg, rgba(21,128,61,.92), rgba(21,128,61,.78));
  border-bottom:1px solid rgba(255,255,255,.16);
}
.nav{display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:16px}
.brand{display:flex; align-items:center; gap:12px; min-width:0}
/* .logo{
  width:36px; height:36px; border-radius:8px;
  background: url("assets/hoja.png") no-repeat center center;
background-size: cover;

  box-shadow:var(--shadow-soft)
} */

.logo-size{
  width: 40px;
  height: 40px;
  border-radius: 40%;
  box-shadow:var(--shadow-soft)
}

.brand h1{font-size:25px; margin:0; letter-spacing:.3px; white-space:nowrap; color:#fff}
nav{display:flex; align-items:center; gap:18px; overflow:auto}
nav a{font-weight:600; color:#eaf5ee; flex:0 0 auto}
nav a:hover{color:#ffffff}

/* Botones */

.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:12px 16px; border-radius:12px; font-weight:700;
  border:1px solid rgba(255,255,255,.22);
  background:linear-gradient(180deg, #16a34a, #15803d);
  color:#fff;
  box-shadow:var(--shadow-soft);
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease
}
.btn:hover{transform:translateY(-1px); box-shadow:var(--shadow); filter:brightness(1.05)}
.btn:focus{outline:none; box-shadow:var(--ring)}

/* =========================
   Hero
   ========================= */
.hero{
  position:relative; overflow:hidden;
  background:linear-gradient(180deg, #ffffff, #f3f7fb);
  border-bottom:1px solid var(--border)
}
.hero::before{
  content:""; position:absolute; inset:-20%;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(234,179,8,.18), transparent),
    radial-gradient(1000px 500px at 80% -20%, rgba(21,128,61,.15), transparent);
  pointer-events:none
}
.hero .container{
  display:grid; grid-template-columns:1.1fr .9fr;
  gap:28px; align-items:center; padding:72px 20px
}
.eyebrow{
  display:inline-block; text-transform:uppercase; font-weight:800;
  letter-spacing:.14em; color:var(--acc-2); font-size:12px; margin-bottom:10px
}
.hero h2{font-size:40px; line-height:1.08; margin:6px 0 10px; color:var(--text)}
.hero p.sub{color:var(--muted); font-size:16px; margin:0}
.hero-cta{display:flex; gap:12px; margin-top:22px; flex-wrap:wrap}

.kpi{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px}
.pill{
  padding:8px 12px; border-radius:999px;
  border:1px solid var(--border);
  background:var(--surface-subtle);
  color:var(--muted); font-weight:600
}

/* Hero media */
.media{
  position:relative; height:420px; border-radius:var(--radius);
  background:linear-gradient(180deg, #0b1220, #0a1526);
  border:1px solid rgba(255,255,255,.18); box-shadow:var(--shadow); overflow:hidden
}
.media .wood{
  position:absolute; inset:0;
  background-image:
    radial-gradient(120px 70px at 12% 24%, rgba(234,179,8,.22), transparent),
    radial-gradient(160px 110px at 88% 18%, rgba(34,197,94,.22), transparent),
    url('assets/header2.jpg');
  background-size:cover; background-position:center; mix-blend:screen; opacity:.8
}
.media .overlay{position:absolute; inset:0; background:radial-gradient(900px 360px at 50% 0%, rgba(0,0,0,.0), rgba(0,0,0,.55))}
.badge{
  position:absolute; right:16px; bottom:16px; padding:10px 12px;
  border-radius:12px; border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.1); backdrop-filter:blur(6px); font-weight:700; color:#fff
}

/* =========================
   Secciones genéricas
   ========================= */
section{padding:64px 0; border-bottom:1px solid var(--border)}
h3{font-size:28px; margin:0 0 10px; color:var(--text)}
.sub{color:var(--muted); max-width:760px}

/* =========================
   Grid productos / Cards
   ========================= */
.grid{display:grid; gap:18px}
.grid.cols-3{grid-template-columns:repeat(3, 1fr)}

.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:18px; padding:18px;
  box-shadow:var(--shadow-soft)
}
.card h4{margin:6px 0 6px; color:var(--text)}
.card p{color:var(--muted); margin:0}

.thumb{
  border-radius:12px; height:160px;
  background:#0a1220 center/cover no-repeat;
  border:1px solid rgba(255,255,255,.16)
}

/* =========================
   Features
   ========================= */
.features{
  display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:18px
}
.feature{
  padding:16px; border-radius:16px;
  border:1px solid var(--border);
  background:var(--surface)
}
.feature .tag{
  display:inline-block; font-weight:800; font-size:12px;
  color:var(--acc); background:rgba(21,128,61,.08);
  padding:4px 8px; border-radius:999px; margin-bottom:8px
}

/* =========================
   Certificaciones
   ========================= */
.certs{
  display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:18px
}
.cert{
  padding:18px; border-radius:16px;
  border:1px solid var(--border);
  background:var(--surface)
}
.cert h5{margin:0 0 6px; color:var(--text)}
.cert small{color:var(--muted)}

/* =========================
   CTA
   ========================= */
#cta{
  background:linear-gradient(180deg, rgba(234,179,8,.06), rgba(21,128,61,.06));
  border-top:1px solid var(--border);
}
.cta{
  display:grid; grid-template-columns:1.2fr .8fr; gap:16px; align-items:center
}
.cta .panel{
  padding:22px; border-radius:18px;
  border:1px solid var(--border);
  background:var(--surface);
  box-shadow:var(--shadow-soft)
}
.cta .panel h4{color:var(--text)}
.cta .panel ul{margin:0; padding-left:18px; color:var(--muted)}

/* =========================
   Formulario
   ========================= */
.input{
  width:100%; padding:12px 12px; border-radius:12px;
  border:1px solid #cbd5e1;
  background:#ffffff; color:var(--text)
}
.input::placeholder{color:#94a3b8}
.input:focus{
  outline:none;
  border-color:#16a34a;
  box-shadow:var(--ring)
}
label{font-weight:600; color:#1f2937}

/* =========================
   Contacto directo
   ========================= */
.direct-contact{
  margin-top:24px;
  padding:18px;
  border-radius:16px;
  border:1px solid var(--border);
  background:var(--surface);
  box-shadow:var(--shadow-soft);
}
.direct-contact h4{
  margin:0 0 12px;
  font-size:18px;
  font-weight:700;
  color:var(--text);
}
.direct-contact ul{
  margin:0; padding:0;
  list-style:none;
  display:grid;
  gap:8px;
}
.direct-contact li{
  font-size:15px;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:6px;
}
.direct-contact a{
  color:var(--acc);
  font-weight:600;
}
.direct-contact a:hover{ text-decoration:underline }

/* =========================
   Carbón Vegetal & Hookah
   ========================= */
#carbon .specs{
  margin:12px 0 10px;
  padding-left:18px;
  color:var(--muted);
}
#carbon .specs li{ margin-bottom:6px }

#carbon .badge-list{
  display:flex; flex-wrap:wrap; gap:8px; margin:10px 0 12px;
}
#carbon .pill{
  padding:7px 10px; border-radius:999px;
  border:1px solid var(--border);
  background:var(--surface-subtle);
  color:var(--muted); font-weight:600; font-size:13px;
}
#carbon .pack{ margin-top:8px }
#carbon .pack-list{
  margin:6px 0 0; padding-left:18px; color:var(--muted);
}
#carbon .pack-list li{ margin-bottom:4px }

/* =========================
   Footer
   ========================= */
footer{
  padding:28px 0; color:#cbd5e1;
  background:var(--panel)
}
.foot{
  display:grid; grid-template-columns:1.2fr .8fr; gap:16px; align-items:center
}
footer strong, footer small{color:#e2e8f0}
footer a{color:#86efac}

/* =========================
   Responsive
   ========================= */
@media (max-width: 980px){
  .padding-delete {padding-top: 0% !important; margin-top: 0% !important;}
  .div .container .nav{padding: 10% !important;}
  .hero .container{grid-template-columns:1fr; padding:48px 20px}
  .media{height:320px}
  .grid.cols-3{grid-template-columns:1fr 1fr}
  .features{grid-template-columns:1fr 1fr}
  .certs{grid-template-columns:1fr}
  .cta{grid-template-columns:1fr}
  .foot{grid-template-columns:1fr}
  nav{gap:12px}
  #carbon .grid.cols-3{ grid-template-columns:1fr 1fr }
}
@media (max-width: 640px){
  .brand{margin: 0 auto;}
  .nav{flex-wrap:wrap;}
  .brand h1{font-size:25px}
  nav{width:100%; gap:10px; justify-content:space-around}
  nav a{padding:10px 0}
  .btn{padding:10px 14px; border-radius:10px}
  .hero h2{font-size:28px}
  .hero p.sub{font-size:15px}
  .media{height:240px}
  .grid.cols-3{grid-template-columns:1fr}
  .thumb{height:180px}
  section{padding:44px 0}
  .kpi{gap:8px}
  .pill{padding:7px 10px}
  .cta .panel{padding:18px}
  .foot{gap:10px}
  footer small{display:block}
  #carbon .grid.cols-3{ grid-template-columns:1fr }
  #contacto form .input{font-size:16px} /* evita zoom iOS */
}

/* Accesibilidad: reduce animaciones si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto}
  .btn{transition:none}
}

