/* Electric Control — editorial contact page. */
body.ec-contact-editorial {
  --contact-navy: #0f1c2e;
  --contact-green: #7dbf2a;
  --contact-gray: #e6e8eb;
  color: var(--contact-navy);
  background: #fff;
  background-image: none;
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
}
body.ec-contact-editorial .ec-page-hero--premium {
  min-height: max(680px,min(760px,84svh));
  padding: clamp(180px,20vh,220px) 0 clamp(72px,9vw,112px);
  align-items: flex-end;
  background-image:
    linear-gradient(90deg,rgba(15,28,46,.94) 0%,rgba(15,28,46,.78) 50%,rgba(15,28,46,.18) 100%),
    linear-gradient(0deg,rgba(15,28,46,.42),transparent 52%),
    url('/assets/public/heroes/hero-contacto.jpg');
  background-position: center,center,center 55%;
  border: 0;
}
body.ec-contact-editorial .ec-page-hero--premium::before,
body.ec-contact-editorial .ec-page-hero--premium::after { display: none; }
body.ec-contact-editorial .ec-page-hero--premium .ec-container { width: min(100% - 96px,1440px); }
body.ec-contact-editorial .ec-page-hero--premium .ec-breadcrumb { margin-bottom: 30px; }
body.ec-contact-editorial .ec-page-hero--premium .ec-heading-xl {
  max-width: 1020px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.5rem,8vw,7.7rem);
  line-height: .96;
  letter-spacing: -.075em;
}
body.ec-contact-editorial .ec-page-hero--premium .ec-highlight { background: none; color: var(--contact-green); -webkit-text-fill-color: currentColor; }

