/* =============================================================
   Aglaia — Landing Page (Business Central)
   Diseño: Glassmorphism Modern (adaptado), paleta y tipografía Aglaia.
   Mobile-first. Un solo CTA repetido. Sin nav / footer completos.
   ============================================================= */

/* -------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------- */
:root {
  --turquesa: #79C0C0;
  --azul-medio: #1C75BC;
  --azul-oscuro: #252B7E;
  --azul-celeste: #33A0DB;

  --bg: #eff5f8;
  --ink: #1b2033;
  --ink-soft: #384158;
  --ink-mute: #667085;

  --glass-solid: rgba(255, 255, 255, 0.8);
  --glass: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.65);
  --line: rgba(37, 43, 126, 0.10);
  --line-strong: rgba(37, 43, 126, 0.18);

  --cta-grad: linear-gradient(135deg, var(--azul-medio) 0%, var(--azul-celeste) 100%);
  --cta-grad-hover: linear-gradient(135deg, var(--azul-oscuro) 0%, var(--azul-medio) 100%);

  --shadow-sm: 0 1px 2px rgba(37, 43, 126, 0.06), 0 3px 10px rgba(37, 43, 126, 0.07);
  --shadow-md: 0 2px 6px rgba(37, 43, 126, 0.06), 0 16px 36px rgba(37, 43, 126, 0.11);
  --shadow-lg: 0 4px 12px rgba(37, 43, 126, 0.08), 0 28px 64px rgba(37, 43, 126, 0.19);

  --font-main: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;

  --max-width: 1180px;
  --radius: 20px;
  --radius-sm: 14px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* -------------------------------------------------------------
   2. Reset & base
   ------------------------------------------------------------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  appearance: none;
  -webkit-appearance: none;
}

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--azul-celeste);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* -------------------------------------------------------------
   3. Glass card component (usado sobre fondos con mesh)
   ------------------------------------------------------------- */
.glass-card {
  background: var(--glass-solid);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass-card {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
  }
}

/* Tarjeta elevada "sólida" — usada en secciones sin mesh detrás */
.solid-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Chip circular tintado detrás de iconos — look "producto" moderno */
.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(51, 160, 219, 0.14), rgba(37, 43, 126, 0.08));
}
.icon-chip svg { width: 20px; height: 20px; }

.icon-chip--faq {
  width: 30px;
  height: 30px;
  border-radius: 10px;
}
.icon-chip--faq svg { width: 16px; height: 16px; }

/* Avatar genérico para testimonios (sin foto real todavía) */
.avatar-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--azul-medio), var(--azul-oscuro));
  color: #fff;
}
.avatar-chip svg { width: 18px; height: 18px; }

/* -------------------------------------------------------------
   4. Reveal on scroll (universal, defensivo)
   ------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* -------------------------------------------------------------
   5. Header — SOLO logo + teléfono (sin menú de navegación)
   ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  transition: background-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
  }
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 rgba(37, 43, 126, 0.06), 0 10px 24px rgba(37, 43, 126, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  display: block;
  height: 34px;
  width: auto;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--azul-oscuro);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.5);
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}

.header-phone:hover {
  background: #fff;
  border-color: var(--azul-celeste);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.header-phone svg { flex-shrink: 0; }

.header-phone .phone-number { display: none; }

@media (min-width: 480px) {
  .header-phone .phone-number { display: inline; }
}

/* -------------------------------------------------------------
   6. Hero — above the fold: headline, subtítulo, formulario, badges
   ------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 32px 0 40px;
}

.hero-mesh {
  position: absolute;
  inset: -15% -10%;
  z-index: -1;
  background:
    radial-gradient(45% 40% at 15% 20%, rgba(121, 192, 192, 0.55) 0%, transparent 70%),
    radial-gradient(50% 45% at 88% 12%, rgba(51, 160, 219, 0.45) 0%, transparent 70%),
    radial-gradient(55% 50% at 75% 85%, rgba(28, 117, 188, 0.30) 0%, transparent 70%),
    radial-gradient(45% 40% at 15% 90%, rgba(37, 43, 126, 0.20) 0%, transparent 70%),
    var(--bg);
  filter: blur(60px) saturate(140%);
  animation: meshDrift 26s ease-in-out infinite;
}

@keyframes meshDrift {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.15) rotate(6deg); }
}

/* Foto de fondo del hero principal — solo aquí, no en el CTA final */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    100deg,
    rgba(239, 245, 248, 0.95) 0%,
    rgba(239, 245, 248, 0.82) 26%,
    rgba(239, 245, 248, 0.38) 52%,
    rgba(37, 43, 126, 0.16) 100%
  );
}

