/* Electric Control — editorial company profile. */
body.ec-about-editorial {
  --about-navy: #0f1c2e;
  --about-green: #7dbf2a;
  --about-graphite: #2b2f38;
  --about-line: #cfd4d9;
  color: var(--about-navy);
  background: #fff;
  background-image: none;
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
}

body.ec-about-editorial .ec-page-hero--premium {
  min-height: max(680px,min(760px,78svh));
  padding: clamp(145px,16vh,190px) 0 clamp(76px,9vw,124px);
  align-items: flex-end;
  background-image:
    linear-gradient(90deg,rgba(15,28,46,.94) 0%,rgba(15,28,46,.78) 45%,rgba(15,28,46,.2) 100%),
    linear-gradient(0deg,rgba(15,28,46,.42),transparent 52%),
    url('/assets/public/intro.jpg');
  background-position: center,center,center 42%;
  border: 0;
}
body.ec-about-editorial .ec-page-hero--premium::before,
body.ec-about-editorial .ec-page-hero--premium::after { display: none; }
body.ec-about-editorial .ec-page-hero--premium .ec-container { width: min(100% - 96px,1440px); }
body.ec-about-editorial .ec-page-hero--premium .ec-breadcrumb { margin-bottom: 30px; }
body.ec-about-editorial .ec-page-hero--premium .ec-heading-xl {
  max-width: 1000px;
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(3.5rem,8vw,7.8rem);
  line-height: .96;
  letter-spacing: -.075em;
}
body.ec-about-editorial .ec-page-hero--premium .ec-highlight {
  background: none;
  color: var(--about-green);
  -webkit-text-fill-color: currentColor;
}
body.ec-about-editorial .ec-page-hero--premium .ec-subtitle {
  max-width: 650px;
  color: rgba(255,255,255,.8);
  font-size: clamp(1rem,1.35vw,1.18rem);
  line-height: 1.8;
}

