:root{
  /* Brand / Paraguay / Cocido Quemado */
  --bg0:#2b1408;
  --bg1:#1b0d07;
  --bg2:#4a2410;
  --bg3:#6a3418;

  --card:rgba(255,243,222,.06);
  --card2:rgba(255,243,222,.10);
  --stroke:rgba(255,243,222,.12);

  --text:#fff3de;
  --muted:rgba(255,243,222,.74);

  --brand:#c85a1e;      /* tostado */
  --brand2:#e07b39;     /* caramelo */
  --accent:#f2c078;     /* dorado/chipa */
  --accent2:#f6d6a8;    /* crema cálida */
  --accent3:#fff0d2;    /* highlight */
  --danger:#c94b4b;

  --shadow:0 14px 38px rgba(0,0,0,.34);
  --shadow-soft:0 8px 22px rgba(0,0,0,.22);

  --radius:18px;
  --radius2:24px;
  --radius3:30px;
  --max:1140px;
}

*{ box-sizing:border-box; }

html,body{ height:100%; }

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1000px 700px at 18% 10%, rgba(242,192,120,.16), transparent 58%),
    radial-gradient(900px 680px at 82% 20%, rgba(200,90,30,.14), transparent 54%),
    linear-gradient(180deg, var(--bg2), var(--bg0) 36%, var(--bg1) 100%);
  line-height:1.5;
}

/* optional: fondo con textura */
.bg{
  background-image:
    radial-gradient(1000px 700px at 18% 10%, rgba(242,192,120,.16), transparent 58%),
    radial-gradient(900px 680px at 82% 20%, rgba(200,90,30,.14), transparent 54%),
    linear-gradient(180deg, var(--bg2), var(--bg0) 36%, var(--bg1) 100%),
    url("../img/fondo.svg");
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, center;
  background-attachment: fixed, fixed, fixed, fixed;
  background-repeat:no-repeat;
}

img{
  max-width:100%;
  display:block;
}

a{
  color:inherit;
}

/* Topbar */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(33,16,9,.70);
  border-bottom:1px solid var(--stroke);
  box-shadow: 0 4px 18px rgba(0,0,0,.10);
}

.topbar__inner{
  max-width:var(--max);
  margin:0 auto;
  padding:14px 18px;
  display:flex;
  align-items:center;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  text-decoration:none;
}

.brand__logo{
  height:46px;
  width:auto;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.28));
}

.nav{
  margin-left:auto;
  display:flex;
  gap:10px;
  align-items:center;
}

.nav__link{
  text-decoration:none;
  color:var(--muted);
  font-weight:700;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid transparent;
  transition:.18s ease;
}

.nav__link:hover{
  color:var(--text);
  background:rgba(255,243,222,.06);
  border-color:rgba(255,243,222,.08);
}

