/* ============================================================
   Inmaculada Bella Vista — base visual de marca (brand.css)
   Traduce los tokens de design-system.css a estilos base y a
   utilidades reutilizables dentro de Elementor.
   Prefijo .ibv- para no colisionar con Elementor/Hello.
   ============================================================ */

/* ---- Base tipográfica ---- */
body,
.elementor-widget-text-editor,
.elementor-widget-theme-post-content {
  font-family: var(--font-sans);
  color: var(--c-ink-2);
  line-height: 1.7;
}

h1, h2, h3, h4, h5,
.elementor-heading-title {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--c-ink);
  line-height: 1.15;
}

/* Enlaces con color de marca (bronce) */
a {
  color: var(--c-brand-bronze);
  text-decoration: none;
  transition: color .18s ease;
}
a:hover {
  color: var(--c-secondary-600);
}

/* ---- Utilidades de marca (usar como clase CSS del widget en Elementor) ---- */

/* Overline / subtítulo en versalitas doradas */
.ibv-overline {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--c-brand-bronze);
}

/* Título display grande */
.ibv-display {
  font-family: var(--font-display) !important;
  font-weight: 500 !important;
  color: var(--c-ink) !important;
}

/* Fondos de sección */
.ibv-bg-cream   { background: var(--c-bg-cream) !important; }
.ibv-bg-sand    { background: var(--c-bg-sand) !important; }
.ibv-bg-surface { background: var(--c-surface) !important; }
.ibv-bg-dark    { background: var(--c-band-dark) !important; color: var(--c-surface) !important; }
.ibv-bg-dark .elementor-heading-title { color: var(--c-surface) !important; }

/* Botón dorado (para el widget Botón de Elementor, clase CSS = ibv-btn) */
.ibv-btn .elementor-button,
a.ibv-btn,
.ibv-btn {
  background: var(--c-brand-gold);
  color: var(--c-ink);
  border: none;
  border-radius: var(--r-pill);
  padding: 12px 32px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: background .18s ease, transform .18s ease;
}
.ibv-btn .elementor-button:hover,
a.ibv-btn:hover,
.ibv-btn:hover {
  background: var(--c-secondary-600);
  transform: translateY(-2px);
  color: var(--c-ink);
}

/* Botón sólido oscuro (CTA principal de formularios / bandas) */
.ibv-btn-dark .elementor-button,
a.ibv-btn-dark {
  background: var(--c-band-dark);
  color: var(--c-surface);
  border-radius: var(--r-sm);
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-weight: 600;
}
.ibv-btn-dark .elementor-button:hover,
a.ibv-btn-dark:hover {
  background: var(--c-band-brown-2);
  color: var(--c-surface);
}

/* Botón fantasma con borde dorado */
.ibv-btn-ghost .elementor-button,
a.ibv-btn-ghost {
  background: transparent;
  border: 1px solid var(--c-brand-gold);
  color: var(--c-brand-bronze);
  border-radius: var(--r-pill);
  padding: 11px 28px;
  font-weight: 600;
}
.ibv-btn-ghost .elementor-button:hover,
a.ibv-btn-ghost:hover {
  background: rgba(226, 207, 152, 0.12);
}

/* Tarjeta blanca de marca */
.ibv-card {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}

/* Etiqueta / chip dorado */
.ibv-tag {
  display: inline-block;
  background: var(--c-brand-gold);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-pill);
}

/* Regla / separador dorado fino */
.ibv-rule {
  border: none;
  border-top: 1px solid var(--c-border);
  margin: 30px 0;
}
