/* CALNIO — style.css */
:root {
  --bg:        #141312;
  --surface:   #1b1a18;
  --surface-2: #222120;
  --border:    #2e2c2a;
  --text:      #e6e4e1;
  --muted:     #888480;
  --faint:     #484644;
  --accent:    #c0683a;
  --accent-h:  #d0764a;
  --font:      'Montserrat', sans-serif;
  --radius:    0.5rem;
  --radius-lg: 0.875rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); font-size: 1rem; line-height: 1.65; color: var(--text); background: var(--bg); min-height: 100dvh; }
img { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; transition: color 180ms ease; }
a:hover { color: var(--accent-h); }
ul { list-style: none; }

.container { max-width: 1080px; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3rem); }
.container--narrow { max-width: 720px; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.8rem 1.5rem; border-radius: var(--radius); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border: 2px solid transparent; cursor: pointer; transition: background 180ms ease, border-color 180ms ease, transform 80ms ease; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-h); border-color: var(--accent-h); color: #fff; }
.btn-primary:active { transform: scale(0.97); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--muted); color: var(--text); }
.btn-nav { font-size: 0.72rem; padding: 0.55rem 1.1rem; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0.85rem clamp(1.25rem, 5vw, 3rem); background: rgba(20,19,18,0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 42px; width: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* Badge */
.badge { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(192,104,58,0.1); color: var(--accent); border: 1px solid rgba(192,104,58,0.25); border-radius: 999px; padding: 0.28rem 0.85rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; width: fit-content; }

/* Hero */
.hero { padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 7vw, 5rem); border-bottom: 1px solid var(--border); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 1.5rem; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h1 em { font-style: normal; color: var(--accent); }
.subtitle { font-size: clamp(0.95rem, 2vw, 1.05rem); font-weight: 300; color: var(--muted); max-width: 50ch; line-height: 1.7; }

/* Brand card */
.hero-visual { display: flex; justify-content: center; }
.brand-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem 2rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; max-width: 260px; box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.brand-logo-big { height: 80px; width: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); }
.brand-tagline { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.brand-made { font-size: 0.75rem; color: var(--faint); }

/* Stats */
.stats { padding: clamp(2.5rem, 6vw, 4rem) 0; border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem 1.5rem; }
.stat-num { display: block; font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 0.6rem; }
.stat-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }

/* Secciones */
.section-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 0.5rem; }
.section-sub { font-size: 0.95rem; color: var(--muted); margin-bottom: 2.5rem; font-weight: 300; }
.products { padding: clamp(3rem, 7vw, 5rem) 0; border-bottom: 1px solid var(--border); }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px,100%), 1fr)); gap: 1.25rem; }
.pcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; position: relative; transition: border-color 180ms ease, box-shadow 180ms ease; }
.pcard:hover { border-color: var(--faint); box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
.pcard.featured { border-color: rgba(192,104,58,0.35); }
.pcard-badge { position: absolute; top: -0.6rem; left: 1.25rem; background: var(--accent); color: #fff; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.18rem 0.6rem; border-radius: 999px; }
.pcard h3 { font-size: 0.9rem; font-weight: 700; line-height: 1.3; }
.pcard p { font-size: 0.82rem; color: var(--muted); line-height: 1.55; flex: 1; }
.pcard-price { font-size: 0.9rem; font-weight: 700; color: var(--accent); }

/* Waitlist */
.waitlist { padding: clamp(3rem, 7vw, 5rem) 0; border-bottom: 1px solid var(--border); background: var(--surface); }
.waitlist-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.waitlist-text { display: flex; flex-direction: column; gap: 1.25rem; }
.waitlist-text h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; }
.waitlist-text p { font-size: 0.95rem; color: var(--muted); line-height: 1.65; font-weight: 300; }
.perks { display: flex; flex-direction: column; gap: 0.5rem; }
.perks li { font-size: 0.88rem; font-weight: 600; }
.waitlist-form { display: flex; justify-content: center; align-items: flex-start; }
.waitlist-form iframe { border-radius: var(--radius-lg); border: 1px solid var(--border); width: 100%; max-width: 540px; }

/* Páginas internas */
.page-hero { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; margin-bottom: 1rem; }

/* Quiénes somos */
.about-content { padding: clamp(3rem, 6vw, 5rem) 0; }
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: start; }
.about-text { display: flex; flex-direction: column; gap: 1.25rem; }
.about-text h2 { font-size: 1.15rem; font-weight: 700; margin-top: 0.75rem; }
.about-text p { font-size: 0.95rem; color: var(--muted); line-height: 1.7; }
.about-stats-block { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem 1rem; text-align: center; }
.about-stat span { display: block; font-size: 1.8rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 0.5rem; }
.about-stat p { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.3; }

/* Contacto */
.contact-content { padding: clamp(3rem, 6vw, 5rem) 0; }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact-value { font-size: 1rem; font-weight: 600; color: var(--text); }
a.contact-value:hover { color: var(--accent); }
.contact-form-block { display: flex; flex-direction: column; gap: 1rem; }
.contact-form-block h2 { font-size: 1.1rem; font-weight: 700; }
.contact-form-block p { font-size: 0.88rem; color: var(--muted); }
.iframe-wrap iframe { border-radius: var(--radius-lg); border: 1px solid var(--border); width: 100%; }

/* Legal */
.legal { padding: clamp(3rem, 7vw, 5rem) 0; }
.legal h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 0.4rem; }
.legal-date { font-size: 0.78rem; color: var(--muted); margin-bottom: 2.5rem; }
.legal h2 { font-size: 1rem; font-weight: 700; margin: 2rem 0 0.5rem; }
.legal p { font-size: 0.92rem; color: var(--muted); line-height: 1.7; margin-bottom: 0.75rem; }
.legal a { color: var(--accent); }
.legal-back { margin-top: 3rem; }

/* Footer */
.footer { padding: 2.5rem 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; text-align: center; }
.footer-logo-img { height: 32px; width: 32px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--faint); opacity: 0.6; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.footer-links a { font-size: 0.75rem; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.68rem; color: var(--faint); }

/* Responsive */
@media (max-width: 768px) {
  .hero-inner, .waitlist-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .btn-nav { display: none; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .about-stats-block { grid-template-columns: 1fr 1fr; }
}
