/*
 * CotizadorFJ frontend styles.
 * Separated from PHP for maintainability.
 */
.cotizadorfj-form { max-width: 880px; margin: 40px auto; font-family: 'Poppins', sans-serif !important; }
.cotizadorfj-form * { font-family: 'Poppins', sans-serif !important; }
.cotizadorfj-step { display: flex; justify-content: center; }
.cotizadorfj-hero { width: min(980px, 96vw); background: #fff; border-radius: 18px; box-shadow: 0 10px 28px rgba(0,0,0,0.12); overflow: hidden; }
.cotizadorfj-hero-top { display: flex; justify-content: space-between; align-items: center; background: #d81f26; color: #fff; padding: 16px 22px; font-weight: 700; letter-spacing: 1px; }
.cotizadorfj-brand img { height: 28px; width: auto; display: block; }
.cotizadorfj-brand-right img { height: 22px; width: auto; display: block; }
.cotizadorfj-header { width: min(980px, 96vw); border-radius: 18px 18px 0 0; margin-bottom: 18px; }
.cotizadorfj-hero-body { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; }
.cotizadorfj-hero-copy { padding: 26px 28px 30px; }
.cotizadorfj-hero-title { font-size: 30px; line-height: 1.1; color: #1f2a2f; font-weight: 700; }
.cotizadorfj-hero-accent { color: #20d1c6; }
.cotizadorfj-hero-accent-2 { color: #6a2df1; }
.cotizadorfj-hero-text { margin: 14px 0 18px; color: #4a4a4a; font-size: 15px; }
.cotizadorfj-hero-logos { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; align-items: center; }
.cotizadorfj-hero-logos img { height: 26px; width: auto; display: block; }
.cotizadorfj-hero-media { min-height: 260px; background: linear-gradient(135deg, #ffffff 0%, #ffffff 45%, #f0f0f0 45%, #f0f0f0 100%); display: flex; align-items: stretch; position: relative; overflow: hidden; }
.cotizadorfj-hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cotizadorfj-hero-media::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 55%; background: #ffffff; clip-path: polygon(0 0, 100% 0, 0 100%); opacity: 0.98; }
.cotizadorfj-card { width: min(980px, 96vw); background: #fff; border-radius: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); padding: 28px 28px 24px; text-align: center; }
.cotizadorfj-card-wide { width: min(980px, 96vw); }
.cotizadorfj-card-title { display: inline-flex; align-items: center; justify-content: center; gap: 12px; margin: 0 auto 18px; color: #2b2b2b; }
.cotizadorfj-icon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; color: #2d5bd1; }
.cotizadorfj-icon img { width: 36px; height: 36px; display: block; }
.cotizadorfj-title-text { text-align: center; line-height: 1.05; }
.cotizadorfj-title-strong { font-size: 24px; font-weight: 700; color: #7b2cf1; }
.cotizadorfj-title-light { font-size: 20px; font-weight: 600; color: #2d5bd1; }
.cotizadorfj-input-wrap { display: block; }
.cotizadorfj-input { width: min(360px, 90%); height: 40px; border-radius: 999px; border: 1px solid #e4e4e4; background: #efefef; padding: 0 16px; text-align: center; font-size: 15px; outline: none; }
.cotizadorfj-input:focus { border-color: #7b2cf1; box-shadow: 0 0 0 3px rgba(123,44,241,0.15); background: #f7f4ff; }
.cotizadorfj-grid { margin: 6px auto 0; width: min(640px, 92%); display: grid; grid-template-columns: 1fr 1.2fr; gap: 5px 12px; align-items: center; text-align: left; }
.cotizadorfj-grid.cotizadorfj-grid-vertical { grid-template-columns: 1fr; width: min(520px, 92%); row-gap: 5px; }
.cotizadorfj-grid-3 { grid-template-columns: repeat(3, 1fr); width: min(720px, 96%); column-gap: 5px; }
.cotizadorfj-grid-2 { grid-template-columns: repeat(2, 1fr); width: min(720px, 96%); margin-top: 14px; column-gap: 5px; }
.cotizadorfj-grid-1 { grid-template-columns: 1fr; width: min(460px, 80%); margin-top: 18px; text-align: center; }
.cotizadorfj-field { display: contents; }
.cotizadorfj-field span { font-size: 16px; color: #3c3f63; }
.cotizadorfj-grid .cotizadorfj-input { width: 100%; text-align: left; }
.cotizadorfj-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M2 2l6 6 6-6' fill='none' stroke='%23909090' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px 10px; padding-right: 40px; }
.cotizadorfj-actions-split { justify-content: space-between; padding: 0 6px; }
.cotizadorfj-actions-inline { justify-content: center; gap: 12px; }
.cotizadorfj-actions-inline-large { gap: 16px; }
.cotizadorfj-card-header { display: flex; align-items: center; justify-content: space-between; }
.cotizadorfj-card-step3 .cotizadorfj-card-title { margin-bottom: 6px; }
.cotizadorfj-vehicle-icon { width: 36px; height: 24px; display: inline-flex; align-items: center; justify-content: center; margin-left: 6px; }
.cotizadorfj-vehicle-icon img { width: 36px; height: 24px; display: block; }
.cotizadorfj-vehicle-auto,
.cotizadorfj-vehicle-moto { display: none; }
.cotizadorfj-card-step3.cotizadorfj-variant-auto .cotizadorfj-vehicle-auto { display: inline-flex; }
.cotizadorfj-card-step3.cotizadorfj-variant-moto .cotizadorfj-vehicle-moto { display: inline-flex; }
.cotizadorfj-home { width: 28px; height: 28px; border-radius: 999px; background: #0e1a7a; display: inline-flex; align-items: center; justify-content: center; }
.cotizadorfj-home img { width: 16px; height: 16px; display: block; filter: brightness(0) invert(1); }
.cotizadorfj-help { font-size: 12px; color: #40406a; margin-top: 6px; }
.cotizadorfj-cta-wide { width: min(320px, 90%); height: 38px; border-radius: 10px; background: #23D4C7; color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); }
.cotizadorfj-cta-outline { width: 52px; height: 30px; background: #7b2cf1; color: #fff; border: 0; }
.cotizadorfj-actions { margin-top: 18px; display: flex; justify-content: center; }
.cotizadorfj-cta { width: 52px; height: 30px; border-radius: 999px; border: 0; background: #7b2cf1; color: #fff; font-size: 18px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 12px rgba(123,44,241,0.25); }
.cotizadorfj-cta.cotizadorfj-cta-wide { width: min(320px, 90%); height: 38px; font-size: 16px; }
.cotizadorfj-cta:hover { background: #6a1fe6; }
.cotizadorfj-cta-arrow { line-height: 1; }
.cotizadorfj-form label { display:block; margin: 5px 0; }
.cotizadorfj-actions { margin-top: 12px; }
.cotizadorfj-message { padding: 10px 12px; margin-bottom: 12px; border-radius: 4px; }
.cotizadorfj-success { background: #e7f7ee; border: 1px solid #bde5c9; }
.cotizadorfj-error { background: #fdecea; border: 1px solid #f5c6cb; }
.cotizadorfj-variant { display: none; }
.cotizadorfj-variant.active { display: block; }
@media (max-width: 600px) {
  .cotizadorfj-hero-body { grid-template-columns: 1fr; }
  .cotizadorfj-hero-media { min-height: 180px; }
  .cotizadorfj-card { padding: 22px 18px; }
  .cotizadorfj-title-strong { font-size: 22px; }
  .cotizadorfj-title-light { font-size: 18px; }
  .cotizadorfj-grid { grid-template-columns: 1fr; }
  .cotizadorfj-grid-3 { grid-template-columns: 1fr; }
  .cotizadorfj-grid-2 { grid-template-columns: 1fr; }
  .cotizadorfj-grid-1 { width: min(460px, 92%); }
  .cotizadorfj-field { display: block; }
  .cotizadorfj-field span { display: block; margin-bottom: 6px; }
  .cotizadorfj-actions-split { justify-content: center; gap: 12px; }
}

/* Specificity boost + critical overrides to avoid theme collisions */
.cotizadorfj-form .cotizadorfj-card { background: #fff !important; }
.cotizadorfj-form .cotizadorfj-input { background: #efefef !important; border-radius: 999px !important; }
.cotizadorfj-form .cotizadorfj-cta { display: inline-flex !important; align-items: center !important; justify-content: center !important; }
.cotizadorfj-form .cotizadorfj-cta-wide { background: #23D4C7 !important; color: #fff !important; }
