/**
 * Seband Insurance — Componentes UI específicos
 *
 * Complementa components.css del starter.
 * Añade estilos para:
 *   - Header actions (phone + CTA button)
 *   - Insurance service cards
 *   - Quote bar sticky
 *   - Bilingual badge
 *   - Trust bar / logos barra
 */

/* ══════════════════════════════════════
   Header Actions
══════════════════════════════════════ */
.sebandins-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sebandins-header-phone {
  font-size: 0.95rem;
  font-weight: var(--rvx-weight-semibold);
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--rvx-transition-fast);
}

.sebandins-header-phone:hover { color: var(--sebandins-red); }

.sebandins-header-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.25rem;
  background: var(--sebandins-lime);
  color: #000 !important;
  border-radius: var(--rvx-radius-xl);
  font-size: 0.875rem;
  font-weight: var(--rvx-weight-bold);
  text-decoration: none;
  transition: background var(--rvx-transition-fast), color var(--rvx-transition-fast);
  white-space: nowrap;
  text-transform: uppercase;
}

.sebandins-header-cta:hover { background: #000; color: var(--sebandins-lime) !important; }

/* ══════════════════════════════════════
   Footer Info
══════════════════════════════════════ */
.sebandins-footer-info { font-size: 0.9rem; line-height: 1.6; }
.sebandins-footer-info__name { display: block; font-weight: var(--rvx-weight-bold); margin-bottom: 0.3rem; }
.sebandins-footer-info p { margin: 0.25rem 0 0; }
.sebandins-footer-info__phone,
.sebandins-footer-info__email {
  display: inline-block;
  margin-top: 0.4rem;
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity var(--rvx-transition-fast);
}
.sebandins-footer-info__phone:hover,
.sebandins-footer-info__email:hover { opacity: 1; text-decoration: underline; }

/* ══════════════════════════════════════
   Insurance Service Cards Grid
══════════════════════════════════════ */
.sebandins-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: var(--rvx-space-6);
}

.sebandins-services-grid--cols-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.sebandins-services-grid--cols-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }

/* ══════════════════════════════════════
   Service Card — Seband override
══════════════════════════════════════ */
.rvx-service-card {
  padding: var(--rvx-space-8) var(--rvx-space-6);
  border: 1px solid var(--rvx-color-border);
  border-radius: var(--rvx-radius-lg);
  background: var(--rvx-color-white);
  text-align: center;
  transition: box-shadow var(--rvx-transition-normal), transform var(--rvx-transition-normal), border-color var(--rvx-transition-normal);
}

.rvx-service-card:hover {
  box-shadow: var(--rvx-shadow-md);
  transform: translateY(-3px);
  border-color: var(--sebandins-navy);
}

.rvx-service-card__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: var(--rvx-radius-full);
  background: color-mix(in srgb, var(--sebandins-navy) 10%, transparent);
  color: var(--sebandins-navy);
  margin: 0 auto var(--rvx-space-4);
  font-size: 1.6rem;
}

.rvx-service-card__title {
  font-size: var(--rvx-text-md);
  font-weight: var(--rvx-weight-bold);
  color: var(--sebandins-navy);
  margin: 0 0 var(--rvx-space-3);
}

.rvx-service-card__description {
  font-size: var(--rvx-text-sm);
  color: var(--rvx-text-secondary);
  line-height: var(--rvx-leading-relaxed);
  margin: 0 0 var(--rvx-space-4);
}

.rvx-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--rvx-text-sm);
  font-weight: var(--rvx-weight-semibold);
  color: var(--sebandins-red);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--rvx-transition-fast);
}

.rvx-service-card__link:hover { border-bottom-color: var(--sebandins-red); }

/* ══════════════════════════════════════
   Quote Bar (sticky de cotización)
══════════════════════════════════════ */
.sebandins-quote-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--rvx-z-fixed);
  background: var(--sebandins-navy);
  color: var(--sebandins-lime);
  padding: 0.75rem var(--rvx-space-4);
  display: none;
  box-shadow: 0 -4px 12px rgba(0,0,0,.25);
}

@media (max-width: 767px) {
  .sebandins-quote-bar { display: flex; }
}

.sebandins-quote-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  max-width: var(--rvx-wide-width);
  margin-inline: auto;
}

.sebandins-quote-bar__text {
  font-size: var(--rvx-text-sm);
  color: rgba(255,255,255,.85);
}

.sebandins-quote-bar__btn {
  padding: 0.5rem 1.5rem;
  background: var(--sebandins-lime);
  color: #000;
  border-radius: var(--rvx-radius-xl);
  font-size: var(--rvx-text-sm);
  font-weight: var(--rvx-weight-bold);
  text-decoration: none;
  white-space: nowrap;
  text-transform: uppercase;
  transition: background var(--rvx-transition-fast), color var(--rvx-transition-fast);
  flex-shrink: 0;
}

.sebandins-quote-bar__btn:hover { background: #000; color: var(--sebandins-lime); }

/* ══════════════════════════════════════
   CTA Button (global Seband style)
══════════════════════════════════════ */
.sebandins-quote-btn,
.sbi-cta-final__phone,
.wp-block-button.is-style-sebandins-cta .wp-block-button__link {
  background: var(--sebandins-lime);
  color: #000;
  border-radius: var(--rvx-radius-xl);
  padding: 0.65rem 1.75rem;
  font-weight: var(--rvx-weight-bold);
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  transition: background var(--rvx-transition-fast), color var(--rvx-transition-fast), transform var(--rvx-transition-fast);
  border: none;
}
.sebandins-quote-btn:hover,
.sbi-cta-final__phone:hover { background: #000; color: var(--sebandins-lime); transform: translateY(-1px); }

/* ══════════════════════════════════════
   Trust Bar / Carrier Logos
══════════════════════════════════════ */
.sebandins-trust-bar {
  padding-block: var(--rvx-space-6);
  background: var(--rvx-color-light);
  border-top: 1px solid var(--rvx-color-border);
  border-bottom: 1px solid var(--rvx-color-border);
  text-align: center;
}

.sebandins-trust-bar__label {
  font-size: var(--rvx-text-sm);
  font-weight: var(--rvx-weight-semibold);
  color: var(--rvx-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--rvx-space-4);
}

.sebandins-trust-bar__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--rvx-space-8);
}

.sebandins-trust-bar__logo {
  max-height: 40px;
  width: auto;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity var(--rvx-transition-normal), filter var(--rvx-transition-normal);
}

.sebandins-trust-bar__logo:hover { opacity: 1; filter: grayscale(0); }

/* ══════════════════════════════════════
   Bilingual Badge
══════════════════════════════════════ */
.sebandins-bilingual-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.75rem;
  background: color-mix(in srgb, var(--sebandins-navy) 10%, transparent);
  color: var(--sebandins-navy);
  border: 1px solid color-mix(in srgb, var(--sebandins-navy) 20%, transparent);
  border-radius: var(--rvx-radius-full);
  font-size: var(--rvx-text-xs);
  font-weight: var(--rvx-weight-semibold);
}

/* ══════════════════════════════════════
   Single Insurance Service Page
══════════════════════════════════════ */
.sebandins-service-single .entry-header {
  background: var(--sebandins-navy);
  color: #fff;
  padding: var(--rvx-space-16) var(--rvx-space-6);
}

.sebandins-service-single .entry-title {
  color: #fff;
  margin-bottom: var(--rvx-space-3);
}
