.ligeis-contact-form,
.ligeis-contact-info,
.ligeis-contact-quick-cards {
  width: 100%;
  color: var(--wp--preset--color--text-primary, #1d1d1b);
}

.ligeis-contact-page__hero {
  max-width: 900px;
  margin-bottom: clamp(36px, 6vw, 72px);
}

.ligeis-contact-page__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--wp--preset--color--brand-primary, #3b61e7);
  font-size: 14px;
  font-weight: 800;
}

.ligeis-contact-page__eyebrow::before {
  content: "";
  width: 10px;
  height: 6px;
  transform: skewX(-18deg);
  border-radius: 1px;
  background: currentColor;
}

.ligeis-contact-page h1 {
  max-width: 860px;
  margin: 0 0 18px;
  font-size: var(--wp--preset--font-size--xx-large, clamp(44px, 7vw, 92px));
  line-height: .92;
  letter-spacing: -.05em;
}

.ligeis-contact-page__intro {
  max-width: 760px;
  margin: 0;
  font-size: var(--wp--preset--font-size--medium, 20px);
  font-weight: 650;
  line-height: 1.35;
}

.ligeis-contact-page__quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.ligeis-contact-quick-cards {
  display: grid;
  gap: 18px;
}

.ligeis-contact-quick-cards .ligeis-contact-page__quick-card {
  min-height: clamp(150px, 13vw, 176px);
}

.ligeis-contact-page__quick-card,
.ligeis-contact-page__agency,
.ligeis-contact-form__form {
  border: 1px solid var(--wp--preset--color--brand-light-blue, #adc2fa);
  border-radius: 22px;
  background: var(--wp--preset--color--text-inverse, #fff);
}

.ligeis-contact-page__quick-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 176px;
  padding: 24px;
}

.ligeis-contact-page__quick-card > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: var(--wp--preset--color--bg-secondary, #f4f6ff);
  color: var(--wp--preset--color--brand-primary, #3b61e7);
}

.ligeis-contact-page__quick-card svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.ligeis-contact-page__quick-card h2,
.ligeis-contact-page__agency h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.05;
}

.ligeis-contact-page__agency h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
}

.ligeis-contact-page__quick-card p,
.ligeis-contact-page__agency p {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
}

