/* Soma Optic editorial widgets. Loaded by Elementor only when a widget is used. */
.wd-soma-contact-card,
.wd-soma-about-card {
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 22px 0;
  border-radius: 22px;
  font-family: inherit;
  text-align: right;
  direction: rtl;
}
.wd-soma-contact-card *,
.wd-soma-about-card * { box-sizing: border-box; }
.wd-soma-contact-card {
  --wd-soma-accent: #ff6b5a;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  overflow: hidden;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid rgba(255,255,255,.08);
  background-color: #081a2e;
  color: #fff;
  box-shadow: 0 13px 32px rgba(8,26,46,.10);
}
.wd-soma-contact-card:before {
  content: '';
  pointer-events: none;
  position: absolute;
  z-index: -1;
  top: -115px;
  right: -115px;
  width: 315px;
  height: 315px;
  background: radial-gradient(circle,rgba(255,255,255,.065),transparent 72%);
}
.wd-soma-contact-card__copy,
.wd-soma-contact-card__action { position: relative; min-width: 0; }
.wd-soma-contact-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 100px;
  color: #f9d5d2;
  background: rgba(255,255,255,.06);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
}
.wd-soma-contact-card__dot {
  display: block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--wd-soma-accent);
  box-shadow: 0 0 0 4px rgba(255,255,255,.08);
}
.wd-soma-contact-card__title {
  margin: 14px 0 9px;
  padding: 0;
  border: 0;
  color: #fff;
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 900;
  line-height: 1.65;
}
.wd-soma-contact-card__description {
  max-width: 440px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 400;
  line-height: 2.1;
}
.wd-soma-contact-card__action {
  padding: 17px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 17px;
  background: rgba(255,255,255,.09);
}
.wd-soma-contact-card__form :is(.wpcf7, .wpforms-container, .frm_forms, .gform_wrapper),
.wd-soma-contact-card__form form { margin: 0 !important; }
.wd-soma-contact-card__form form {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 9px;
}
.wd-soma-contact-card__form form > :is(p,div) { margin: 0; min-width: 0; }
.wd-soma-contact-card__form form > p:first-child,
.wd-soma-contact-card__form .wpcf7-form-control-wrap,
.wd-soma-contact-card__form .wpforms-field-container,
.wd-soma-contact-card__form .wpforms-field,
.wd-soma-contact-card__form .gform_body,
.wd-soma-contact-card__form .frm_form_fields,
.wd-soma-contact-card__form form > label {
  flex: 1 1 170px;
  min-width: 0;
}
.wd-soma-contact-card__form label { color: #fff; font-size: 12px; line-height: 1.9; }
.wd-soma-contact-card__form :is(input[type="tel"],input[type="text"],input[type="number"],input[type="email"]) {
  display: block;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 11px;
  outline: none;
  color: #16283b;
  background: #fff;
  box-shadow: none;
  font-family: inherit;
  font-size: 13px;
  direction: rtl;
  text-align: right;
}
/* Text entry controls must remain legible even when the theme changes global input colors. */
.wd-soma-contact-card__form :is(input[type="tel"],input[type="text"],input[type="number"],input[type="email"],textarea,select)::placeholder {
  color: #8593a2;
  opacity: 1;
}
.wd-soma-contact-card__form :is(textarea,select) {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 11px;
  color: #16283b;
  background: #fff;
  box-shadow: none;
  font-family: inherit;
  font-size: 13px;
}
.wd-soma-contact-card__form :is(textarea,select):focus { border-color: var(--wd-soma-accent); }
.wd-soma-contact-card__form :is(input[type="tel"],input[type="text"],input[type="number"],input[type="email"]):focus {
  border-color: var(--wd-soma-accent);
  box-shadow: 0 0 0 3px rgba(255,255,255,.18);
}
.wd-soma-contact-card__form :is(button[type="submit"],input[type="submit"],.wpcf7-submit,.wpforms-submit,.frm_button_submit,.gform_button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 46px;
  margin: 0 !important;
  padding: 10px 20px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: var(--wd-soma-accent);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  text-transform: none;
  box-shadow: none;
  cursor: pointer;
  transition: filter .18s ease, transform .18s ease;
}
.wd-soma-contact-card__form :is(button[type="submit"],input[type="submit"],.wpcf7-submit,.wpforms-submit,.frm_button_submit,.gform_button):hover { filter: brightness(.94); transform: translateY(-1px); }
.wd-soma-contact-card__form .wpcf7-spinner { margin: 8px 0 0; }
.wd-soma-contact-card__form :is(.wpcf7-response-output,.wpcf7-not-valid-tip,.wpforms-error,.frm_error,.gform_validation_errors) {
  color: #fff;
  font-size: 12px;
  line-height: 1.7;
}
.wd-soma-contact-card__form .wpcf7-response-output { width: 100%; margin: 8px 0 0 !important; padding: 8px !important; border-radius: 8px; }
.wd-soma-contact-card__note {
  margin: 10px 1px 0;
  color: rgba(255,255,255,.7);
  font-size: 11px;
  line-height: 1.9;
}
.wd-soma-contact-card__editor-hint {
  padding: 14px;
  border: 1px dashed rgba(255,255,255,.5);
  border-radius: 10px;
  color: #fff;
  font-size: 12px;
  line-height: 1.9;
}

.wd-soma-about-card {
  --wd-soma-accent: #ff6b5a;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(170px,33%);
  align-items: stretch;
  gap: clamp(20px, 3vw, 30px);
  overflow: hidden;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #e6ecf2;
  background: #f5f8fc;
  color: #24364a;
}
.wd-soma-about-card__content { min-width: 0; align-self: center; }
.wd-soma-about-card__eyebrow {
  display: inline-block;
  margin-bottom: 7px;
  color: #dc554a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.8;
}
.wd-soma-about-card__title {
  margin: 0 0 9px;
  padding: 0;
  border: 0;
  color: #081a2e;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 900;
  line-height: 1.6;
}
.wd-soma-about-card__description,
.wd-soma-about-card__description :is(p,div,span) {
  color: #566879;
  font-size: 13px;
  line-height: 2.1;
}
.wd-soma-about-card__description p { margin: 0 0 8px; }
.wd-soma-about-card__description p:last-child { margin-bottom: 0; }
.wd-soma-about-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  padding: 10px 16px;
  border: 1px solid var(--wd-soma-accent);
  border-radius: 10px;
  color: #081a2e;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
.wd-soma-about-card__link:hover { color: #081a2e; background: #fff9f8; transform: translateY(-2px); }
.wd-soma-about-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 8px;
  background-color: #ffeae7;
  color: #e3564d;
  transition: transform .18s ease, background-color .18s ease;
}
.wd-soma-about-card__arrow svg { width: 16px; height: 16px; display: block; }
.wd-soma-about-card__link:hover .wd-soma-about-card__arrow { transform: translateX(-3px); }
@media (prefers-reduced-motion: reduce) {
  .wd-soma-about-card__arrow { transition: none; }
  .wd-soma-about-card__link:hover .wd-soma-about-card__arrow { transform: none; }
}
.wd-soma-about-card__media {
  position: relative;
  min-height: 172px;
  overflow: hidden;
  align-self: stretch;
  border-radius: 15px;
  background: #e3ecf5;
}
.wd-soma-about-card__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 172px;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}
.wd-soma-about-card__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  height: 100%;
  min-height: 172px;
  overflow: hidden;
  background: linear-gradient(140deg,#e8f1f9 0%,#d2e4f2 100%);
  color: #081a2e;
}
.wd-soma-about-card__monogram { color: #a7c3d8; font-size: clamp(66px, 11vw, 110px); font-weight: 900; line-height: 1; }
.wd-soma-about-card__brand { font-size: 17px; font-weight: 900; letter-spacing: 4px; }
.wd-soma-about-card__brand small { display: block; margin-top: 2px; font-size: 9px; letter-spacing: 5px; text-align: center; }

@media (max-width: 767px) {
  .wd-soma-contact-card,
  .wd-soma-about-card { margin: 16px 0; border-radius: 17px; }
  .wd-soma-contact-card { grid-template-columns: minmax(0,1fr); gap: 18px; padding: 21px 17px; }
  .wd-soma-contact-card__action { padding: 12px; }
  .wd-soma-contact-card__form form { gap: 9px; }
  .wd-soma-contact-card__form form > p:first-child { flex: 1 1 100%; }
  .wd-soma-contact-card__form :is(button[type="submit"],input[type="submit"],.wpcf7-submit,.wpforms-submit,.frm_button_submit,.gform_button) { width: 100%; }
  .wd-soma-about-card { grid-template-columns: minmax(0,1fr); padding: 18px; gap: 17px; }
  .wd-soma-about-card__media { min-height: 160px; order: -1; }
  .wd-soma-about-card__image,
  .wd-soma-about-card__placeholder { min-height: 160px; max-height: 260px; }
}
