/* ============================================
   360 Retail Pro — Hoja de estilos principal
   Marca: Navy #0A2540 · Azul #1E6FD9 · Cyan #22D3EE
          Dorado #F5B301 · Tinta #1A2B3C · Gris #5A6B7E
   ============================================ */

:root {
  --navy: #0A2540;
  --navy-2: #0D2E52;
  --blue: #1E6FD9;
  --cyan: #22D3EE;
  --gold: #F5B301;
  --ink: #1A2B3C;
  --gray: #5A6B7E;
  --light: #F6F9FC;
  --light-2: #EEF4FB;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(10, 37, 64, 0.10);
  --shadow-sm: 0 3px 12px rgba(10, 37, 64, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--light-2);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand img { height: 46px; width: auto; mix-blend-mode: multiply; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: var(--ink); font-weight: 600; font-size: 14.5px;
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover, .nav a.active { color: var(--blue); border-bottom-color: var(--cyan); }
.nav .btn { border-bottom: none; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 28px; color: var(--navy); line-height: 1;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-block; font-weight: 700; font-size: 15px;
  padding: 13px 28px; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: all .2s; text-align: center;
}
.btn-primary { background: var(--blue); color: var(--white) !important; }
.btn-primary:hover { background: #175CB8; transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy) !important; }
.btn-gold:hover { background: #E0A400; transform: translateY(-1px); }
.btn-outline { border-color: var(--blue); color: var(--blue) !important; background: transparent; }
.btn-outline:hover { background: var(--blue); color: var(--white) !important; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: var(--white) !important; background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--navy) !important; }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #114073 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(34,211,238,0.12), transparent 45%);
  pointer-events: none;
}
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.16;
}
.hero-inner {
  position: relative; z-index: 2;
  padding-top: 90px; padding-bottom: 90px;
  max-width: 780px;
}
.hero .kicker { color: var(--cyan); }
.hero h1 {
  font-size: clamp(32px, 5vw, 50px); line-height: 1.15;
  font-weight: 800; margin-bottom: 20px;
}
.hero h1 .hl { color: var(--gold); }
.hero p.lead {
  font-size: clamp(16px, 2vw, 19px); color: #D8E4F2;
  margin-bottom: 32px; max-width: 640px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero interior (páginas de producto) */
.hero-sub .hero-inner { padding-top: 70px; padding-bottom: 70px; }

/* ---------- Secciones ---------- */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.section-light { background: var(--light); }
.section-navy { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: var(--white); }

.kicker {
  display: block; font-size: 13px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.section-navy .kicker { color: var(--cyan); }
h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; line-height: 1.2; margin-bottom: 14px; color: var(--navy); }
.section-navy h2 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--gray); font-size: 17px; }
.section-navy .section-head p { color: #C4D4E6; }

/* ---------- Tarjetas de producto (Home) ---------- */
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.product-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.product-card { cursor: pointer; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 14px 38px rgba(10,37,64,.16); }
.product-card .card-img { height: 190px; object-fit: cover; width: 100%; }
.product-card .card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.product-card .tag {
  display: inline-block; align-self: flex-start; font-size: 11.5px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 12px;
  border-radius: 999px; margin-bottom: 14px;
}
.tag-blue { background: var(--light-2); color: var(--blue); }
.tag-gold { background: #FDF3D7; color: #9C7400; }
.tag-cyan { background: #DFF9FD; color: #0E7A8A; }
.product-card h3 { font-size: 21px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.product-card p { color: var(--gray); font-size: 15px; flex: 1; margin-bottom: 18px; }
.product-card .card-cta { font-weight: 700; font-size: 15px; color: var(--blue); }
.product-card .card-cta::after { content: " →"; }

/* ---------- Franja de números ---------- */
.stats { display: flex; justify-content: center; gap: 70px; flex-wrap: wrap; text-align: center; }
.stat .num { font-size: 52px; font-weight: 800; color: var(--gold); line-height: 1; }
.stat .lbl { font-size: 15px; color: #C4D4E6; margin-top: 8px; }

/* ---------- Logos de clientes ---------- */
.logos-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  align-items: stretch;
}
.logo-chip {
  background: var(--white); border-radius: 12px; padding: 14px 18px;
  min-height: 92px; display: flex; align-items: center; justify-content: center;
}
.logo-chip.dark { background: var(--navy-2); border: 1px solid rgba(255,255,255,.15); }
.logo-chip.black { background: #0B0B0B; }
.logo-chip img { max-height: 60px; max-width: 100%; width: auto; object-fit: contain; }

/* ---------- Logo de producto en hero ---------- */
.hero-logo { height: 76px; max-width: 85%; width: auto; object-fit: contain; margin-bottom: 20px; }
.hero-logo.on-chip {
  background: var(--white); border-radius: 12px;
  padding: 10px 18px; height: 96px;
  box-shadow: var(--shadow-sm);
}

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 300;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.28); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ---------- Testimonios ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 30px; border-top: 4px solid var(--cyan);
}
.testimonial .stars { color: var(--gold); font-size: 18px; letter-spacing: 3px; margin-bottom: 12px; }
.testimonial blockquote { font-size: 16px; color: var(--ink); font-style: italic; margin-bottom: 14px; }
.testimonial cite { font-style: normal; font-weight: 700; font-size: 14px; color: var(--gray); }

/* ---------- Listas con check ---------- */
.checklist { list-style: none; }
.checklist li {
  padding-left: 34px; position: relative; margin-bottom: 14px;
  color: var(--ink); font-size: 16px;
}
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--light-2); color: var(--blue);
  font-weight: 800; font-size: 14px; display: flex;
  align-items: center; justify-content: center;
}
.section-navy .checklist li { color: #E6EEF7; }
.section-navy .checklist li::before { background: rgba(34,211,238,.18); color: var(--cyan); }

/* ---------- Grid de features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 28px;
}
.feature .icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--light-2); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
}
.feature h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.feature p { color: var(--gray); font-size: 14.5px; }

/* ---------- Fases REV 40 ---------- */
.fase { margin-bottom: 34px; }
.fase-head {
  border-radius: var(--radius); padding: 18px 26px; color: var(--white);
  margin-bottom: 16px;
}
.fase-head.fa { background: linear-gradient(90deg, var(--blue), #3E8BE8); }
.fase-head.fb { background: linear-gradient(90deg, var(--navy), #1B4A7E); }
.fase-head.fc { background: linear-gradient(90deg, #0E7A8A, var(--cyan)); }
.fase-head.fd { background: linear-gradient(90deg, #9C7400, var(--gold)); }
.fase-head h3 { font-size: 19px; font-weight: 800; }
.fase-head p { font-size: 14px; opacity: .9; }
.sesiones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sesiones.cols-3 { grid-template-columns: repeat(3, 1fr); }
.sesion {
  background: var(--white); border-radius: 12px; box-shadow: var(--shadow-sm);
  padding: 18px 20px; display: flex; gap: 16px; align-items: flex-start;
}
.sesion .n {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.sesion h4 { font-size: 15.5px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.sesion p { font-size: 14px; color: var(--gray); }

/* ---------- Tabla comparativa ---------- */
.tabla-wrap { overflow-x: auto; }
table.tabla {
  width: 100%; border-collapse: collapse; background: var(--white);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
table.tabla th {
  background: var(--navy); color: var(--white); font-size: 15px;
  padding: 16px 20px; text-align: left;
}
table.tabla td {
  padding: 15px 20px; font-size: 15px; color: var(--ink);
  border-bottom: 1px solid var(--light-2);
}
table.tabla tr:last-child td { border-bottom: none; }
table.tabla td:first-child { font-weight: 700; color: var(--navy); }

/* ---------- Precio ---------- */
.pricing { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.price-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 36px 34px; text-align: center; max-width: 340px; flex: 1; min-width: 260px;
}
.price-card.featured { border: 3px solid var(--gold); position: relative; }
.price-card .plan { font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.price-card .price { font-size: 42px; font-weight: 800; color: var(--navy); line-height: 1; }
.price-card .price span { font-size: 16px; font-weight: 600; color: var(--gray); }
.price-card .desc { color: var(--gray); font-size: 14.5px; margin: 14px 0 22px; }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; }
.cta-final h2 { margin-bottom: 12px; }
.cta-final p { color: #C4D4E6; max-width: 560px; margin: 0 auto 30px; font-size: 17px; }

/* ---------- Precalificación (agendar) ---------- */
.qualify-card {
  max-width: 640px; margin: 0 auto; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px;
}
.qualify-card h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 22px; }
.q-options { display: grid; gap: 12px; }
.q-option {
  display: block; border: 2px solid var(--light-2); border-radius: 12px;
  padding: 16px 20px; cursor: pointer; font-size: 15.5px; font-weight: 600;
  color: var(--ink); transition: all .15s; background: var(--white); text-align: left;
  font-family: inherit; width: 100%;
}
.q-option:hover { border-color: var(--cyan); background: var(--light); }
.q-progress { font-size: 13px; font-weight: 700; color: var(--gray); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.q-result-ok .icon-big, .q-result-no .icon-big { font-size: 46px; margin-bottom: 14px; }
.hidden { display: none !important; }

/* ---------- Formulario de contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.form-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 34px;
}
.form-card label {
  font-size: 13.5px; font-weight: 700; color: var(--navy);
  display: block; margin-bottom: 6px;
}
.form-card input, .form-card select, .form-card textarea {
  width: 100%; padding: 12px 14px; border: 2px solid var(--light-2);
  border-radius: 10px; font-family: inherit; font-size: 15px;
  margin-bottom: 16px; background: var(--light); color: var(--ink);
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: none; border-color: var(--cyan); background: var(--white);
}
.form-card textarea { resize: vertical; min-height: 110px; }
.form-card .btn { width: 100%; }
.form-note { font-size: 13px; color: var(--gray); margin-top: 12px; text-align: center; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #C4D4E6; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer h4 { color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.site-footer a { color: #C4D4E6; display: block; margin-bottom: 10px; font-size: 14.5px; }
.site-footer a:hover { color: var(--cyan); }
.footer-brand img { height: 44px; margin-bottom: 14px; background: var(--white); border-radius: 8px; padding: 4px 10px; }
.footer-brand p { font-size: 14px; max-width: 300px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .container { padding: 0 26px; }
  .hero-inner { padding-top: 60px; padding-bottom: 60px; }
  .products-grid, .features-grid { grid-template-columns: 1fr; }
  .sesiones, .sesiones.cols-3 { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .logos-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .stats { gap: 40px; }

  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 18px 24px 24px; gap: 4px; border-bottom: 1px solid var(--light-2);
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--light-2); }
  .nav .btn { margin-top: 12px; }
}

@media (max-width: 520px) {
  .logos-grid { grid-template-columns: repeat(2, 1fr); }
}