.ligeis-contact-page a {
  color: var(--wp--preset--color--brand-primary, #3b61e7);
  font-weight: 800;
  text-decoration: none;
}

.ligeis-contact-page a:hover,
.ligeis-contact-page a:focus-visible {
  text-decoration: underline;
}

.ligeis-contact-form__notice {
  margin: 0 0 24px;
  padding: 18px 20px;
  border: 1px solid var(--wp--preset--color--brand-light-blue, #adc2fa);
  border-radius: 18px;
  font-weight: 700;
}

.ligeis-contact-form__notice.is-success {
  background: color-mix(in srgb, #16a34a 10%, #fff);
  color: #166534;
}

.ligeis-contact-form__notice.is-error {
  background: color-mix(in srgb, #dc2626 10%, #fff);
  color: #991b1b;
}

.ligeis-contact-page__layout {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(24px, 4vw, 48px);
}

.ligeis-contact-page__aside {
  display: grid;
  gap: 18px;
}

.ligeis-contact-info {
  display: grid;
  align-content: start;
  gap: clamp(22px, 3vw, 32px);
}

.ligeis-contact-page__map-card {
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--wp--preset--color--brand-light-blue, #adc2fa);
  border-radius: 28px;
  background: var(--wp--preset--color--bg-secondary, #f4f6ff);
}

.ligeis-contact-page__map {
  width: 100%;
  min-height: 420px;
}

.ligeis-contact-page__map .leaflet-control-attribution {
  font-size: 10px;
}

.ligeis-contact-map-pin {
  background: transparent;
  border: 0;
}

.ligeis-contact-map-pin span {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  border: 4px solid #fff;
  border-radius: 999px 999px 999px 0;
  background: var(--wp--preset--color--brand-primary, #3b61e7);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .25);
  transform: rotate(-45deg);
}

.ligeis-contact-map-pin span::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 999px;
  background: #fff;
}

.ligeis-contact-page__agencies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 24px);
}

.ligeis-contact-page__agency {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
}

.ligeis-contact-page__agency-address {
  font-weight: 650;
}

.ligeis-contact-page__agency-contact {
  display: grid;
  gap: 4px;
  padding-top: 8px;
}

.ligeis-contact-form__form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
}

.ligeis-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ligeis-contact-form__field {
  display: grid;
  gap: 8px;
}

.ligeis-contact-form__field--full {
  grid-column: 1 / -1;
}

.ligeis-contact-form__field span,
.ligeis-contact-form__consent {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.ligeis-contact-form__field input,
.ligeis-contact-form__field select,
.ligeis-contact-form__field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--wp--preset--color--brand-light-blue, #adc2fa);
  border-radius: 12px;
  background: var(--wp--preset--color--text-inverse, #fff);
  color: var(--wp--preset--color--text-primary, #1d1d1b);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.ligeis-contact-form__field input,
.ligeis-contact-form__field select {
  min-height: 52px;
  padding: 12px 14px;
}

.ligeis-contact-form__field textarea {
  min-height: 190px;
  padding: 14px;
  resize: vertical;
}

.ligeis-contact-form__field input:focus,
.ligeis-contact-form__field select:focus,
.ligeis-contact-form__field textarea:focus {
  outline: 3px solid color-mix(in srgb, var(--wp--preset--color--brand-primary, #3b61e7) 24%, transparent);
  outline-offset: 2px;
  border-color: var(--wp--preset--color--brand-primary, #3b61e7);
}

.ligeis-contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 760px;
  text-transform: none;
}

.ligeis-contact-form__consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.ligeis-contact-form__attachments {
  display: grid;
  gap: 14px;
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px dashed var(--wp--preset--color--brand-primary, #3b61e7);
  border-radius: 18px;
  background: var(--wp--preset--color--bg-secondary, #f4f6ff);
}

.ligeis-contact-form__attachments[hidden] {
  display: none;
}

.ligeis-contact-form__attachments-title,
.ligeis-contact-form__attachments p {
  margin: 0;
}

.ligeis-contact-form__attachments-title {
  color: var(--wp--preset--color--brand-primary, #3b61e7);
  font-size: 16px;
  font-weight: 850;
}

.ligeis-contact-form__attachments p {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.ligeis-contact-form__attachments-error {
  color: #991b1b;
}

.ligeis-contact-form__field input[type="file"] {
  min-height: auto;
  padding: 14px;
  background: var(--wp--preset--color--text-inverse, #fff);
}

.ligeis-contact-form__submit {
  justify-self: start;
}

.ligeis-contact-form__submit:disabled {
  cursor: wait;
  opacity: .72;
}

.ligeis-contact-form__honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ligeis-contact-form-editor-preview {
  padding: 24px;
  border: 1px solid var(--wp--preset--color--brand-light-blue, #adc2fa);
  border-radius: 18px;
  background: var(--wp--preset--color--bg-secondary, #f4f6ff);
}

.ligeis-contact-form-editor-preview__box {
  padding: 18px;
  border-radius: 12px;
  background: #fff;
  font-weight: 700;
}

@media (max-width: 980px) {
  .ligeis-contact-page__quick-grid,
  .ligeis-contact-page__layout,
  .ligeis-contact-page__agencies {
    grid-template-columns: 1fr;
  }

  .ligeis-contact-page__map-card,
  .ligeis-contact-page__map {
    min-height: 360px;
  }
}

@media (max-width: 700px) {
  .ligeis-contact-page h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .ligeis-contact-form__grid {
    grid-template-columns: 1fr;
  }

  .ligeis-contact-page__quick-card,
  .ligeis-contact-page__agency,
  .ligeis-contact-form__form {
    border-radius: 18px;
  }
}