body.ec-about-editorial .ec-section { padding: clamp(72px,9vw,118px) 0; }
body.ec-about-editorial .ec-intro-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(340px,.92fr);
  gap: clamp(38px,8vw,120px);
  align-items: center;
}
body.ec-about-editorial .ec-intro-text .ec-label { color: #5b941c; }
body.ec-about-editorial .ec-intro-text h2 {
  max-width: 650px;
  margin: 0 0 26px;
  color: var(--about-navy);
  font-size: clamp(2.5rem,5vw,5rem);
  line-height: 1.02;
  letter-spacing: -.07em;
}
body.ec-about-editorial .ec-intro-text p {
  max-width: 670px;
  margin: 0 0 17px;
  color: #68717c !important;
  font-size: .86rem;
  line-height: 1.9;
}
body.ec-about-editorial .ec-intro-visual {
  position: relative;
  min-height: clamp(390px,44vw,620px);
  overflow: hidden;
  background-image: linear-gradient(180deg,transparent 48%,rgba(15,28,46,.72)),url('/assets/public/intro.jpg');
  background-size: cover;
  background-position: 54% center;
  border-radius: 0;
  box-shadow: none;
}
body.ec-about-editorial .ec-intro-visual::before {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.42);
  content: "";
  pointer-events: none;
}
body.ec-about-editorial .ec-intro-visual::after {
  position: absolute;
  right: 28px;
  bottom: 32px;
  left: 34px;
  max-width: 320px;
  color: #fff;
  content: "Ingeniería que conecta. Construcción que transforma.";
  font-size: clamp(1.1rem,2.1vw,1.65rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.035em;
}
body.ec-about-editorial .ec-intro-accent {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 7px;
  height: 100%;
  background: var(--about-green);
}

body.ec-about-editorial .ec-section-alt { background: #f4f6f7; }
body.ec-about-editorial .ec-section .ec-text-center {
  max-width: none !important;
  margin: 0 0 46px !important;
  text-align: left;
}
body.ec-about-editorial .ec-section .ec-text-center .ec-label { color: #5b941c; }
body.ec-about-editorial .ec-section .ec-text-center h2 {
  max-width: 740px;
  margin: 12px 0 0 !important;
  color: var(--about-navy);
  font-size: clamp(2.2rem,4.5vw,4.5rem);
  line-height: 1.04;
  letter-spacing: -.065em;
}
body.ec-about-editorial .ec-grid-2 { gap: 0 48px; border-top: 1px solid var(--about-line); }
body.ec-about-editorial .ec-grid-2 > .ec-card {
  min-height: 230px;
  padding: 28px 20px 30px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--about-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.ec-about-editorial .ec-grid-2 > .ec-card h3 {
  color: var(--about-navy);
  font-size: 1.3rem;
  letter-spacing: -.035em;
}
body.ec-about-editorial .ec-grid-2 > .ec-card p { color: #68717c !important; font-size: .83rem; line-height: 1.85; }
body.ec-about-editorial .ec-values-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 0 38px;
  border-top: 1px solid var(--about-line);
}
body.ec-about-editorial .ec-value-item {
  position: relative;
  min-height: 190px;
  padding: 25px 12px 25px 0;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--about-line);
  border-radius: 0;
  box-shadow: none;
}
body.ec-about-editorial .ec-value-icon {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px;
  color: #5b941c;
  background: #edf3e6;
  border-radius: 0;
}
body.ec-about-editorial .ec-value-icon svg { width: 18px; height: 18px; }
body.ec-about-editorial .ec-value-item h3 { margin: 0 0 9px; color: var(--about-navy); font-size: 1rem; letter-spacing: -.025em; }
body.ec-about-editorial .ec-value-item p { max-width: 330px; margin: 0; color: #68717c; font-size: .74rem; line-height: 1.75; }

body.ec-about-editorial .ec-timeline-vertical {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 0;
  padding-top: 38px;
  border-top: 1px solid var(--about-line);
}
body.ec-about-editorial .ec-timeline-vertical::before {
  position: absolute;
  top: -2px;
  left: 0;
  width: 52px;
  height: 3px;
  background: var(--about-green);
  content: "";
}
body.ec-about-editorial .ec-timeline-item {
  position: relative;
  min-height: 230px;
  padding: 0 22px 0 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body.ec-about-editorial .ec-timeline-dot { display: none; }
body.ec-about-editorial .ec-timeline-year { margin: 0 0 18px; color: #5b941c; font-size: 1.05rem; font-weight: 700; letter-spacing: -.03em; }
body.ec-about-editorial .ec-timeline-item h3 { margin: 0 0 10px; color: var(--about-navy); font-size: .95rem; line-height: 1.35; }
body.ec-about-editorial .ec-timeline-item p { margin: 0; color: #68717c; font-size: .72rem; line-height: 1.75; }
body.ec-about-editorial .ec-page-cta { background: var(--about-navy); border-radius: 0; }
body.ec-about-editorial .ec-page-cta h2,
body.ec-about-editorial .ec-page-cta p { color: #fff; }
body.ec-about-editorial .ec-page-cta p { color: rgba(255,255,255,.72); }
body.ec-about-editorial .ec-page-cta .ec-btn-outline { color: #fff; border-color: rgba(255,255,255,.42); }

@media (max-width: 900px) {
  body.ec-about-editorial .ec-page-hero--premium .ec-container { width: min(100% - 48px,1440px); }
  body.ec-about-editorial .ec-intro-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  body.ec-about-editorial .ec-values-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.ec-about-editorial .ec-timeline-vertical { grid-template-columns: repeat(3,minmax(0,1fr)); row-gap: 28px; }
  body.ec-about-editorial .ec-timeline-item { min-height: 190px; }
}
@media (max-width: 640px) {
  body.ec-about-editorial .ec-page-hero--premium { min-height: max(660px,82svh); padding: 130px 0 64px; background-position: center,center,57% center; }
  body.ec-about-editorial .ec-page-hero--premium .ec-container { width: min(100% - 40px,1440px); }
  body.ec-about-editorial .ec-page-hero--premium .ec-heading-xl { font-size: clamp(3rem,14vw,5rem); }
  body.ec-about-editorial .ec-intro-grid { grid-template-columns: 1fr; }
  body.ec-about-editorial .ec-intro-visual { min-height: 84vw; }
  body.ec-about-editorial .ec-grid-2 { grid-template-columns: 1fr; }
  body.ec-about-editorial .ec-grid-2 > .ec-card { min-height: 0; }
  body.ec-about-editorial .ec-values-grid { grid-template-columns: 1fr 1fr; gap: 0 18px; }
  body.ec-about-editorial .ec-value-item { min-height: 210px; }
  body.ec-about-editorial .ec-timeline-vertical { grid-template-columns: 1fr; padding-left: 22px; border-top: 0; border-left: 1px solid var(--about-line); }
  body.ec-about-editorial .ec-timeline-vertical::before { top: 0; left: -2px; width: 3px; height: 44px; }
  body.ec-about-editorial .ec-timeline-item { min-height: 0; padding: 0 0 28px; }
}
