/* ═══════════════════════════════════════════
   UCM — Mobile-First Conversion CSS
   ═══════════════════════════════════════════ */

:root {
  --blue: #1e3f6e;
  --blue-mid: #2e5988;
  --blue-dark: #0f2438;
  --blue-light: #e8f0fa;
  --red: #c0232a;
  --red-dark: #961b20;
  --red-glow: rgba(192, 35, 42, 0.25);
  --ink: #1a1a2e;
  --ink-mid: #334155;
  --ink-light: #64748b;
  --soft: #f0f5fc;
  --white: #ffffff;
  --wa: #25d366;
  --wa-dark: #128c4e;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.08);
  --shadow: 0 14px 38px rgba(0,0,0,0.15);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.22);
  --container: 1140px;
  --font-body: 'Montserrat', system-ui, sans-serif;
  --font-head: 'Poppins', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.2px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-align: center;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn-call { background: var(--red); color: #fff; }
.btn-call:hover { background: var(--red-dark); }

.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue-light);
}
.btn-outline:hover { background: var(--blue-light); }

.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--blue-light); }

.btn-full { width: 100%; }

.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn i { font-size: 18px; line-height: 1; flex-shrink: 0; }

/* Pulse animation for primary CTAs */
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 var(--red-glow); }
  70% { box-shadow: 0 0 0 12px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.btn-pulse { animation: pulse-ring 2s infinite; }

@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.35); }
  70% { box-shadow: 0 0 0 12px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.btn-pulse-wa { animation: pulse-wa 2s infinite; }

/* ── TOPBAR ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5eaf2;
  padding: 8px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}

.brand img { width: 180px; height: auto; }

.topbar-ctas {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar .btn { min-height: 42px; padding: 10px 16px; font-size: 0.88rem; }

/* ── HERO ── */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--blue);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(105deg, rgba(10,24,42,0.88) 0%, rgba(30,63,110,0.72) 45%, rgba(46,89,136,0.55) 100%),
    url("hero-ucm.png");
  background-position: center;
  background-size: cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  right: -160px; top: -200px;
  background: radial-gradient(circle, rgba(192,35,42,0.3), transparent);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
  padding: 64px 0 56px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 14px;
  backdrop-filter: blur(4px);
}
.hero-badge::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--wa);
  animation: blink 1.5s infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 14px;
  text-wrap: balance;
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  margin-bottom: 8px;
}

.hero p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
  max-width: 560px;
}

.trust-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.pill {
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

/* Conversion Box */
.conversion-box {
  background: rgba(255,255,255,0.97);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,0.5);
}

.conversion-box h2 {
  font-family: var(--font-head);
  color: var(--blue);
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 6px;
}

.conversion-box .urgency-tag {
  display: inline-block;
  background: #fef2f2;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.conversion-box p {
  color: var(--ink-mid);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.cta-stack { display: grid; gap: 10px; }

.mini-trust {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--ink-light);
}
.mini-trust svg { width: 14px; height: 14px; fill: var(--wa); flex-shrink: 0; }

/* ── SECTION COMMON ── */
.sec { padding: 56px 0; }

.sec-header {
  text-align: center;
  margin-bottom: 32px;
}

.sec-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 10px;
}

.sec-header p {
  color: var(--ink-mid);
  max-width: 680px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.sec-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  margin-bottom: 8px;
}

/* ── SOCIAL PROOF COUNTER ── */
.social-proof { background: var(--soft); border-top: 1px solid #dce7f3; border-bottom: 1px solid #dce7f3; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}

.stat-item h3 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--ink-mid);
  margin-top: 4px;
  font-weight: 500;
}