/* El mesh se vuelve un tinte de marca sobre la foto (sin base sólida) */
.hero:has(.hero-photo) .hero-mesh {
  inset: 0;
  background:
    radial-gradient(45% 40% at 12% 15%, rgba(121, 192, 192, 0.4) 0%, transparent 70%),
    radial-gradient(50% 45% at 90% 10%, rgba(51, 160, 219, 0.35) 0%, transparent 70%),
    radial-gradient(55% 50% at 78% 90%, rgba(28, 117, 188, 0.3) 0%, transparent 70%);
  mix-blend-mode: soft-light;
  filter: blur(40px) saturate(150%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.hero-copy h1 {
  font-size: 1.7rem;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--azul-oscuro);
  margin: 0 0 14px;
}

.hero-copy .subtitle {
  font-size: 1.02rem;
  color: var(--ink-soft);
  margin: 0 0 20px;
  max-width: 46ch;
}

.trust-badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 20px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.trust-badge .badge-icon { color: var(--azul-medio); }

.trust-badge .stat-number { font-weight: 700; color: var(--azul-oscuro); }

.ms-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--azul-oscuro);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  width: fit-content;
  box-shadow: var(--shadow-sm);
}

.ms-partner-badge .ms-squares {
  display: grid;
  grid-template-columns: repeat(2, 6px);
  grid-template-rows: repeat(2, 6px);
  gap: 2px;
}
.ms-partner-badge .ms-squares span { display: block; width: 6px; height: 6px; }
.ms-partner-badge .ms-squares span:nth-child(1) { background: #F25022; }
.ms-partner-badge .ms-squares span:nth-child(2) { background: #7FBA00; }
.ms-partner-badge .ms-squares span:nth-child(3) { background: #00A4EF; }
.ms-partner-badge .ms-squares span:nth-child(4) { background: #FFB900; }

/* ---- Formulario (compartido: hero y CTA final) ---- */
.lead-form-card {
  padding: 22px;
}

.lead-form-card h2 {
  font-size: 1.15rem;
  color: var(--azul-oscuro);
  margin: 0 0 16px;
}

.lead-form .form-row {
  margin-bottom: 14px;
}

.lead-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--ink-soft);
}

.lead-form .required-mark { color: var(--azul-medio); }

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"],
.lead-form select,
.lead-form textarea {
  width: 100%;
  font-family: var(--font-main);
  font-size: 1rem;
  padding: 11px 12px;
  border: 1px solid rgba(37, 43, 126, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--azul-celeste);
  box-shadow: 0 0 0 3px rgba(51, 160, 219, 0.2);
}

.lead-form textarea { resize: vertical; min-height: 70px; }

.form-error-banner {
  display: none;
  background: #fdecec;
  border: 1px solid #f2b8b5;
  color: #8a1f1f;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.form-error-banner.is-visible { display: block; }

/* ---- CTA único (mismo estilo en toda la página) ---- */
.btn-cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--cta-grad);
  color: #fff;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 15px 18px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(28, 117, 188, 0.32);
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background .35s var(--ease-out);
}

.btn-cta:hover {
  background: var(--cta-grad-hover);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(28, 117, 188, 0.4), 0 8px 18px rgba(37, 43, 126, 0.22);
}
.btn-cta:active {
  transform: translateY(-1px);
  transition-duration: .12s;
}
.btn-cta:disabled { opacity: .7; cursor: default; transform: none; }

.btn-arrow {
  display: inline-block;
  transition: transform .35s var(--ease-soft);
}
.btn-cta:hover .btn-arrow { transform: translateX(4px); }

.form-subtext {
  font-size: 0.8rem;
  color: var(--ink-mute);
  text-align: center;
  margin: 10px 0 0;
}

/* -------------------------------------------------------------
   7. Secciones generales
   ------------------------------------------------------------- */
section { padding: 52px 0; position: relative; }

.section-alt { background: linear-gradient(180deg, #e7f1f5 0%, var(--bg) 100%); }

/* Wash decorativo sutil, sin animar — mantiene el lenguaje visual sin sobrecargar */
.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 32% at 92% 0%, rgba(121, 192, 192, 0.18), transparent 70%),
    radial-gradient(35% 30% at 4% 100%, rgba(51, 160, 219, 0.14), transparent 70%);
  filter: blur(50px);
}

.section-alt .container { position: relative; z-index: 1; }

h2.section-title {
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--azul-oscuro);
  text-align: center;
  margin: 0 0 28px;
}