.nav__link.is-active{
  color:#fff7ea;
  background:linear-gradient(135deg, rgba(200,90,30,.28), rgba(242,192,120,.18));
  border-color:rgba(255,243,222,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

/* Mobile nav */
.navbtn{
  display:none;
  margin-left:auto;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid var(--stroke);
  background:rgba(255,243,222,.05);
  color:var(--text);
  cursor:pointer;
}

.navbtn span{
  display:block;
  width:18px;
  height:2px;
  margin:4px auto;
  background:rgba(255,243,222,.90);
  border-radius:2px;
}

.navmobile{
  display:none;
  max-width:var(--max);
  margin:0 auto;
  padding:0 18px 14px;
  gap:10px;
}

.navmobile__link{
  display:block;
  text-decoration:none;
  color:var(--muted);
  font-weight:700;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background:rgba(255,243,222,.04);
}

.navmobile__link.is-active{
  color:var(--text);
  background:linear-gradient(135deg, rgba(200,90,30,.20), rgba(242,192,120,.10));
}

/* Layout */
.container{
  max-width:var(--max);
  margin:0 auto;
  padding:34px 18px 64px;
}

/* Cards + sections */
.card{
  background:linear-gradient(180deg, var(--card), rgba(255,243,222,.03));
  border:1px solid var(--stroke);
  border-radius:var(--radius2);
  box-shadow:var(--shadow);
  overflow:hidden;
  backdrop-filter: blur(10px);
}

.card__inner{
  padding:22px;
}

/* FLOATING BRAND */

.floating-brand{
  position: fixed;
  left: 22px;
  top: 88px;
  z-index: 120;

  display:flex;
  align-items:center;
  justify-content:center;

  padding:12px 16px;
  border-radius:22px;

  background: rgba(33,16,9,.72);
  border: 1px solid rgba(255,243,222,.14);

  box-shadow: 0 14px 34px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
}

.floating-brand:hover{
  transform: translateY(-2px);
  background: rgba(43,20,8,.82);
  box-shadow: 0 18px 38px rgba(0,0,0,.34);
}

.floating-brand img{
  height: 300px;
  width: auto;
  display:block;
}


/* Generic hero */
.hero{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:18px;
  align-items:stretch;
}

.hero h1{
  margin:0 0 12px;
  font-size:clamp(32px, 4.2vw, 56px);
  line-height:1.04;
  letter-spacing:-0.03em;
  color:var(--text);
}

.hero p{
  margin:0 0 18px;
  color:var(--muted);
  font-size:16px;
  line-height:1.7;
}

/* Typography helpers */
.section-title{
  margin:28px 0 12px;
  font-size:clamp(22px, 2.2vw, 34px);
  color:var(--text);
  letter-spacing:-0.02em;
}

.section-subtitle{
  margin:0 0 18px;
  color:var(--muted);
  line-height:1.7;
}

.muted{
  color:var(--muted);
}

.lead{
  font-size:17px;
  line-height:1.75;
  color:var(--muted);
}

/* Badges */
.badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

.badge{
  display:inline-flex;
  align-items:center;
  border:1px solid var(--stroke);
  background:rgba(255,243,222,.05);
  border-radius:999px;
  padding:8px 12px;
  color:rgba(255,243,222,.90);
  font-weight:700;
  font-size:13px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

/* CTA buttons */
.cta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:46px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--stroke);
  text-decoration:none;
  font-weight:800;
  color:var(--text);
  background:rgba(255,243,222,.05);
  transition:.18s ease;
  cursor:pointer;
}

.btn:hover{
  transform:translateY(-1px);
  background:rgba(255,243,222,.08);
}

.btn.primary{
  color:#fffaf1;
  border-color:rgba(224,123,57,.40);
  background:linear-gradient(135deg, rgba(200,90,30,.92), rgba(224,123,57,.92));
  box-shadow: 0 10px 20px rgba(200,90,30,.18);
}

.btn.primary:hover{
  background:linear-gradient(135deg, rgba(205,95,35,.98), rgba(230,130,65,.98));
}

.btn.secondary{
  color:#40200d;
  border-color:rgba(242,192,120,.35);
  background:linear-gradient(135deg, rgba(242,192,120,.96), rgba(246,214,168,.96));
  box-shadow: 0 10px 20px rgba(242,192,120,.14);
}

.btn.secondary:hover{
  background:linear-gradient(135deg, rgba(246,198,126,.98), rgba(249,221,180,.98));
}

.btn.danger{
  border-color:rgba(201,75,75,.40);
  background:linear-gradient(135deg, rgba(201,75,75,.22), rgba(139,63,22,.18));
}

/* Grid */
.grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

/* KPI */
.kpis{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

.kpi{
  background:rgba(255,243,222,.05);
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  padding:14px;
  box-shadow: var(--shadow-soft);
}

.kpi .num{
  font-size:24px;
  font-weight:900;
  color:var(--accent);
  line-height:1.1;
}

.kpi .lbl{
  color:var(--muted);
  font-weight:700;
  font-size:13px;
  margin-top:4px;
  line-height:1.45;
}

/* Product cards */
.product{
  display:flex;
  flex-direction:column;
  height:100%;
  background:linear-gradient(180deg, rgba(255,243,222,.04), rgba(255,243,222,.02));
  border:1px solid var(--stroke);
  border-radius:var(--radius2);
  overflow:hidden;
  box-shadow: var(--shadow-soft);
}

.product__img{
  aspect-ratio:4 / 3;
  width:100%;
  object-fit:cover;
  background:rgba(0,0,0,.18);
  border-bottom:1px solid var(--stroke);
}

.product__body{
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  height:100%;
}

.product__name{
  margin:0;
  font-size:16px;
  font-weight:900;
  color:var(--text);
}

.product__desc{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
}

.product__meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:auto;
}

.price{
  font-weight:900;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(242,192,120,.34);
  background:rgba(242,192,120,.12);
  color:var(--accent3);
}

.sku{
  font-weight:800;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(255,243,222,.05);
  color:rgba(255,243,222,.88);
}

/* Forms */
.form{
  display:grid;
  gap:12px;
}

.input,
.textarea,
select{
  width:100%;
  border-radius:14px;
  border:1px solid var(--stroke);
  background:rgba(255,243,222,.04);
  color:var(--text);
  padding:12px 14px;
  outline:none;
  transition:.18s ease;
}

.input::placeholder,
.textarea::placeholder{
  color:rgba(255,243,222,.45);
}

.input:focus,
.textarea:focus,
select:focus{
  border-color:rgba(242,192,120,.40);
  background:rgba(255,243,222,.06);
  box-shadow: 0 0 0 4px rgba(242,192,120,.08);
}

.textarea{
  min-height:140px;
  resize:vertical;
}

.help{
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}

.alert{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background:rgba(255,243,222,.05);
}

.alert.ok{
  border-color:rgba(242,192,120,.28);
  background:rgba(242,192,120,.10);
}

.alert.bad{
  border-color:rgba(201,75,75,.35);
  background:rgba(201,75,75,.10);
}

/* Video */
.video{
  width:100%;
  aspect-ratio:9 / 16;
  border-radius:var(--radius2);
  border:1px solid var(--stroke);
  box-shadow:var(--shadow);
  background:#000;
  overflow:hidden;
}

.video video{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Footer */
.footer{
  border-top:1px solid var(--stroke);
  background:rgba(33,16,9,.68);
  backdrop-filter: blur(14px);
}

.footer__inner{
  max-width:var(--max);
  margin:0 auto;
  padding:22px 18px;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:14px;
  align-items:center;
}

.footer__logo{
  height:36px;
  width:auto;
  opacity:.95;
}

.footer__links{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  flex-wrap:wrap;
}

.footer__copy{
  grid-column:1 / -1;
}

.chip{
  text-decoration:none;
  color:rgba(255,243,222,.90);
  font-weight:800;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(255,243,222,.04);
}

/* Generic utility blocks */
.panel-soft{
  background:rgba(255,243,222,.05);
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  padding:16px;
}

.quote{
  margin:0;
  padding:16px 18px;
  border-left:4px solid var(--accent);
  background:rgba(255,243,222,.06);
  border-radius:0 16px 16px 0;
  color:rgba(255,243,222,.88);
  line-height:1.7;
  font-style:italic;
}

/* Responsive */
@media (max-width: 980px){
  .hero{
    grid-template-columns:1fr;
  }

  .grid{
    grid-template-columns:repeat(2, 1fr);
  }

  .footer__inner{
    grid-template-columns:1fr;
  }

  .footer__links{
    justify-content:flex-start;
  }
}

@media (max-width: 720px){
  .nav{
    display:none;
  }

  .navbtn{
    display:inline-block;
  }

  body.nav-open .navmobile{
    display:grid;
  }

  .grid{
    grid-template-columns:1fr;
  }

  .container{
    padding:24px 16px 52px;
  }

  .card__inner{
    padding:18px;
  }

  .hero h1{
    font-size:clamp(28px, 9vw, 42px);
  }

  .btn{
    width:100%;
  }

  .cta{
    flex-direction:column;
  }
  
  .floating-brand{
  	display:none;
  }
}



.pv-tree{
  display:grid;
  gap:14px;
}

.pv-node{
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:rgba(255,255,255,.03);
  overflow:hidden;
}

.pv-summary{
  list-style:none;
  cursor:pointer;
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-weight:700;
  background:rgba(255,255,255,.04);
}

.pv-summary::-webkit-details-marker{
  display:none;
}

.pv-summary::before{
  content:'▸';
  display:inline-block;
  margin-right:8px;
  transition:transform .15s ease;
}

.pv-node[open] .pv-summary::before{
  transform:rotate(90deg);
}

.pv-summary-title{
  display:flex;
  align-items:center;
  flex:1;
}

.pv-summary-count{
  font-size:.85rem;
  opacity:.75;
  font-weight:600;
}

.pv-ul--nested{
  padding:12px;
}