/* =========================================================
   Everything RD — diseño blanco, sutil y moderno con azul navy
   ========================================================= */

:root {
  --navy:      #0b1f3a;
  --navy-2:    #16325c;
  --navy-soft: #e9eef6;
  --navy-tint: #f3f6fb;
  --bg:        #ffffff;
  --bg-soft:   #f7f8fb;
  --card:      #ffffff;
  --ink:       #0b1f3a;
  --ink-soft:  #4a5a72;
  --ink-mute:  #8492a6;
  --line:      #e6eaf1;
  --ok:        #1f9d63;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(11,31,58,.05);
  --shadow:    0 12px 32px -16px rgba(11,31,58,.18);
  --shadow-lg: 0 30px 60px -30px rgba(11,31,58,.28);

  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 { font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.25; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }

.eyebrow {
  display: inline-block;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy-2); margin-bottom: 14px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: .88rem; }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 8px 20px -10px rgba(11,31,58,.6); }
.btn-navy:hover { background: var(--navy-2); }
.btn-line { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); }
.btn-ghost-white { border: 1.5px solid rgba(255,255,255,.35); color: #fff; }
.btn-ghost-white:hover { border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; gap: 6px; font-weight: 800; letter-spacing: .02em; }
.brand-word { font-size: 1.12rem; color: var(--navy); }
.brand-rd {
  font-size: .72rem; color: #fff; background: var(--navy);
  padding: 3px 7px; border-radius: 6px; letter-spacing: .08em; transform: translateY(-2px);
}
.nav-links { display: flex; gap: 30px; font-size: .92rem; font-weight: 600; color: var(--ink-soft); }
.nav-links a:hover { color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s; }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 40px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 520px; }
.hero-stats dt { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.hero-stats dd { font-size: .82rem; color: var(--ink-mute); font-weight: 600; }

.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 560px; justify-self: end; width: 100%; }
.hero-disc {
  position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, var(--navy-tint) 45%, var(--navy-soft) 100%);
  border: 1px solid var(--line);
}
.hv { position: absolute; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(11,31,58,.18)); }
.hv-main { width: 62%; left: 19%; top: 24%; z-index: 2; }
.hv-lens { width: 26%; right: 6%; bottom: 10%; z-index: 3; }
.hv-gimbal { width: 30%; left: 2%; top: 8%; z-index: 1; opacity: .95; }
.hero-chip {
  position: absolute; left: 6%; bottom: 8%; z-index: 4;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 16px; font-size: .86rem; color: var(--ink-soft); box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 8px;
}
.hero-chip strong { color: var(--navy); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(31,157,99,.15); }

/* ---------- Marcas ---------- */
.brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brands-row {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-top: 22px; padding-bottom: 22px;
  font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .9rem; color: #b3bdcb;
}

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 44px; }
.section-head p { max-width: 380px; color: var(--ink-soft); }
.section-head.center { justify-content: center; text-align: center; }

