/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 24 2026 | 13:59:59 */
/* ==========================================================================
   BUFFALO IA · CSS GLOBAL
   Cargar una sola vez para toda la web (WPCode > snippet CSS > "Toda la web").
   Todo va acotado dentro de .bf-page, así no afecta al tema, al menú ni a las
   páginas que todavía no se han migrado.
   ========================================================================== */

/* ----- Tokens ------------------------------------------------------------
   Color de marca según manual: #00A084. La web usa #00C896. Decidir cuál queda
   y cambiarlo solo aquí.
   --bf-accent-strong es la versión oscura para texto y botones sobre fondo
   claro (contraste 5,3:1, cumple WCAG AA). */
:root {
  --bf-accent: #00C896;
  --bf-accent-light: #00E0A3;
  --bf-accent-rgb: 0, 200, 150;
  --bf-accent-strong: #007A65;
  --bf-ink: #0A0E0F;
  --bf-text: #343A40;
  --bf-text-muted: #5C636A;
  --bf-surface: #F8F9FA;
  --bf-error: #B42318;
  --bf-radius: 12px;
  /* Tipografía: el manual de marca indica Poppins. Para cambiarla, sustituir
     aquí y cargar la fuente (mejor en local desde Elementor > Fuentes). */
  --bf-font-display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bf-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ----- Base -------------------------------------------------------------- */
.bf-page {
  --bf-focus: var(--bf-accent-strong);
  font-family: var(--bf-font-body);
  color: var(--bf-text);
  line-height: 1.6;
}
.bf-page *, .bf-page *::before, .bf-page *::after { box-sizing: border-box; }
.bf-page [id] { scroll-margin-top: 90px; }
.bf-page img, .bf-page svg { max-width: 100%; }
.bf-page ol, .bf-page ul { margin: 0; }
html:has(.bf-page) { scroll-behavior: smooth; }

/* Secciones oscuras: cambia el color de foco */
.bf-page .hero, .bf-page .guarantees, .bf-page .try-agents-section,
.bf-page .cta-final, .bf-page .bf-dialog { --bf-focus: var(--bf-accent-light); }

/* ----- Estilos heredados de la web actual (limpios y acotados) ------------ */
.bf-page h1,
.bf-page h2,
.bf-page h3,
.bf-page h4,
.bf-page h5,
.bf-page h6 {
  font-family: var(--bf-font-display);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.bf-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.bf-page h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.bf-page h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.bf-page h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
}

.bf-page h4 {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
}

.bf-page p {
  margin-bottom: 1rem;
  color: var(--bf-text-muted);
}

.bf-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  min-height: 48px;
}

.bf-page .btn-primary {
  background-color: var(--bf-accent);
  color: #FFFFFF;
  border-color: var(--bf-accent);
}

.bf-page .btn-primary:hover {
  background: linear-gradient(135deg, var(--bf-accent), var(--bf-accent-light));
  border-color: var(--bf-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.bf-page .btn-hero {
  background: linear-gradient(135deg, var(--bf-accent), var(--bf-accent-light));
  color: #FFFFFF;
  padding: 16px 32px;
  font-size: 1.1rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(var(--bf-accent-rgb), 0.3);
  transition: all 0.3s ease;
}

.bf-page .btn-hero:hover {
  background: linear-gradient(135deg, var(--bf-accent-light), var(--bf-accent));
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(var(--bf-accent-rgb), 0.4);
}

.bf-page .btn-outline {
  background-color: transparent;
  color: var(--bf-accent);
  border-color: var(--bf-accent);
}

.bf-page .btn-outline:hover {
  background: linear-gradient(135deg, var(--bf-accent), var(--bf-accent-light));
  color: #FFFFFF;
  border-color: var(--bf-accent-light);
  transform: translateY(-2px);
}

.bf-page .section-eyebrow {
  position: relative;
  overflow: hidden;
  font-family: var(--bf-font-display);
}

.bf-page .btn {
  font-family: var(--bf-font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.bf-page .section {
  padding: 5rem 0;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.bf-page .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.bf-page .section-header h2 {
  color: #0A0E0F;
  margin-bottom: 1rem;
}

.bf-page .section-header h2 .highlight {
  color: var(--bf-accent);
}

.bf-page .section-header p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--bf-text-muted);
}

.bf-page .section-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(var(--bf-accent-rgb),0.1);
  border: 1px solid rgba(var(--bf-accent-rgb),0.25);
  border-radius: 100px;
  color: var(--bf-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

@media (max-width: 480px) {
.bf-page .container {
  padding: 0 15px;
}
}

@keyframes fadeInUp {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }

@keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

.bf-page .fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.bf-page .fade-in {
  animation: fadeIn 0.6s ease-out;
}

.bf-page .try-agents-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0A0E0F 0%, #1a1a1a 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.bf-page .try-agents-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(var(--bf-accent-rgb), 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(var(--bf-accent-rgb), 0.05) 0%, transparent 50%);
}

.bf-page .try-agents-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.bf-page .try-agents-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.bf-page .try-agents-header h2 .highlight {
  color: var(--bf-accent);
}

.bf-page .try-agents-header p {
  font-size: 1.2rem;
  color: #DEE2E6;
  max-width: 600px;
  margin: 0 auto;
}

.bf-page .try-agents-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.bf-page .try-agents-text {
  color: #FFFFFF;
}

.bf-page .try-agents-text h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.bf-page .try-agents-text p {
  font-size: 1.1rem;
  color: #DEE2E6;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.bf-page .try-agents-features {
  list-style: none;
  margin-bottom: 2rem;
  padding: 0;
}

.bf-page .try-agents-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #DEE2E6;
  font-size: 1rem;
}

.bf-page .try-agents-features li::before {
  content: "✓";
  color: var(--bf-accent);
  font-weight: bold;
  font-size: 1.2rem;
}

.bf-page .try-agents-form-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(var(--bf-accent-rgb), 0.2);
}

.bf-page .try-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.bf-page .try-form-group {
  margin-bottom: 1rem;
}

.bf-page .try-form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #DEE2E6;
  font-weight: 500;
  font-size: 0.95rem;
}

