/* Fuente base y paleta elegante */
:root{
  --bg: #071014;           /* fondo oscuro profundo */
  --card: #0f1720;         /* tarjetas */
  --muted: #9fb0bd;
  --text: #eef6f8;
  --accent: #ffb703;       /* dorado */
  --accent-2: #2aa198;     /* verde/teal secundario */
  --glass: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.06);
  --ring: rgba(255,183,3,0.12);
  --radius: 14px;
  --container: min(1200px, 94%);
}
*{ box-sizing: border-box; }
html, body { margin:0; padding:0; height:100%; }
body{
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(1000px 600px at 10% -20%, #0a2730 0%, var(--bg) 45%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
img{ max-width: 100%; display: block; border-radius: 12px; }
a{ color: inherit; text-decoration: none; }
.container{ width: var(--container); margin: 0 auto; }

/* Header */
.header{
  position: sticky; top:0; z-index:60;
  background: linear-gradient(180deg, rgba(7,16,20,0.6), rgba(7,16,20,0.35));
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.nav{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 0; }
.logo{ display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--text); }
.logo-img{ width:64px; height:64px; object-fit:contain; border-radius:10px; box-shadow: 0 6px 20px rgba(0,0,0,0.6); border:1px solid rgba(255,255,255,0.03);}
.logo-text{ line-height:1; }
.brand{ display:block; font-weight:800; font-size:18px; letter-spacing:0.3px; }
.sub{ color:var(--muted); font-size:12px; }

/* Nav */
.nav-links{ display:flex; gap:18px; align-items:center; }
.nav-links a{ padding:8px 10px; border-radius:10px; color:var(--muted); transition: all .18s ease; font-weight:600; }
.nav-links a:hover{ color:var(--text); background: var(--glass); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.6); }

/* Hamburger (mobile) */
.hamburger{ display:none; background:transparent; border:none; width:44px; height:44px; align-items:center; justify-content:center; cursor:pointer; }
.hamburger span{ display:block; width:20px; height:2px; background:var(--text); margin:4px 0; border-radius:2px; opacity:.9; }

/* Actions */
.actions{ display:flex; align-items:center; gap:12px; }
.cart-btn{ background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border:1px solid var(--border); color:var(--text); padding:8px 12px; border-radius:999px; display:flex; gap:8px; align-items:center; cursor:pointer; }
.badge{ background:var(--accent); color:#061018; border-radius:999px; padding:3px 8px; font-weight:800; font-size:12px; }

/* Hero */
.hero{ position:relative; padding:64px 0 40px; overflow:hidden; }
.hero-overlay{ position:absolute; inset:0; background: linear-gradient(120deg, rgba(255,183,3,0.06), rgba(10,20,30,0.4)); pointer-events:none; mix-blend-mode:overlay; }
.hero-grid{ display:grid; gap:28px; align-items:center; }
@media (min-width: 960px){ .hero-grid{ grid-template-columns: 1.1fr .9fr; } }
.hero-copy h1{ font-size: clamp(28px, 4.8vw, 48px); line-height:1.05; margin:0 0 12px; font-weight:800; }
.highlight{ color:var(--accent); text-shadow: 0 10px 40px rgba(255,183,3,0.08); }
.lead{ color:var(--muted); margin-bottom:16px; font-weight:500; }

/* Buttons */
.cta{ display:flex; gap:12px; margin-bottom:14px; }
.btn{ appearance:none; border:none; cursor:pointer; border-radius:12px; padding:10px 16px; font-weight:700; letter-spacing:.2px; transition: transform .12s ease, box-shadow .12s ease; background:transparent; color:var(--text); border:1px solid var(--border); }
.btn:hover{ transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.6); }
.btn.primary{ background: linear-gradient(180deg, var(--accent) 0%, #ffd66b 100%); color:#081018; border:none; box-shadow: 0 8px 28px rgba(255,183,3,0.12); }
.btn.ghost{ background: rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.04); }

/* Hero media */
.hero-media{ display:flex; justify-content:center; align-items:center; }
.hero-img{ width:100%; max-width:560px; border-radius:18px; border:1px solid rgba(255,255,255,0.04); box-shadow: 0 20px 80px rgba(0,0,0,0.6); object-fit:cover; }

/* Features */
.features{ padding:56px 0; }
.features h2{ font-size:28px; margin:0 0 18px; }
.features-grid{ display:grid; gap:16px; grid-template-columns: 1fr; }
@media (min-width:820px){ .features-grid{ grid-template-columns: repeat(3, 1fr); } }
.card{ background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.02)); border:1px solid var(--border); padding:20px; border-radius:16px; box-shadow: 0 8px 30px rgba(0,0,0,0.6); }
.card .icon{ font-size:28px; margin-bottom:8px; }
.card h3{ margin:0 0 8px; }
.card p{ color:var(--muted); margin:0; }

