/* ============================================================
   BiQu — hoja de estilos principal (rediseño 2026)
   Paleta tomada del logo: azul petróleo + rojo/amarillo/verde
   ============================================================ */

:root {
  --navy: #205e8c;
  --navy-dark: #16324a;
  --navy-deep: #0f2437;
  --coral: #e8523f;
  --coral-dark: #d2402e;
  --yellow: #f59e0b;
  --green: #43a047;
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --bg-navy: #0f2c44;
  --text: #2e4356;
  --muted: #61788c;
  --line: #dde8f0;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(15, 44, 68, 0.08);
  --shadow-md: 0 8px 28px rgba(15, 44, 68, 0.12);
  --shadow-lg: 0 20px 50px rgba(15, 44, 68, 0.18);
  --container: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { color: var(--navy-dark); line-height: 1.2; font-weight: 800; }

section { padding: 88px 0; }
section.soft { background: var(--bg-soft); }

.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head .kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--coral); margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15.5px;
  border: 2px solid transparent; cursor: pointer; transition: all .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 6px 18px rgba(232, 82, 63, .35); }
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-1px); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { color: var(--navy); font-weight: 600; }
.btn-ghost:hover { color: var(--coral); }
.btn-light { background: #fff; color: var(--navy-dark); }
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 16px 34px; font-size: 17px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 44px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-weight: 600; font-size: 15px; color: var(--navy-dark); }
.main-nav a:hover { color: var(--coral); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy-dark); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { padding: 160px 0 90px; background:
  radial-gradient(1000px 500px at 85% -10%, rgba(32, 94, 140, .10), transparent 60%),
  radial-gradient(700px 400px at -10% 30%, rgba(245, 158, 11, .10), transparent 60%),
  var(--bg);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.6vw, 50px); letter-spacing: -0.02em; margin-bottom: 18px; }
.hero h1 .hl { color: var(--coral); }
.hero .sub { font-size: 18.5px; color: var(--muted); margin-bottom: 30px; max-width: 540px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-bullets { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; list-style: none; font-size: 14.5px; color: var(--muted); font-weight: 600; }
.hero-bullets li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 7px; }

/* Mockup compuesto del hero */
.hero-visual { position: relative; min-height: 430px; }
.mock-browser {
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden; width: 100%;
}
.mock-topbar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.mock-dots i:nth-child(1) { background: var(--coral); }
.mock-dots i:nth-child(2) { background: var(--yellow); }
.mock-dots i:nth-child(3) { background: var(--green); }
.mock-url { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; color: var(--muted); padding: 5px 12px; font-weight: 600; }
.mock-body { padding: 18px; }
.mock-title { font-size: 13px; font-weight: 700; color: var(--navy-dark); margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.mock-title .tag { font-size: 10.5px; background: rgba(67, 160, 71, .12); color: var(--green); padding: 3px 9px; border-radius: 99px; font-weight: 700; }
.mock-row { display: grid; grid-template-columns: 1.2fr 2fr .6fr; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--bg-soft); }
.mock-row .p { font-size: 12px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-bar { height: 8px; border-radius: 99px; background: var(--bg-soft); position: relative; overflow: hidden; }
.mock-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; display: block; }
.mock-price { font-size: 12px; font-weight: 800; text-align: right; }
.up { color: var(--coral); } .down { color: var(--green); }