.bf-page .try-form-group input,
.bf-page .try-form-group select {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #FFFFFF;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.bf-page .try-form-group input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.bf-page .try-form-group input:focus,
.bf-page .try-form-group select:focus {
  outline: none;
  border-color: var(--bf-accent);
  box-shadow: 0 0 0 3px rgba(var(--bf-accent-rgb), 0.2);
  background: rgba(255, 255, 255, 0.15);
}

.bf-page .try-form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2300C896' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  cursor: pointer;
}

.bf-page .try-form-group select option {
  background-color: #1a1a1a !important;
  color: #FFFFFF !important;
  padding: 1rem !important;
}

.bf-page .try-phone-input-group {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  overflow: hidden;
}

.bf-page .try-phone-prefix {
  background: rgba(255, 255, 255, 0.15);
  color: #DEE2E6;
  padding: 1rem 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 60px;
  text-align: center;
}

.bf-page .try-phone-input-group input {
  border: none;
  background: transparent;
  flex: 1;
  padding: 1rem;
  color: #FFFFFF;
  font-size: 1rem;
  outline: none;
}

.bf-page .try-phone-input-group:focus-within {
  border-color: var(--bf-accent);
  box-shadow: 0 0 0 3px rgba(var(--bf-accent-rgb), 0.2);
}

.bf-page .try-form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--bf-accent), var(--bf-accent-light));
  color: #0A0E0F;
  padding: 1.25rem 2rem;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  margin-top: 1rem;
  box-shadow: 0 8px 25px rgba(var(--bf-accent-rgb), 0.3);
}

.bf-page .try-form-submit:hover {
  background: linear-gradient(135deg, var(--bf-accent-light), var(--bf-accent));
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(var(--bf-accent-rgb), 0.4);
}

@media (max-width: 768px) {
.bf-page .try-agents-container {
  grid-template-columns: 1fr;
  gap: 2rem;
}
.bf-page .try-form-row {
  grid-template-columns: 1fr;
}
.bf-page .try-agents-form-container {
  padding: 1.5rem;
}
}