/* ---------- Combos ---------- */
.combo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; }
.combo-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s;
}
.combo-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.combo-media {
  position: relative; height: 230px;
  background: linear-gradient(180deg, var(--navy-tint), #fff);
  border-bottom: 1px solid var(--line);
}
.combo-media { display: flex; align-items: center; justify-content: center; gap: 4%; padding: 34px 18px 22px; }
.combo-media img { min-width: 0; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(11,31,58,.16)); }
.combo-media img:nth-child(1) { width: 26%; height: 72%; }
.combo-media img:nth-child(2) { width: 40%; height: 82%; }
.combo-media img:nth-child(3) { width: 26%; height: 62%; }
.combo-tag {
  position: absolute; top: 14px; left: 14px; z-index: 4;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  background: #fff; color: var(--navy-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px;
}
.combo-body { padding: 22px 22px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.combo-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.combo-top h3 { font-size: 1.2rem; }
.price { font-weight: 800; color: var(--navy); white-space: nowrap; }
.price small { font-weight: 600; color: var(--ink-mute); font-size: .78rem; }
.combo-incl { display: flex; flex-wrap: wrap; gap: 6px; }
.combo-incl li { font-size: .8rem; color: var(--ink-soft); background: var(--bg-soft); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
.combo-foot { margin-top: auto; display: flex; gap: 10px; }
.combo-foot .btn { flex: 1; }

/* ---------- Filtros ---------- */
.filters { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.search {
  display: flex; align-items: center; gap: 10px; max-width: 420px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; height: 48px;
}
.search:focus-within { border-color: var(--navy); }
.search svg { width: 18px; height: 18px; color: var(--ink-mute); flex: none; }
.search input { border: none; outline: none; background: transparent; font: inherit; color: var(--ink); width: 100%; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 38px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: .86rem; font-weight: 600; color: var(--ink-soft);
  transition: all .2s;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Productos ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.prod-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  display: flex; flex-direction: column; overflow: hidden;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.prod-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.prod-media { position: relative; aspect-ratio: 4 / 3; background: #fff; --pad: 22px; }
.prod-media img {
  position: absolute; inset: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad));
  object-fit: contain; transition: transform .35s var(--ease);
}
.prod-card:hover .prod-media img { transform: scale(1.04); }
.prod-body { padding: 4px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.prod-cat { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.prod-body h3 { font-size: 1rem; }
.prod-note { font-size: .8rem; color: var(--ink-mute); }
.prod-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.add {
  height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--navy); color: var(--navy); font-weight: 700; font-size: .82rem;
  transition: all .2s;
}
.add:hover { background: var(--navy-tint); }
.add.on { background: var(--navy); color: #fff; }
.empty { text-align: center; color: var(--ink-soft); padding: 40px 0; }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; background: #fff; }
.steps .n { display: inline-block; font-weight: 800; color: var(--navy-2); background: var(--navy-soft); border-radius: 10px; padding: 6px 10px; font-size: .82rem; margin-bottom: 18px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.steps p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Condiciones ---------- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0 22px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 500; color: var(--navy-2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 20px; font-size: .95rem; }

/* ---------- CTA ---------- */
.cta {
  background: var(--navy); color: #fff; border-radius: 28px; padding: 56px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
  background-image: radial-gradient(circle at 90% 10%, rgba(255,255,255,.08), transparent 45%);
}
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { color: rgba(255,255,255,.72); max-width: 480px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 28px; margin-bottom: 0; }
.foot { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-tag { margin-top: 10px; color: var(--ink-mute); font-size: .9rem; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; font-weight: 600; font-size: .92rem; color: var(--ink-soft); }
.foot-links a:hover { color: var(--navy); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-mute); }

/* ---------- Lista de cotización ---------- */
.quote-bar {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 10px;
  box-shadow: var(--shadow-lg); width: max-content; max-width: calc(100% - 32px);
}
.quote-toggle { display: flex; align-items: center; gap: 10px; text-align: left; }
.q-count { width: 36px; height: 36px; border-radius: 50%; background: var(--navy-soft); color: var(--navy); font-weight: 800; display: grid; place-items: center; }
.q-text { display: flex; flex-direction: column; line-height: 1.2; font-size: .8rem; color: var(--ink-mute); }
.q-text strong { color: var(--ink); font-size: .9rem; }
.quote-panel {
  position: absolute; bottom: calc(100% + 10px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
  padding: 14px; max-height: 50vh; overflow: auto;
}
.quote-panel li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 4px; border-bottom: 1px solid var(--line); font-size: .88rem; }
.quote-panel li button { color: var(--ink-mute); font-size: 1.1rem; line-height: 1; }
.q-clear { margin-top: 10px; font-size: .82rem; color: var(--ink-mute); text-decoration: underline; }

/* ---------- Páginas internas ---------- */
.nav-links a.on { color: var(--navy); }
.page-head { padding: 56px 0 40px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--navy-tint), #fff); }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 14px; }
.page-head .lead { margin-bottom: 0; max-width: 640px; }
.crumbs { font-size: .84rem; color: var(--ink-mute); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--navy); }
.crumbs a:last-child { color: var(--ink-soft); font-weight: 600; }
.section-tight { padding: 48px 0 88px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--navy-2); white-space: nowrap; }
.link-more svg { width: 16px; height: 16px; transition: transform .2s; }
.link-more:hover svg { transform: translateX(3px); }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; background: #fff; }
.v-ico { display: inline-block; font-weight: 800; font-size: .8rem; color: var(--navy-2); background: var(--navy-soft); border-radius: 10px; padding: 6px 10px; margin-bottom: 16px; }
.value h3 { font-size: 1.08rem; margin-bottom: 8px; }
.value p { color: var(--ink-soft); font-size: .93rem; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.cat-card {
  position: relative; display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px 14px 14px;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .2s;
}
.cat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: transparent; }
.cat-media { position: relative; width: 76px; height: 64px; flex: none; background: var(--navy-tint); border-radius: 12px; }
.cat-media img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: contain; }
.cat-body { min-width: 0; flex: 1; }
.cat-body h3 { font-size: 1rem; margin-bottom: 3px; }
.cat-meta { font-size: .8rem; color: var(--ink-mute); }
.cat-go { color: var(--ink-mute); }
.cat-go svg { width: 18px; height: 18px; transition: transform .2s; }
.cat-card:hover .cat-go { color: var(--navy); }
.cat-card:hover .cat-go svg { transform: translateX(3px); }

.cat-section { padding-top: 48px; }
.cat-section:first-of-type { padding-top: 8px; }
.cat-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cat-section-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.cat-desc { color: var(--ink-soft); font-size: .93rem; margin: 8px 0 0; }
.cat-section .prod-grid { margin-top: 20px; }
.chips-nav { flex-wrap: wrap; overflow: visible; margin-bottom: 28px; }
a.chip { display: inline-flex; align-items: center; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; background: #fff; display: flex; flex-direction: column; gap: 8px; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.c-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; margin-bottom: 10px; }
.c-ico svg { width: 22px; height: 22px; }
.contact-card p { color: var(--ink-soft); flex: 1; }
.cta .btn svg { width: 18px; height: 18px; }

.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col { display: flex; flex-direction: column; gap: 8px; font-size: .92rem; color: var(--ink-soft); }
.foot-col h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.foot-col a:hover { color: var(--navy); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 440px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head.center { align-items: center; }
  .steps { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 32px 0 48px; }
  .hero-stats { gap: 24px; }
  .combo-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .prod-media { --pad: 12px; }
  .prod-body { padding: 2px 12px 12px; }
  .prod-foot { flex-direction: column; align-items: stretch; }
  .add { width: 100%; }
  .quote-bar { bottom: 12px; gap: 8px; }
  .q-text span { display: none; }
  .brands-row { justify-content: center; gap: 14px 22px; font-size: .78rem; }
  .value-grid { grid-template-columns: 1fr; }
  .page-head { padding: 36px 0 28px; }
  .cat-section-head { flex-direction: column; gap: 6px; }
  .cat-grid { grid-template-columns: 1fr; }
}
