/* Prafer Contacto — estilos compatibles con Elementor Full Width */
body.elementor-page-1985,
body.prafer-page-contacto {
  --pc-ink: #021523;
  --pc-navy: #041e42;
  --pc-accent: #ffbd27;
  --pc-muted: #5b6b7c;
  --pc-surface: #f3f6f9;
  --pc-card: #ffffff;
  --pc-radius: 12px;
  --pc-shadow: 0 8px 28px rgba(4, 30, 66, 0.06);
}

/* Hero navy + acento */
body.elementor-page-1985 .prafer-contacto-hero.elementor-section,
body.prafer-page-contacto .prafer-contacto-hero.elementor-section,
body.elementor-page-1985 .elementor-top-section:first-child,
body.prafer-page-contacto .elementor-top-section:first-child {
  background:
    radial-gradient(1100px 420px at 50% -20%, rgba(255, 189, 39, 0.22), transparent 60%),
    linear-gradient(135deg, #03162f 0%, #041e42 50%, #0a335f 100%) !important;
  min-height: 280px;
}

body.elementor-page-1985 .prafer-contacto-hero .elementor-heading-title,
body.prafer-page-contacto .prafer-contacto-hero .elementor-heading-title,
body.elementor-page-1985 .elementor-top-section:first-child .elementor-heading-title,
body.prafer-page-contacto .elementor-top-section:first-child .elementor-heading-title {
  color: #ffffff !important;
}

body.elementor-page-1985 .prafer-contacto-hero .elementor-widget-heading:first-child .elementor-heading-title,
body.prafer-page-contacto .prafer-contacto-hero .elementor-widget-heading:first-child .elementor-heading-title,
body.elementor-page-1985 .elementor-top-section:first-child .elementor-widget-heading:first-of-type .elementor-heading-title,
body.prafer-page-contacto .elementor-top-section:first-child .elementor-widget-heading:first-of-type .elementor-heading-title {
  color: var(--pc-accent) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

body.elementor-page-1985 .prafer-contacto-hero .elementor-widget-text-editor,
body.prafer-page-contacto .prafer-contacto-hero .elementor-widget-text-editor,
body.elementor-page-1985 .elementor-top-section:first-child .elementor-widget-text-editor,
body.prafer-page-contacto .elementor-top-section:first-child .elementor-widget-text-editor {
  color: rgba(255, 255, 255, 0.9) !important;
}

body.elementor-page-1985 .prafer-contacto-hero .elementor-widget-text-editor p,
body.prafer-page-contacto .prafer-contacto-hero .elementor-widget-text-editor p,
body.elementor-page-1985 .elementor-top-section:first-child .elementor-widget-text-editor p,
body.prafer-page-contacto .elementor-top-section:first-child .elementor-widget-text-editor p {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Bloque principal */
body.elementor-page-1985 .prafer-contacto-main.elementor-section,
body.prafer-page-contacto .prafer-contacto-main.elementor-section,
body.elementor-page-1985 .elementor-top-section:nth-child(2),
body.prafer-page-contacto .elementor-top-section:nth-child(2) {
  background: var(--pc-surface) !important;
}

/* Columna formulario */
body.elementor-page-1985 .prafer-contacto-form-col,
body.prafer-page-contacto .prafer-contacto-form-col {
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: var(--pc-shadow) !important;
}

body.elementor-page-1985 .elementor-field-textual,
body.prafer-page-contacto .elementor-field-textual,
body.elementor-page-1985 .elementor-field-group input,
body.elementor-page-1985 .elementor-field-group select,
body.elementor-page-1985 .elementor-field-group textarea,
body.prafer-page-contacto .elementor-field-group input,
body.prafer-page-contacto .elementor-field-group select,
body.prafer-page-contacto .elementor-field-group textarea {
  border-radius: 12px !important;
  border: 1px solid #d9e0e8 !important;
  min-height: 48px !important;
}

body.elementor-page-1985 .elementor-field-group textarea,
body.prafer-page-contacto .elementor-field-group textarea {
  min-height: 120px !important;
}

body.elementor-page-1985 .elementor-button[type="submit"],
body.prafer-page-contacto .elementor-button[type="submit"],
body.elementor-page-1985 .elementor-field-type-submit .elementor-button,
body.prafer-page-contacto .elementor-field-type-submit .elementor-button {
  width: 100% !important;
  min-height: 48px !important;
  border-radius: 12px !important;
  background: var(--pc-accent) !important;
  color: var(--pc-navy) !important;
  font-weight: 700 !important;
  border: none !important;
}

/* Cards HTML */
.prafer-contacto__card {
  background: var(--pc-card, #fff);
  border-radius: var(--pc-radius, 12px);
  box-shadow: var(--pc-shadow, 0 8px 28px rgba(4, 30, 66, 0.06));
  padding: 1.25rem 1.2rem 1.35rem;
  margin-bottom: 1rem;
  border: 1px solid #eef2f6;
}

.prafer-contacto__card-title {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  color: var(--pc-navy, #041e42);
}

.prafer-contacto__card-text,
.prafer-contacto__card-meta {
  margin: 0 0 0.55rem;
  color: var(--pc-muted, #5b6b7c);
  line-height: 1.5;
  font-size: 0.95rem;
}

.prafer-contacto__card-meta { font-size: 0.88rem; }

.prafer-contacto__card-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 600;
  color: var(--pc-navy, #041e42);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prafer-contacto__card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 0.45rem;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: var(--pc-navy, #041e42);
  color: #fff !important;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  word-break: break-word;
}

.prafer-contacto__card-cta--ghost {
  background: #fff;
  color: var(--pc-navy, #041e42) !important;
  border: 1px solid #d5dde7;
}

.prafer-contacto__map-frame iframe {
  width: 100%;
  height: min(52vh, 420px);
  min-height: 280px;
  border: 0;
  display: block;
}

@media (max-width: 1024px) {
  body.elementor-page-1985 .prafer-contacto-main .elementor-container,
  body.prafer-page-contacto .prafer-contacto-main .elementor-container {
    flex-wrap: wrap !important;
  }
}