body.ec-contact-editorial .ec-section { padding: clamp(72px,9vw,118px) 0; }
body.ec-contact-editorial .ec-contact-grid {
  display: grid;
  grid-template-columns: minmax(260px,.78fr) minmax(0,1.22fr);
  gap: clamp(44px,8vw,116px);
  align-items: start;
}
body.ec-contact-editorial .ec-contact-grid .ec-label { color: #5b941c; letter-spacing: .13em; }
body.ec-contact-editorial .ec-contact-grid h2 {
  max-width: 440px;
  margin: 0 0 34px;
  color: var(--contact-navy);
  font-size: clamp(2rem,3.4vw,3.45rem);
  line-height: 1.06;
  letter-spacing: -.065em;
}
body.ec-contact-editorial .ec-contact-info {
  display: block;
  border-top: 1px solid #cfd4d9;
}
body.ec-contact-editorial .ec-contact-info-item {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr);
  gap: 16px;
  align-items: start;
  min-height: 92px;
  padding: 19px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #cfd4d9;
  border-radius: 0;
  box-shadow: none;
}
body.ec-contact-editorial .ec-contact-info-item-icon {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: #5b941c;
  background: #edf3e6;
  border-radius: 0;
}
body.ec-contact-editorial .ec-contact-info-item-icon svg { width: 19px; height: 19px; }
body.ec-contact-editorial .ec-contact-info-item-text h4 {
  margin: 0 0 6px;
  color: var(--contact-navy);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.ec-contact-editorial .ec-contact-info-item-text p { margin: 0; color: #68717c; font-size: .8rem; line-height: 1.65; overflow-wrap: anywhere; }
body.ec-contact-editorial .ec-contact-info-item-text a { color: var(--contact-navy) !important; text-decoration-color: var(--contact-green) !important; text-underline-offset: 3px; }

body.ec-contact-editorial .ec-form-card {
  padding: clamp(28px,4.5vw,58px) !important;
  background: #f4f6f7;
  border: 0;
  border-top: 5px solid var(--contact-green);
  border-radius: 0;
  box-shadow: none;
}
body.ec-contact-editorial .ec-form-card h3 {
  margin: 0 0 30px;
  color: var(--contact-navy);
  font-size: clamp(1.45rem,2.3vw,2rem);
  letter-spacing: -.045em;
}
body.ec-contact-editorial .ec-form-group { margin-bottom: 20px; }
body.ec-contact-editorial .ec-form-label {
  display: block;
  margin-bottom: 8px;
  color: #4f5965;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.ec-contact-editorial .ec-input,
body.ec-contact-editorial .ec-textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--contact-navy);
  background: #fff;
  border: 1px solid #d5d9de;
  border-radius: 0;
  box-shadow: none;
  font: inherit;
  font-size: .8rem;
  transition: border-color .2s ease,box-shadow .2s ease;
}
body.ec-contact-editorial .ec-textarea { min-height: 140px; resize: vertical; }
body.ec-contact-editorial .ec-input:focus,
body.ec-contact-editorial .ec-textarea:focus { border-color: #5b941c; outline: 0; box-shadow: 0 0 0 3px rgba(125,191,42,.13); }
body.ec-contact-editorial .ec-input::placeholder,
body.ec-contact-editorial .ec-textarea::placeholder { color: #87909a; }
body.ec-contact-editorial #contact-result { margin: 0 0 16px; }
body.ec-contact-editorial .ec-form-card .ec-btn {
  min-height: 50px;
  color: #fff;
  background: var(--contact-navy);
  border: 1px solid var(--contact-navy);
  border-radius: 0;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
body.ec-contact-editorial .ec-form-card .ec-btn:hover { background: #233b58; border-color: #233b58; }

body.ec-contact-editorial .ec-section-alt { background: #f4f6f7; }
body.ec-contact-editorial .ec-section .ec-text-center { max-width: none !important; margin: 0 0 42px !important; text-align: left; }
body.ec-contact-editorial .ec-section .ec-text-center .ec-label { color: #5b941c; }
body.ec-contact-editorial .ec-section .ec-text-center h2 { margin: 10px 0 0 !important; color: var(--contact-navy); font-size: clamp(2.1rem,4vw,4rem); line-height: 1.05; letter-spacing: -.06em; }
body.ec-contact-editorial .ec-section-alt .ec-grid-3 { gap: 0 32px; border-top: 1px solid #cfd4d9; }
body.ec-contact-editorial .ec-section-alt .ec-feature-card {
  min-height: 180px;
  padding: 25px 20px 24px 0;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #cfd4d9;
  border-radius: 0;
  box-shadow: none;
}
body.ec-contact-editorial .ec-feature-card__icon { margin: 0 0 18px; color: #5b941c; background: #edf3e6; border-radius: 0; }
body.ec-contact-editorial .ec-feature-card__icon--green { color: #5b941c; background: #edf3e6; }
body.ec-contact-editorial .ec-feature-card h3 { color: var(--contact-navy); font-size: 1rem; }
body.ec-contact-editorial .ec-feature-card p { max-width: 360px; margin: 0; color: #68717c; font-size: .77rem; line-height: 1.75; }

@media (max-width: 900px) {
  body.ec-contact-editorial .ec-page-hero--premium .ec-container { width: min(100% - 48px,1440px); }
  body.ec-contact-editorial .ec-contact-grid { grid-template-columns: minmax(230px,.8fr) minmax(0,1.2fr); gap: 34px; }
}
@media (max-width: 640px) {
  body.ec-contact-editorial .ec-page-hero--premium { min-height: max(620px,78svh); padding: 150px 0 64px; background-position: center,center,54% center; }
  body.ec-contact-editorial .ec-page-hero--premium .ec-container { width: min(100% - 40px,1440px); }
  body.ec-contact-editorial .ec-page-hero--premium .ec-heading-xl { font-size: clamp(3rem,13vw,5rem); }
  body.ec-contact-editorial .ec-contact-grid { grid-template-columns: 1fr; gap: 42px; }
  body.ec-contact-editorial .ec-form-card { padding: 28px 20px !important; }
  body.ec-contact-editorial .ec-section-alt .ec-grid-3 { grid-template-columns: 1fr; }
  body.ec-contact-editorial .ec-section-alt .ec-feature-card { min-height: 0; padding: 20px 0; }
}
@media (prefers-reduced-motion: reduce) {
  body.ec-contact-editorial .ec-input,
  body.ec-contact-editorial .ec-textarea { transition: none; }
}
