:root {
  --el-red: #d71920;
  --el-black: #0a0a0a;
  --el-paper: #fff;
}

.el-page {
  background: #fff;
}

.el-hero {
  position: relative;
  min-height: clamp(470px, 52vw, 760px);
  overflow: hidden;
  border-left: 3px solid #111;
  border-right: 3px solid #111;
  border-bottom: 5px solid #111;
  background: #fff;
}
.el-hero-picture,
.el-hero-picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.el-hero-picture img {
  object-fit: cover;
  object-position: center;
}
.el-hero-copy {
  position: absolute;
  z-index: 2;
  top: 13%;
  left: clamp(34px, 7vw, 120px);
  width: min(48%, 650px);
  text-transform: uppercase;
  transform: rotate(-1.5deg);
}
.el-kicker {
  display: inline-block;
  margin: 0 0 7px;
  padding: 7px 25px 5px;
  color: #fff;
  background: #111;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(18px, 2vw, 32px);
  letter-spacing: .03em;
  transform: skew(-10deg);
}
.el-hero h1 {
  margin: 0;
  color: var(--el-red);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(70px, 8.5vw, 145px);
  line-height: .78;
  letter-spacing: -.025em;
  -webkit-text-stroke: clamp(2px, .22vw, 4px) #111;
  text-shadow: 5px 5px 0 #111;
}
.el-summary {
  max-width: 610px;
  margin: 19px 0 0;
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 900;
  line-height: 1.02;
  text-transform: none;
}
.el-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 23px;
}
.el-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 23px 10px;
  border: 4px solid #111;
  color: #111;
  background: #fff;
  box-shadow: 5px 5px 0 #111;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(16px, 1.45vw, 24px);
  letter-spacing: .02em;
  text-decoration: none;
  transform: skew(-5deg);
  transition: transform .2s ease, box-shadow .2s ease;
}
.el-button--primary { color: #fff; background: var(--el-red); }
.el-button:hover,
.el-button:focus-visible { transform: translate(-2px,-2px) skew(-5deg); box-shadow: 8px 8px 0 #111; }

.el-stage {
  --el-side-width: clamp(112px, 12vw, 190px);
  position: relative;
  isolation: isolate;
  padding-inline: var(--el-side-width);
  border-left: 3px solid #111;
  border-right: 3px solid #111;
  border-bottom: 4px solid #111;
  background:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,.24) 1px, transparent 1.2px) 0 0 / 8px 8px,
    #fff;
  overflow: hidden;
}
.el-side {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  width: var(--el-side-width);
  height: 100%;
  display: block;
  object-fit: fill;
  object-position: center top;
  background: transparent;
  pointer-events: none;
  user-select: none;
}
.el-side--left { left: 0; }
.el-side--right { right: 0; }
.el-content {
  position: relative;
  z-index: 2;
  max-width: 1510px;
  margin: 0 auto;
  padding: 16px 20px 0;
  border-inline: 4px solid #111;
  background:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,.12) 1px, transparent 1.2px) 0 0/8px 8px,
    #fff;
}

.el-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: -16px -20px 18px;
  border-bottom: 4px solid #111;
  background: #111;
}
.el-trust span {
  display: grid;
  place-items: center;
  min-height: 68px;
  padding: 12px 10px;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,.35);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(15px, 1.25vw, 21px);
  letter-spacing: .02em;
  text-align: center;
  text-transform: uppercase;
}
.el-trust span:last-child { border-right: 0; }

.el-section { margin: 0 0 16px; }
.el-section-title {
  display: table;
  position: relative;
  z-index: 1;
  margin: 0 auto 12px;
  padding: 6px 52px 5px;
  color: #fff;
  background: #111;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(25px, 2.3vw, 40px);
  font-style: italic;
  line-height: .95;
  letter-spacing: .02em;
  text-align: center;
  text-transform: uppercase;
  transform: skew(-7deg);
}
.el-section-title::before,
.el-section-title::after {
  content: "";
  position: absolute;
  top: 22%;
  width: 70px;
  height: 62%;
  background: #111;
  clip-path: polygon(0 45%,100% 0,82% 35%,100% 55%,70% 100%,0 65%);
}
.el-section-title::before { left: -58px; transform: scaleX(-1); }
.el-section-title::after { right: -58px; }

