.elementor-15442 .elementor-element.elementor-element-17f758f{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-2161be0 *//* ============================================================
   TUSEGUROS.ES — CSS PÁGINA DE CONTACTO
   Pegar en: editar página → Configuración avanzada → CSS personalizado
   Depende de: 01-global-css-primario.css (variables, .ts-*)
   Prefijo de clases: ts-contact-* / ts-form-* / ts-map-*
   ============================================================ */

/* ---------- Layout principal ---------- */
.ts-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

/* ---------- Columna de datos ---------- */
.ts-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.ts-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ts-contact-row__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: var(--ts-r-md);
  background: var(--ts-primary-soft);
  color: var(--ts-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ts-contact-row__icon svg { width: 22px; height: 22px; }

.ts-contact-row__label {
  display: block;
  font-family: var(--ts-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ts-muted);
  margin-bottom: 2px;
}

.ts-contact-row__value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ts-ink);
  line-height: 1.4;
}
a.ts-contact-row__value { color: var(--ts-ink); transition: color .2s var(--ts-ease); }
a.ts-contact-row__value:hover { color: var(--ts-primary-dark); }

/* ---------- Tarjeta del formulario ---------- */
.ts-form-shell {
  background: var(--ts-bg);
  border: 1px solid var(--ts-line);
  border-radius: var(--ts-r-xl);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--ts-shadow-lg);
}

.ts-form-shell__sub {
  margin-top: -0.25rem;
  margin-bottom: 1.75rem;
  color: var(--ts-ink-soft);
}

/* Placeholder visual (se elimina al colocar el shortcode real) */
.ts-form-placeholder {
  border: 2px dashed var(--ts-line);
  border-radius: var(--ts-r-md);
  padding: 48px 24px;
  text-align: center;
  color: var(--ts-muted);
  font-family: var(--ts-font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.ts-form-placeholder small {
  display: block;
  margin-top: 10px;
  font-weight: 500;
  letter-spacing: 0;
  font-family: var(--ts-font-sans);
}

/* ---------- Estilizado de los campos del Form de Elementor ----------
   Cuando coloques el formulario dentro de .ts-form-shell, estas reglas
   le dan coherencia con el sistema de diseño. */
/* ---------- Estilizado del Contact Form 7 dentro de .ts-form-shell ---------- */

/* Dos columnas para pares de campos */
.ts-form-shell .ts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .ts-form-shell .ts-row { grid-template-columns: 1fr; gap: 0; }
}

/* Espaciado compacto entre campos */
.ts-form-shell .ts-field { margin-bottom: 14px; }

/* Labels */
.ts-form-shell .ts-field label {
  display: block;
  text-align: left;
  font-family: var(--ts-font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--ts-ink);
  margin-bottom: 5px;
}

/* Campos de texto, email, tel, select, textarea */
.ts-form-shell input[type="text"],
.ts-form-shell input[type="email"],
.ts-form-shell input[type="tel"],
.ts-form-shell select,
.ts-form-shell textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--ts-line);
  border-radius: var(--ts-r-sm);
  padding: 11px 14px;
  min-height: 46px;
  font-family: var(--ts-font-sans);
  font-size: 16px;
  color: var(--ts-ink);
  background: var(--ts-bg-soft);
  transition: border-color .2s var(--ts-ease), box-shadow .2s var(--ts-ease);
}
.ts-form-shell input:focus,
.ts-form-shell select:focus,
.ts-form-shell textarea:focus {
  border-color: var(--ts-primary);
  box-shadow: 0 0 0 3px var(--ts-primary-soft);
  background: var(--ts-bg);
  outline: none;
}
.ts-form-shell input::placeholder,
.ts-form-shell textarea::placeholder { color: var(--ts-muted); }

.ts-form-shell textarea {
  min-height: 90px;
  line-height: 1.6;
  resize: vertical;
}

/* Select con flecha personalizada */
.ts-form-shell select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A95A3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}

/* Consentimiento RGPD */
.ts-form-shell .ts-acceptance {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ts-ink-soft);
}
.ts-form-shell .ts-acceptance .wpcf7-list-item { margin: 0; }
.ts-form-shell .ts-acceptance input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--ts-primary);
  margin-top: 2px;
}
.ts-form-shell .ts-acceptance a {
  color: var(--ts-primary-dark);
  text-decoration: underline;
}

/* Botón de envío — apunta al input submit de CF7 */
.ts-form-shell input[type="submit"] {
  background: var(--ts-primary);
  color: #fff;
  border: 2px solid var(--ts-primary);
  border-radius: var(--ts-r-pill);
  font-family: var(--ts-font-display);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 30px;
  min-height: 50px;
  cursor: pointer;
  margin-top: 8px;
  transition: all .25s var(--ts-ease);
  box-shadow: var(--ts-shadow-sm);
}
.ts-form-shell input[type="submit"]:hover {
  background: var(--ts-primary-dark);
  border-color: var(--ts-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--ts-shadow-md);
}

/* Mensajes de validación CF7 */
.ts-form-shell .wpcf7-response-output {
  border-radius: var(--ts-r-sm);
  font-family: var(--ts-font-sans);
  font-size: 15px;
  margin: 16px 0 0;
}
.ts-form-shell .wpcf7-not-valid-tip {
  color: var(--ts-danger);
  font-size: 13px;
  margin-top: 6px;
}

/* ---------- Mapa ---------- */
.ts-contact-map-section {
  position: relative;
  isolation: isolate;
}

.ts-map-iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
  filter: grayscale(0.2) contrast(1.05);
}

.ts-map-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.ts-map-overlay .ts-container { width: 100%; }

.ts-map-card {
  pointer-events: auto;
  background: var(--ts-bg);
  border-radius: var(--ts-r-lg);
  box-shadow: var(--ts-shadow-lg);
  padding: 28px 32px;
  max-width: 380px;
}
.ts-map-card h3 { margin: 14px 0 6px; }
.ts-map-card p { margin-bottom: 18px; font-size: 0.95rem; }



/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .ts-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .ts-map-overlay { position: static; padding-top: 0; }
  .ts-map-card { max-width: none; margin: -40px 16px 0; position: relative; }
  .ts-map-iframe { height: 320px; }
}

/* ---------- Accesibilidad ---------- */
@media (prefers-reduced-motion: reduce) {
  .ts-animate { animation: none; }
  .ts-btn:hover,
  .ts-form-shell button[type="submit"]:hover { transform: none; }
}/* End custom CSS */