/* Products */
.products{ padding:40px 0; }
.products h2{ margin-bottom:18px; }
.product-grid{ display:grid; gap:18px; grid-template-columns: 1fr; }
@media (min-width:720px){ .product-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width:1024px){ .product-grid{ grid-template-columns: repeat(4, 1fr); } }
.product-card{ background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.02)); border:1px solid var(--border); border-radius:16px; overflow:hidden; display:flex; flex-direction:column; gap:12px; padding:12px; transition: transform .16s ease, box-shadow .16s ease, border-color .12s ease; }
.product-card:hover{ transform: translateY(-8px); box-shadow: 0 28px 80px rgba(0,0,0,0.6); border-color: rgba(255,183,3,0.12); }
.product-media{ border-radius:12px; overflow:hidden; }
.product-card img{ width:100%; height:220px; object-fit:cover; border-radius:10px; }
.info{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.price{ font-weight:800; color:var(--text); }
.add{ width:100%; padding:12px; background:linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.02)); border-radius:10px; border:1px solid rgba(255,255,255,0.03); }

/* Testimonials */
.testimonials{ padding:40px 0; }
.testi-grid{ display:grid; gap:16px; grid-template-columns: 1fr; }
@media (min-width:900px){ .testi-grid{ grid-template-columns: repeat(3, 1fr); } }
.testi{ background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.02)); border:1px solid var(--border); padding:18px; border-radius:12px; font-style:italic; color:var(--muted); }
.testi cite{ display:block; margin-top:10px; font-style:normal; color:var(--text); font-weight:700; }

/* Contact / Form */
.contact{ padding:40px 0 80px; }
.contact-grid{ display:grid; gap:20px; }
@media (min-width:900px){ .contact-grid{ grid-template-columns: 1fr 1fr; } }
.form{ background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border:1px solid var(--border); padding:18px; border-radius:12px; display:grid; gap:10px; box-shadow: 0 10px 40px rgba(0,0,0,0.6); }
label{ display:grid; gap:6px; font-weight:600; color:var(--text); }
input, textarea{ background: rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.03); color:var(--text); border-radius:10px; padding:10px 12px; outline:none; }
input:focus, textarea:focus{ border-color: var(--accent); box-shadow: 0 6px 26px var(--ring); }

/* Cart Drawer */
.cart-drawer{ position:fixed; inset:0; display:none; z-index:80; }
.cart-drawer[aria-hidden="false"]{ display:block; }
.cart-backdrop{ position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.6)); }
.cart-panel{ position:absolute; top:0; right:0; height:100%; width:min(420px, 92%); background: linear-gradient(180deg, rgba(10,14,18,0.98), rgba(12,18,22,0.98)); border-left:1px solid var(--border); padding:12px; display:flex; flex-direction:column; border-radius:12px 0 0 12px; box-shadow: -40px 0 120px rgba(0,0,0,0.6); }
.cart-header{ display:flex; align-items:center; justify-content:space-between; padding:8px 6px; border-bottom:1px solid var(--border); }
.icon-btn{ background:transparent; border:1px solid var(--border); color:var(--text); border-radius:10px; padding:6px 10px; cursor:pointer; }
.cart-items{ list-style:none; margin:0; padding:12px; display:grid; gap:10px; overflow:auto; }
.cart-item{ display:grid; grid-template-columns: 64px 1fr auto; gap:10px; align-items:center; background: rgba(255,255,255,0.01); border:1px solid rgba(255,255,255,0.03); padding:8px; border-radius:10px; }
.cart-item img{ width:64px; height:64px; object-fit:cover; border-radius:8px; }
.cart-footer{ margin-top:auto; padding:12px; border-top:1px solid var(--border); display:grid; gap:10px; }
.checkout{ background: linear-gradient(180deg, var(--accent) 0%, #ffd66b 100%); color:#081018; padding:12px; border-radius:12px; font-weight:800; }

/* Footer */
.footer{ border-top:1px solid var(--border); padding:18px 0; background: linear-gradient(180deg, rgba(0,0,0,0.02), transparent); }
.footer-grid{ display:flex; flex-direction:column; gap:10px; align-items:start; justify-content:space-between; }
@media (min-width:800px){ .footer-grid{ flex-direction:row; align-items:center; } }
.newsletter{ display:flex; gap:8px; }
.visually-hidden{ position:absolute; left:-9999px; }

/* Responsive tweaks */
@media (max-width: 900px){
  .nav-links{ display:none; position:fixed; top:84px; right:16px; background: rgba(5,10,12,0.96); border-radius:12px; padding:12px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
  .nav-links.show{ display:flex; flex-direction:column; gap:8px; }
  .hamburger{ display:flex; }
  .hero-img{ border-radius:12px; }
}
