/* ============== RESET / BASE ============== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow-x: hidden; background: #fff; }
/* Inter Regular (400) */
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter18pt-Regular.woff2') format('woff2'),
       url('../assets/fonts/Inter18pt-Regular.woff2') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Inter Bold (700) */
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter24pt-Bold.woff2') format('woff2'),
       url('../assets/fonts/Inter28pt-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body { font-family: 'Inter', sans-serif; color: #333; line-height: 1.6; background-color: #F5F5F5; }

/* ============== HEADER / NAV ============== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
  display: flex;
  align-items: center;
}

nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 16px;
}

nav .logo {
  width: 84px;
  height: 74px;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

nav .logo:hover {
  transform: scale(1.2);
  filter: brightness(1.1);
}

/* Menú normal */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 180px;
  margin: 0;
  padding: 0;
  padding-right: 40px;
}

nav a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-size: 25px;
}

/* Botón hamburguesa */
.menu-toggle {
  display: none; /* oculto en escritorio */
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #000;
}

/* ============== RESPONSIVE NAV ============== */
@media (max-width: 1024px) {
  .nav-links {
    gap: 60px;
  }
  nav a {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: row;
    justify-content: space-between;
    height: auto;
    padding: 10px 20px;
  }

  /* mostrar hamburguesa */
  .menu-toggle {
    display: block;
  }

  /* ocultar links por defecto */
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
    width: 100%;
    background: #fff;
    position: absolute;
    top: 80px; /* debajo del header */
    left: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  /* cuando esté abierto */
  .nav-links.open {
    display: flex;
  }

  nav a {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  nav .logo {
    width: 64px;
    height: 54px;
  }
  nav a {
    font-size: 16px;
  }
}

/* ===== Base oscura estilo Charlie ===== */

/* Contenedor principal (compensa header) */
.cal-container{ max-width:1200px; margin:0 auto; padding:96px 20px 40px; }

/* Glass helper */
.glass{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
}

/* Hero producto: 2 columnas */
.cal-hero{
  display:grid; grid-template-columns: 1.1fr .9fr; gap:22px; align-items:start;
}
.cal-media{ padding:12px; }
.cal-figure{ margin:0; aspect-ratio: 4/5; border-radius:12px; overflow:hidden; display:flex; align-items:center; justify-content:center; background:#ffffff; }
.cal-img{ width:100%; height:100%; object-fit:cover; display:block; }

.cal-thumbs{ display:flex; gap:10px; margin-top:10px; flex-wrap:wrap; }
.cal-thumbs .thumb{
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  border-radius:10px; padding:6px; cursor:pointer;
  transition: transform .15s ease, border-color .15s ease;
}
.cal-thumbs .thumb:hover{ transform: translateY(-2px); border-color: rgba(255,255,255,.2); }
.cal-thumbs .thumb img{ display:block; width:74px; height:74px; object-fit:cover; border-radius:6px; }

/* Info */
.cal-info{ padding:16px; }
.cal-info h1{ font-size: clamp(26px, 4.2vw, 40px); margin:0 0 6px; }
.cal-sub{ color:var(--muted); margin:0 0 14px; }

.cal-price{ display:flex; align-items:baseline; gap:12px; margin:10px 0 18px; }
.cal-price .amount{ font-size: 2rem; font-weight: 800; }
.cal-price .vat-note{ font-size:.95rem; color: var(--muted); }

/* Botón comprar */
.btn-buy{
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 18px; border-radius:12px; font-weight:800; text-decoration:none;
  background: var(--brand-2); color:#008d02;
  border: 1px solid rgb(0, 116, 29);
  transition: transform .05s ease, filter .2s ease, box-shadow .2s ease;
}
.btn-buy:hover{ filter:brightness(1.05); box-shadow: 0 14px 32px rgba(13, 166, 13, 0.315); }
.btn-buy:active{ transform: translateY(1px); }
.btn-wide{ justify-content:center; width:100%; max-width:520px; }

.cal-bullets{ margin:18px 0 12px; padding-left:18px; color:#000000; }
.cal-bullets li{ margin:6px 0; }

.cal-details{
  margin-top:10px; padding:10px 12px; border-radius:12px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
}
.cal-details>summary{ cursor:pointer; font-weight:700; }
.legal{ font-size:.92rem; color: var(--muted); margin-top:12px; }

/* Specs */
.cal-specs{ margin-top:32px; }
.cal-specs h2{ margin:0 0 12px; font-size: clamp(20px, 3vw, 28px); }
.spec-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:16px; }
.spec{ padding:14px; }
.spec h3{ margin:0 0 6px; font-size:1rem; }

/* CTA final */
.cal-cta{ margin:34px 0 0; text-align:center; padding:28px; }
.cal-cta h2{ margin:0 0 12px; }


/* Responsive */
@media (max-width: 980px){
  .cal-hero{ grid-template-columns: 1fr; }
  .btn-wide{ max-width:none; }
  .spec-grid{ grid-template-columns: 1fr; }
}

/* Nav responsive coherente con tu sitio */
@media (max-width: 768px){
  .menu-toggle{ display:block; }
  .nav-links{
    display:none; position:absolute; top:80px; left:0; width:100%;
    background: rgba(12,12,14,.95); border-bottom:1px solid rgba(255,255,255,.06);
    padding:14px 12px; gap:14px; flex-direction:column;
  }
  .nav-links.open{ display:flex; }
}

/* ============== FOOTER ============== */
footer{  background:#222; color:#fff; text-align:center; padding:25px 16px; margin-top:40px; width:100vw; position:relative; left:50%; right:50%; margin-left:-50vw; margin-right:-50vw; }