/* ----- Contraste de botones y acentos (WCAG AA) ---------------------------- */
.bf-page .btn-hero, .bf-page .btn-primary, .bf-page .try-form-submit { color: var(--bf-ink); }
.bf-page .btn-hero:hover, .bf-page .btn-primary:hover { color: var(--bf-ink); }
.bf-page .btn-outline { color: var(--bf-accent-strong); border-color: var(--bf-accent-strong); }
.bf-page .btn-outline:hover { background: var(--bf-accent-strong); color: #FFFFFF; border-color: var(--bf-accent-strong); }
.bf-page .hero .btn-outline, .bf-page .cta-final .btn-outline, .bf-page .guarantees .btn-outline {
  color: #FFFFFF; border-color: rgba(255,255,255,.6);
}
.bf-page .hero .btn-outline:hover, .bf-page .cta-final .btn-outline:hover, .bf-page .guarantees .btn-outline:hover {
  background: var(--bf-accent); border-color: var(--bf-accent); color: var(--bf-ink);
}
.bf-page .section-eyebrow { color: var(--bf-accent-strong); position: static; overflow: visible; }
.bf-page .guarantees .section-eyebrow, .bf-page .hero .section-eyebrow { color: var(--bf-accent-light); }
.bf-page .section-header h2 .highlight { color: var(--bf-accent-strong); }

/* ----- Foco visible --------------------------------------------------------- */
.bf-page a:focus-visible, .bf-page button:focus-visible, .bf-page summary:focus-visible,
.bf-page input:focus-visible, .bf-page select:focus-visible, .bf-page textarea:focus-visible {
  outline: 3px solid var(--bf-focus);
  outline-offset: 3px;
}

/* ----- FAQ (details/summary, accesible sin JavaScript) ---------------------- */
.bf-page .bf-faqs { padding: 6rem 0; background: var(--bf-surface); }
.bf-page .bf-faq-list { max-width: 800px; margin: 0 auto; }
.bf-page .bf-faq-item {
  background: #FFFFFF; border: 1px solid #E9ECEF; border-radius: var(--bf-radius);
  margin-bottom: 1rem; overflow: hidden;
}
.bf-page .bf-faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem; cursor: pointer; list-style: none;
}
.bf-page .bf-faq-item summary::-webkit-details-marker { display: none; }
.bf-page .bf-faq-item summary h3 { font-size: 1.1rem; margin: 0; color: var(--bf-ink); line-height: 1.4; }
.bf-page .bf-faq-icon { flex: 0 0 20px; height: 20px; position: relative; }
.bf-page .bf-faq-icon::before, .bf-page .bf-faq-icon::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px;
  background: var(--bf-accent-strong); transform: translate(-50%, -50%); transition: transform .2s ease;
}
.bf-page .bf-faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.bf-page .bf-faq-item[open] .bf-faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.bf-page .bf-faq-answer { padding: 0 1.5rem 1.25rem; }
.bf-page .bf-faq-answer p { margin: 0; color: var(--bf-text-muted); }

/* ----- Formulario: estados, consentimiento y antispam ----------------------- */
.bf-page .bf-hint { display: block; margin-top: .4rem; font-size: .85rem; color: rgba(255,255,255,.7); }
.bf-page .bf-field-error { display: block; margin-top: .4rem; font-size: .9rem; color: #FFB4AB; }
.bf-page [aria-invalid="true"], .bf-page .try-phone-input-group:has([aria-invalid="true"]) {
  border-color: #FFB4AB !important; box-shadow: 0 0 0 3px rgba(255,180,171,.3) !important;
}
.bf-page .try-phone-input-group [aria-invalid="true"] { box-shadow: none !important; }
.bf-page .bf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.bf-page .bf-consent { display: flex; gap: .75rem; align-items: flex-start; margin: 1.25rem 0 .5rem; }
.bf-page .bf-consent input { width: 20px; height: 20px; margin-top: 3px; flex: 0 0 20px; accent-color: var(--bf-accent); }
.bf-page .bf-consent label { color: #DEE2E6; font-size: .92rem; line-height: 1.5; }
.bf-page .bf-consent a, .bf-page .bf-form-status a { color: var(--bf-accent-light); text-decoration: underline; }
.bf-page .bf-legal { font-size: .78rem; line-height: 1.5; color: rgba(255,255,255,.6); margin: .5rem 0 0; }
.bf-page .bf-form-status {
  margin: 1rem 0 0; padding: .9rem 1rem; border-radius: 10px;
  background: rgba(255,180,171,.12); border: 1px solid rgba(255,180,171,.4); color: #FFFFFF;
}
.bf-page .try-form-submit[disabled] { opacity: .7; cursor: progress; }

/* ----- Diálogo de confirmación (<dialog> nativo) ---------------------------- */
.bf-page .bf-dialog {
  border: 2px solid var(--bf-accent); border-radius: 16px; padding: 0;
  background: var(--bf-ink); color: #FFFFFF; max-width: 480px; width: calc(100% - 2rem);
}
.bf-page .bf-dialog::backdrop { background: rgba(0,0,0,.75); }
.bf-page .bf-dialog-body { padding: 2.5rem 2rem; text-align: center; }
.bf-page .bf-dialog-title { color: #FFFFFF; font-size: 1.6rem; margin-bottom: 1rem; }
.bf-page .bf-dialog p { color: #DEE2E6; margin-bottom: 1.75rem; }

/* ----- Utilidades ------------------------------------------------------------ */
.bf-page .bf-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ----- Movimiento reducido ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html:has(.bf-page) { scroll-behavior: auto; }
  .bf-page *, .bf-page *::before, .bf-page *::after {
    animation: none !important; transition: none !important;
  }
}