/* ---- Sección 2: Problema / dolor ---- */
.pain-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
  display: grid;
  gap: 12px;
}

.pain-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  font-size: 0.98rem;
  transition: transform .35s var(--ease-soft), box-shadow .35s var(--ease-soft);
}

.pain-list li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pain-list li .pain-icon { color: var(--azul-medio); }

.pain-remate {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--azul-oscuro);
  max-width: 720px;
  margin: 26px auto 0;
}

/* ---- Sección: Business Central en acción (showcase de fotos) ---- */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.showcase-card {
  margin: 0;
  overflow: hidden;
  transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease-soft);
}

.showcase-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 491;
  object-fit: cover;
  transition: transform .6s var(--ease-soft);
}

.showcase-card figcaption {
  padding: 12px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--azul-oscuro);
  line-height: 1.35;
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.showcase-card:hover img { transform: scale(1.05); }

@media (min-width: 720px) {
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1280px) {
  .showcase-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Sección 3: Tabla comparativa ---- */
.compare-wrap {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: visible;
}

table.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.compare-table th {
  font-size: 0.95rem;
  text-align: left;
  padding: 14px 16px;
  color: #fff;
}

.compare-table th:first-child { background: var(--azul-medio); border-top-left-radius: var(--radius); }
.compare-table th:last-child { background: #7c8591; border-top-right-radius: var(--radius); }

.compare-table tr { transition: background-color .2s var(--ease-out); }
.compare-table tbody tr:hover { background: rgba(51, 160, 219, 0.06); }

.compare-table td {
  padding: 13px 16px;
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}

.compare-table td.col-yes { color: var(--azul-oscuro); }
.compare-table td.col-no { color: var(--ink-mute); }

.compare-table td .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  vertical-align: -5px;
}
.compare-table td.col-yes .mark { background: rgba(28, 117, 188, 0.14); color: var(--azul-medio); }
.compare-table td.col-no .mark { background: rgba(179, 185, 193, 0.2); color: #939aa3; }

/* ---- Sección 4: Testimonios ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.testimonial-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease-soft);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0;
  font-style: italic;
}

.testimonial-quote::before { content: "\201C"; }
.testimonial-quote::after { content: "\201D"; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--ink-mute);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.testimonial-author-text { min-width: 0; }
.testimonial-author strong { color: var(--azul-oscuro); display: block; }

/* ---- Sección 5: Proceso ---- */
.process-steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 760px;
  display: grid;
  gap: 16px;
}

.process-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}

.process-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: -16px;
  width: 2px;
  background: linear-gradient(180deg, rgba(28, 117, 188, 0.35), rgba(28, 117, 188, 0.06));
}

.process-num {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cta-grad);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}

.process-body h3 {
  margin: 4px 0 4px;
  font-size: 1.02rem;
  color: var(--azul-oscuro);
}

.process-body p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* ---- Sección 6: FAQ (acordeón accesible, abierto por defecto sin JS) ---- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-item {
  padding: 4px 16px;
}

.faq-question { margin: 0; }

.faq-trigger {
  width: 100%;
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--azul-oscuro);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.faq-trigger .faq-toggle-icon {
  flex-shrink: 0;
  transition: transform .3s var(--ease-out);
  color: var(--azul-medio);
}

.faq-trigger[aria-expanded="true"] .faq-toggle-icon { transform: rotate(45deg); }

.faq-panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .4s var(--ease-soft);
}

.faq-item[data-collapsed="true"] .faq-panel { grid-template-rows: 0fr; }