.el-work-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 11px; }
.el-work-card {
  display: grid;
  grid-template-rows: 165px 1fr;
  min-width: 0;
  border: 4px solid #111;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 3px 3px 0 rgba(0,0,0,.14);
}
.el-work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-bottom: 3px solid #111;
}
.el-work-card div { padding: 11px 12px 13px; text-align: center; }
.el-work-card h3 { margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(19px,1.35vw,26px); line-height: .95; text-transform: uppercase; }
.el-work-card p { margin: 9px 0 0; font-size: clamp(12px,.92vw,15px); font-weight: 700; line-height: 1.18; }

.el-symptom-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; }
.el-symptom-grid article {
  min-width: 0;
  border: 3px solid #111;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  text-align: center;
}
.el-symptom-grid img { width: 100%; height: 108px; object-fit: cover; object-position: center; border-bottom: 2px solid #111; }
.el-symptom-grid h3 { min-height: 50px; margin: 0; padding: 8px 7px 7px; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(15px,1.05vw,19px); line-height: .98; text-transform: uppercase; }

.el-process-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }
.el-process-grid article {
  position: relative;
  min-width: 0;
  min-height: 285px;
  padding: 8px 10px 11px;
  border: 3px solid #111;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.el-process-grid article::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -13px;
  z-index: 3;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 13px solid var(--el-red);
  transform: translateY(-50%);
}
.el-process-grid article:last-child::after { display: none; }
.el-process-grid b {
  position: absolute;
  z-index: 2;
  top: 6px;
  left: 6px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 3px solid #111;
  color: #fff;
  background: var(--el-red);
  font-family: Impact, sans-serif;
  font-size: 26px;
}
.el-process-grid img { width: 100%; height: 145px; object-fit: cover; object-position: center; border-bottom: 2px solid #111; }
.el-process-grid h3 { margin: 8px 0 5px; font-family: Impact, sans-serif; font-size: clamp(19px,1.35vw,25px); line-height: 1; text-transform: uppercase; }
.el-process-grid p { margin: 0; font-size: clamp(12px,.88vw,15px); font-weight: 700; line-height: 1.16; }

.el-benefit-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.el-benefit-grid article {
  display: grid;
  grid-template-columns: 38% 62%;
  align-items: center;
  min-height: 126px;
  border: 3px solid #111;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.el-benefit-grid img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.el-benefit-grid div { padding: 10px 13px 9px 5px; }
.el-benefit-grid h3 { margin: 0; font-family: Impact, sans-serif; font-size: clamp(20px,1.5vw,28px); line-height: 1; text-transform: uppercase; }
.el-benefit-grid p { margin: 6px 0 0; font-size: clamp(12px,.9vw,15px); font-weight: 700; line-height: 1.15; }

.el-cta-banner {
  display: block;
  margin: 18px -20px 0;
  border-block: 4px solid #111;
  background: #0a0a0a;
  overflow: hidden;
  text-decoration: none;
}
.el-cta-banner picture,
.el-cta-banner img {
  display: block;
  width: 100%;
}
.el-cta-banner img {
  height: auto;
  transition: transform .3s ease, filter .3s ease;
}
.el-cta-banner:hover img,
.el-cta-banner:focus-visible img {
  transform: scale(1.012);
  filter: saturate(1.06);
}
.el-contact { margin: 16px -20px 0; padding-top: 0; }

@media (max-width: 1240px) {
  .el-stage { --el-side-width: 104px; }
  .el-work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .el-symptom-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .el-process-grid { grid-template-columns: repeat(5,minmax(210px,1fr)); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
  .el-process-grid article { scroll-snap-align: start; }
}

@media (max-width: 1100px) {
  .el-stage { --el-side-width: 82px; }
}

@media (max-width: 900px) {
  .el-stage { padding-inline: 0; }
  .el-side { display: none; }
  .el-content { max-width: none; border-inline: 3px solid #111; }
}

@media (max-width: 767px) {
  .el-hero { min-height: 0; aspect-ratio: 941 / 1672; border-width: 3px; }
  .el-hero-picture img { object-fit: cover; object-position: center top; }
  .el-hero-copy { top: 5.8%; left: 5.5%; width: 78%; transform: rotate(-1deg); }
  .el-kicker { padding: 5px 13px 4px; font-size: clamp(13px,3.7vw,21px); }
  .el-hero h1 { font-size: clamp(50px,14.5vw,85px); line-height: .78; text-shadow: 3px 3px 0 #111; }
  .el-summary { max-width: 75%; margin-top: 11px; font-size: clamp(14px,4vw,21px); }
  .el-hero-actions { max-width: 83%; gap: 9px; margin-top: 14px; }
  .el-button { min-height: 39px; padding: 8px 10px 7px; border-width: 3px; box-shadow: 3px 3px 0 #111; font-size: clamp(11px,3vw,15px); }
  .el-content { padding: 12px 10px 0; }
  .el-trust { grid-template-columns: repeat(2,1fr); margin: -12px -10px 16px; }
  .el-trust span { min-height: 54px; font-size: 14px; }
  .el-trust span:nth-child(2) { border-right: 0; }
  .el-trust span:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.35); }
  .el-section-title { max-width: calc(100% - 28px); padding-inline: 26px; font-size: clamp(22px,6vw,31px); }
  .el-section-title::before,
  .el-section-title::after { width: 42px; }
  .el-section-title::before { left: -34px; }
  .el-section-title::after { right: -34px; }
  .el-work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .el-work-card { grid-template-rows: 130px 1fr; border-width: 3px; }
  .el-work-card div { padding: 9px 8px 10px; }
  .el-work-card h3 { font-size: clamp(17px,4.7vw,23px); }
  .el-work-card p { font-size: clamp(11px,2.9vw,13px); }
  .el-symptom-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .el-symptom-grid img { height: 100px; }
  .el-symptom-grid h3 { min-height: 48px; font-size: clamp(13px,3.5vw,17px); }
  .el-process-grid { grid-template-columns: 1fr; overflow: visible; }
  .el-process-grid article { min-height: 0; display: grid; grid-template-columns: 42% 58%; grid-template-rows: auto 1fr; gap: 0; padding: 0; }
  .el-process-grid article::after { display: none; }
  .el-process-grid b { top: 7px; left: 7px; }
  .el-process-grid img { grid-row: 1 / 3; width: 100%; height: 100%; min-height: 165px; border-right: 2px solid #111; border-bottom: 0; }
  .el-process-grid h3 { margin: 15px 10px 5px; }
  .el-process-grid p { margin: 0 10px 12px; }
  .el-benefit-grid { grid-template-columns: 1fr; gap: 7px; }
  .el-benefit-grid article { min-height: 110px; grid-template-columns: 40% 60%; }
  .el-cta-banner { margin-inline: -10px; }
  .el-contact { margin-inline: -10px; }
}

@media (max-width: 440px) {
  .el-hero-copy { top: 4.9%; left: 5%; width: 82%; }
  .el-hero h1 { font-size: clamp(46px,14vw,66px); }
  .el-summary { max-width: 78%; font-size: clamp(12px,3.4vw,16px); }
  .el-button { font-size: 10px; padding-inline: 8px; }
  .el-work-card { grid-template-rows: 116px 1fr; }
  .el-process-grid article { grid-template-columns: 39% 61%; }
}

/* Ajustes específicos para Transmisión */
.el-hero h1 { font-size: clamp(70px, 8.2vw, 138px); }
.el-summary { max-width: 610px; }
@media (max-width: 1240px) { .el-work-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 900px) { .el-work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 767px) { .el-hero-copy { top: 5.5%; left: 5%; width: 82%; } .el-hero h1 { font-size: clamp(48px,13.5vw,76px); } .el-summary { max-width: 78%; } .el-work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 430px) { .el-work-grid { grid-template-columns: 1fr; } }

/* Ajustes específicos de Sistema Eléctrico */
.el-hero h1 { font-size: clamp(58px, 7.1vw, 122px); line-height: .82; }
.el-summary { max-width: 560px; }
@media (max-width: 767px) {
  .el-hero { min-height: 760px; }
  .el-hero-picture img { object-position: center bottom; }
  .el-hero-copy { top: 60px; left: 34px; width: min(67%, 285px); padding: 0; background: transparent; transform: none; }
  .el-kicker { font-size: 15px; padding: 5px 12px 4px; margin-bottom: 7px; }
  .el-hero h1 { font-size: clamp(49px, 14.3vw, 66px); line-height: .82; text-shadow: 3px 3px 0 #111; -webkit-text-stroke: 2px #111; }
  .el-summary { margin-top: 13px; font-size: 16px; line-height: 1.08; }
  .el-hero-actions { gap: 9px; margin-top: 14px; }
  .el-button { min-height: 42px; padding: 9px 12px 7px; font-size: 14px; border-width: 3px; box-shadow: 3px 3px 0 #111; }
}
@media (max-width: 430px) {
  .el-hero { min-height: 690px; }
  .el-hero-copy { top: 42px; left: 24px; width: min(73%, 270px); }
  .el-hero h1 { font-size: clamp(44px, 14vw, 58px); }
  .el-summary { font-size: 14px; }
}