/* ── HOW IT WORKS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step-card {
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.step-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--ink-mid);
}

/* ── PLAN CARDS ── */
.plans { background: #fff; }

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  border: 1px solid #dbe5f1;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card img { width: 100%; height: 190px; object-fit: cover; }

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.card h3 {
  font-family: var(--font-head);
  color: var(--blue);
  font-size: 1.15rem;
}

.card p {
  color: var(--ink-mid);
  font-size: 0.92rem;
  line-height: 1.5;
}

.card .btn { margin-top: auto; }

details { border-top: 1px solid #e5e7eb; padding-top: 10px; }
summary { cursor: pointer; font-weight: 700; color: var(--red); font-size: 0.9rem; list-style: none; }
summary::-webkit-details-marker { display: none; }
.details-content { margin-top: 8px; color: var(--ink-mid); font-size: 0.88rem; line-height: 1.5; }

/* ── RESPALDO ── */
.respaldo {
  background: linear-gradient(170deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
}
.respaldo .sec-header h2 { color: #fff; }
.respaldo .sec-header p { color: rgba(255,255,255,0.88); }
.respaldo .sec-label { color: rgba(255,255,255,0.7); }

.res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.res-item {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  padding: 22px 18px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(4px);
}
.res-item h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 8px;
}
.res-item p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.88);
}

/* ── SERVICES ── */
.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.service-item {
  border: 1px solid #d7e4f2;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: var(--soft);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s;
}
.service-item:hover { background: #dce7f3; }
.icon-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* ── EJECUTIVA SECTION ── */
.ejecutiva-sec { background: var(--soft); border-top: 1px solid #dce7f3; }
.ejecutiva-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.ejecutiva-avatar {
  width: 140px; height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--blue);
  box-shadow: var(--shadow);
}
.ejecutiva-info h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: 4px;
}
.ejecutiva-info .role {
  color: var(--red);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 10px;
}
.ejecutiva-info p {
  color: var(--ink-mid);
  font-size: 0.95rem;
  margin-bottom: 16px;
  max-width: 500px;
}
.ejecutiva-info .btn { max-width: 320px; }

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.testimonial-card .stars { color: #f59e0b; font-size: 1rem; margin-bottom: 10px; letter-spacing: 2px; }
.testimonial-card blockquote {
  font-size: 0.92rem;
  color: var(--ink-mid);
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 14px;
}
.testimonial-card cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  display: block;
}
.testimonial-card cite span {
  font-weight: 400;
  color: var(--ink-light);
  display: block;
  font-size: 0.8rem;
}

/* ── FAQ ── */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.faq-item {
  border: 1px solid #e5eaf2;
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--blue);
  font-weight: 700;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer {
  padding: 0 20px 16px;
  color: var(--ink-mid);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── HARD CTA ── */
.hard-cta {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
}
.hard-cta-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}
.hard-cta h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #fff;
  text-align: left;
  line-height: 1.2;
  margin-bottom: 8px;
}
.hard-cta p { color: rgba(255,255,255,0.92); }
.hard-cta-buttons { display: grid; gap: 10px; }

/* ── FOOTER ── */
footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.88);
  padding: 32px 0 96px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.footer-copy { font-size: 0.88rem; line-height: 1.6; }
.footer-cta { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

/* ── FLOATING WA ── */
.floating-wa {
  position: fixed;
  right: 18px;
  bottom: 96px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--wa);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  border: 3px solid #fff;
  animation: pulse-wa 2s infinite;
  transition: transform 0.2s;
}
.floating-wa:hover { transform: scale(1.1); }
.floating-wa svg { width: 32px; height: 32px; fill: #fff; }
.floating-wa i { font-size: 34px; line-height: 1; color: #fff; }

/* ── MOBILE ACTION BAR ── */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid #d6deea;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 12px;
  z-index: 1001;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.1);
}
.mobile-bar .btn { min-height: 48px; font-size: 0.9rem; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST BREAKPOINTS
   ═══════════════════════════════════════════ */

@media (max-width: 1040px) {
  .hero-grid, .hard-cta-wrap { grid-template-columns: 1fr; }
  .cards-3, .res-grid, .steps-grid, .service-list, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ejecutiva-wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .ejecutiva-info p { margin-left: auto; margin-right: auto; }
  .ejecutiva-info .btn { margin: 0 auto; }
  .hard-cta h2, .hard-cta p { text-align: center; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 24px); }

  .topbar-inner { justify-content: center; flex-wrap: wrap; }
  .brand img { width: 150px; }
  .topbar-ctas .btn-outline { display: none; }

  .hero-grid { padding: 36px 0 40px; }
  .hero h1 { font-size: 1.65rem; }

  .cards-3, .res-grid, .steps-grid, .service-list, .testimonials-grid, .stats-row {
    grid-template-columns: 1fr;
  }

  .sec { padding: 40px 0; }

  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-cta { justify-content: center; }

  .floating-wa { display: none; }
  .mobile-bar { display: grid; }

  footer { padding-bottom: 100px; }

  .hard-cta-wrap { gap: 16px; }
}