.faq-panel-inner { overflow: hidden; }

.faq-panel p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ---- Sección 7: CTA final ---- */
.final-cta {
  text-align: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.final-cta h2 { margin-bottom: 8px; }

.final-cta .final-subtext {
  color: var(--ink-mute);
  max-width: 50ch;
  margin: 0 auto 26px;
}

.final-cta .lead-form-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.whatsapp-alt {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--ink-mute);
}

.whatsapp-alt a {
  color: var(--azul-medio);
  font-weight: 600;
  text-decoration: underline;
}

/* -------------------------------------------------------------
   8. Footer minimal
   ------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(135deg, var(--azul-oscuro) 0%, #1b2166 100%);
  color: #d9e2ea;
  padding: 18px 0;
  text-align: center;
  font-size: 0.85rem;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
}

.site-footer .footer-sep {
  margin: 0 8px;
  color: #7a80ad;
}

/* -------------------------------------------------------------
   9. Botón flotante de WhatsApp — SOLO en móvil
   ------------------------------------------------------------- */
.whatsapp-float {
  display: flex;
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  z-index: 100;
  text-decoration: none;
  isolation: isolate;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: #25D366;
  opacity: .55;
  animation: whatsappPulse 2.6s ease-out infinite;
}

@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.7); opacity: 0; }
}

.whatsapp-float svg { width: 30px; height: 30px; }

/* -------------------------------------------------------------
   10. Responsive — desktop
   ------------------------------------------------------------- */
@media (min-width: 900px) {
  .logo img { height: 42px; }

  .hero { padding: 18px 0 22px; }

  .hero .container {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
  }

  .hero-copy h1 { font-size: 2.1rem; margin-bottom: 10px; }
  .hero-copy .subtitle { font-size: 1.05rem; margin-bottom: 14px; }

  .ms-partner-badge { margin-bottom: 4px; }

  .trust-badges { margin-top: 12px; gap: 8px; }
  .trust-badge { padding: 8px 12px; font-size: 0.84rem; }

  .lead-form-card { padding: 18px 20px; }
  .lead-form-card h2 { font-size: 1.05rem; margin-bottom: 12px; }
  .lead-form .form-row { margin-bottom: 10px; }
  .lead-form textarea { min-height: 48px; }

  .btn-cta { padding: 12px 18px; }
  .form-subtext { margin-top: 6px; }

  h2.section-title { font-size: 1.9rem; }

  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }

  .process-steps { grid-template-columns: 1fr; }

  .final-cta .lead-form-card { padding: 24px; }
}

@media (min-width: 700px) and (max-width: 899px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

/* -------------------------------------------------------------
   11. Cursor custom — SOLO desktop con mouse fino (hover:hover)
   ------------------------------------------------------------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity .25s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }

@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  will-change: transform;
  border-radius: 50%;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px;
  background: var(--azul-oscuro);
  transition: background-color .3s var(--ease-out);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  margin: -17px;
  border: 1.5px solid rgba(28, 117, 188, 0.5);
  transition: width .35s var(--ease-out), height .35s var(--ease-out),
              margin .35s var(--ease-out), border-color .35s var(--ease-out),
              background-color .35s var(--ease-out);
}

.cursor.is-interactive .cursor-ring {
  width: 56px;
  height: 56px;
  margin: -28px;
  border-color: var(--azul-celeste);
  background: rgba(51, 160, 219, 0.10);
}
.cursor.is-interactive .cursor-dot { background: var(--azul-celeste); }

/* Oculta el cursor nativo salvo en campos de formulario, donde el
   cursor de texto/nativo sigue siendo necesario para usabilidad. */
@media (hover: hover) and (pointer: fine) {
  html.has-cursor,
  html.has-cursor a,
  html.has-cursor button,
  html.has-cursor .faq-trigger {
    cursor: none;
  }
  html.has-cursor input,
  html.has-cursor select,
  html.has-cursor textarea {
    cursor: auto;
  }
}

/* -------------------------------------------------------------
   12. Reduced motion — solo se gatean animaciones ambientales largas
   ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mesh { animation: none; }
  .whatsapp-float::before { animation: none; opacity: 0; }
}