.mock-float {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); padding: 14px 16px; font-size: 12px;
}
.mock-ext { top: -26px; right: -14px; width: 232px; animation: floaty 5s ease-in-out infinite; }
.mock-ext .ext-head { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy-dark); margin-bottom: 9px; font-size: 12.5px; }
.ext-dot { width: 18px; height: 18px; border-radius: 5px; background: var(--coral); color: #fff; font-size: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.mock-ext .ext-row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed var(--bg-soft); color: var(--muted); font-weight: 600; }
.mock-ext .ext-row b { color: var(--navy-dark); }
.mock-ext .ext-best { color: var(--green); font-weight: 800; }

.mock-xls { bottom: -20px; left: -18px; width: 250px; animation: floaty 6s ease-in-out .8s infinite; }
.mock-xls .xls-head { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy-dark); margin-bottom: 9px; font-size: 12.5px; }
.xls-dot { width: 18px; height: 18px; border-radius: 5px; background: var(--green); color: #fff; font-size: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.xls-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.xls-grid span { padding: 5px 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 10.5px; color: var(--muted); font-weight: 600; background: #fff; }
.xls-grid span.h { background: var(--bg-soft); color: var(--navy-dark); font-weight: 800; }
.xls-grid span.f { color: var(--green); font-weight: 700; font-family: ui-monospace, monospace; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Logos clientes ---------- */
.logos { padding: 44px 0 52px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.logos p { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px 56px; }
.logo-row img { height: 34px; width: auto; filter: grayscale(1); opacity: .55; transition: .2s; }
.logo-row img:hover { filter: none; opacity: 1; }
.logos-more { text-transform: none !important; letter-spacing: 0 !important; font-weight: 500 !important; font-size: 14px !important; color: var(--muted); margin: 24px 0 0 !important; }

/* ---------- Herramientas ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tool-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s;
}
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tool-icon { width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.tool-icon svg { width: 26px; height: 26px; }
.tool-card h3 { font-size: 20px; margin-bottom: 4px; }
.tool-card .tool-sub { font-size: 13px; font-weight: 700; color: var(--coral); margin-bottom: 12px; }
.tool-card p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.tool-card ul { list-style: none; margin-bottom: 22px; }
.tool-card li { font-size: 14.5px; padding: 5px 0; color: var(--text); }
.tool-card li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 8px; }
.tool-card .tool-cta { margin-top: auto; }

/* ---------- Cómo funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; position: relative; }
.step .num {
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff;
  font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Categorías ---------- */
.cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; transition: transform .18s, box-shadow .18s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cat-icon { width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.cat-icon svg { width: 22px; height: 22px; }
.cat-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.cat-card p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.ic-blue { background: rgba(32, 94, 140, .10); color: var(--navy); }
.ic-coral { background: rgba(232, 82, 63, .10); color: var(--coral); }
.ic-yellow { background: rgba(245, 158, 11, .14); color: #b45309; }
.ic-green { background: rgba(67, 160, 71, .10); color: var(--green); }
.cats-note { text-align: center; margin-top: 30px; color: var(--muted); font-size: 15px; }
.cats-note a { font-weight: 700; }

/* ---------- Segmentos ---------- */
.seg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.seg-card { border-radius: var(--radius); padding: 32px 28px; background: var(--bg-navy); color: #dbe9f4; }
.seg-card h3 { color: #fff; font-size: 19px; margin-bottom: 10px; }
.seg-card p { font-size: 14.5px; color: #b9cfdf; margin-bottom: 14px; }
.seg-card ul { list-style: none; }
.seg-card li { font-size: 14px; padding: 4px 0; }
.seg-card li::before { content: "→"; color: var(--yellow); margin-right: 8px; font-weight: 700; }

/* ---------- Testimonio ---------- */
.quote-wrap { max-width: 780px; margin: 0 auto; text-align: center; }
.quote-mark { font-size: 64px; color: var(--coral); font-family: Georgia, serif; line-height: .5; margin-bottom: 18px; }
.quote-wrap blockquote { font-size: clamp(19px, 2.6vw, 24px); font-weight: 600; color: var(--navy-dark); line-height: 1.5; margin-bottom: 24px; }
.quote-who { font-size: 15px; color: var(--muted); }
.quote-who b { color: var(--navy-dark); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--navy-dark);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--coral); font-weight: 400; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 18px; color: var(--muted); font-size: 15px; }

/* ---------- CTA banda ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-dark), var(--navy)); border-radius: 20px; padding: 56px 48px; text-align: center; color: #fff; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 12px; }
.cta-band p { color: #c4d8e7; margin-bottom: 28px; font-size: 17px; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: clamp(26px, 3.6vw, 34px); margin-bottom: 14px; }
.contact-info > p { color: var(--muted); margin-bottom: 26px; font-size: 16.5px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-item .ci { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; background: rgba(32, 94, 140, .10); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.contact-item .ci svg { width: 19px; height: 19px; }
.contact-item b { display: block; color: var(--navy-dark); font-size: 14.5px; }
.contact-item a, .contact-item span { font-size: 14.5px; color: var(--muted); }

.lead-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-md); }
.lead-form h3 { font-size: 20px; margin-bottom: 4px; }
.lead-form .form-sub { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy-dark); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--text); background: #fff; transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); }
.lead-form .btn { width: 100%; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; }
.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.form-status.ok { display: block; background: rgba(67, 160, 71, .1); color: var(--green); }
.form-status.err { display: block; background: rgba(232, 82, 63, .1); color: var(--coral); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #9fb8ca; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer img.f-logo { height: 40px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .95; }
.site-footer p { font-size: 14px; }
.site-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #9fb8ca; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; flex-wrap: wrap; gap: 10px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45); transition: transform .15s;
}
.wa-float.on { display: flex; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Animación de aparición ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Página gracias ---------- */
.thanks { min-height: 70vh; display: flex; align-items: center; text-align: center; padding-top: 120px; }
.thanks .check { width: 84px; height: 84px; border-radius: 50%; background: rgba(67, 160, 71, .12); color: var(--green); display: flex; align-items: center; justify-content: center; margin: 0 auto 26px; font-size: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .hero .sub { max-width: none; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .tools-grid, .steps, .seg-grid { grid-template-columns: 1fr; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .hero { padding: 130px 0 70px; }
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column;
    padding: 20px 24px 26px; gap: 18px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header-cta .btn-outline { display: none; }
  .mock-ext { right: -6px; top: -18px; width: 200px; }
  .mock-xls { left: -6px; width: 220px; }
  .cats-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
}
