/* Caso destacado HM Electromecánica Integral */
.hm-page { background: var(--bg); }
.hm-page main { overflow: hidden; }

.hm-hero {
  position: relative;
  min-height: min(900px, 100svh);
  padding: 132px 0 84px;
  display: flex;
  align-items: center;
  isolation: isolate;
  background: #090b0d;
  overflow: hidden;
}

.hm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7,9,11,.78) 0%, rgba(7,9,11,.34) 48%, transparent 76%);
  pointer-events: none;
}

.hm-hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hm-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hm-hero-glow {
  position: absolute;
  z-index: -1;
  width: 620px;
  height: 620px;
  left: -280px;
  top: 14%;
  border-radius: 50%;
  background: rgba(0,202,167,.12);
  filter: blur(110px);
  pointer-events: none;
}

.hm-hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr); }
.hm-hero-copy { max-width: 720px; position: relative; z-index: 2; }

.hm-breadcrumb { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; margin: 0 0 34px; color: var(--dim); font-size: 13px; }
.hm-breadcrumb a { color: var(--ink-2); transition: color .25s; }
.hm-breadcrumb a:hover { color: var(--accent); }
.hm-breadcrumb i { color: var(--accent); font-style: normal; }
.hm-breadcrumb b { color: var(--ink); font-weight: 600; }

.hm-meta,
.hm-eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--ink-2);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hm-meta {
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(12,14,16,.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hm-meta > span,
.hm-eyebrow > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,202,167,.12);
}

.hm-meta b { color: rgba(255,255,255,.36); font-weight: 500; }

.hm-hero h1 {
  max-width: 760px;
  margin-top: 26px;
  color: #fff;
  font-size: clamp(48px, 5.2vw, 76px);
  line-height: .99;
  letter-spacing: -.045em;
  font-weight: 700;
  text-wrap: balance;
}

.hm-hero h1 span,
.hm-h2 span { color: var(--accent); }
.hm-hero-lead { max-width: 680px; margin-top: 26px; color: var(--ink-2); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.62; }
.hm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hm-chips span {
  padding: 6px 12px;
  border: 1px solid rgba(0,202,167,.28);
  border-radius: 999px;
  background: rgba(0,202,167,.1);
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hm-wa-cta { margin-top: 32px; }

.hm-scope { padding: 140px 0; background: var(--light); color: #141414; }
.hm-scope .tag-pill { border-color: rgba(20,20,20,.16); color: #4b463b; }
.hm-scope-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: end; margin: 24px 0 66px; }

.hm-h2 {
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.03;
  letter-spacing: -.04em;
  font-weight: 700;
  text-wrap: balance;
}

.hm-section-lead { max-width: 620px; margin-left: auto; color: #4b463b; font-size: 17px; line-height: 1.68; }

.hm-scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hm-scope-card {
  --hm-num-size: 90px;
  position: relative;
  overflow: hidden;
  padding: 24px 20px 22px;
  min-height: 260px;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.hm-scope-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width .3s ease;
}

.hm-scope-card::after {
  content: attr(data-num);
  position: absolute;
  top: -14px;
  right: 6px;
  z-index: 1;
  color: rgba(0,104,94,.08);
  font-size: var(--hm-num-size);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  pointer-events: none;
}

.hm-icon,
.hm-scope-card h3,
.hm-scope-card p {
  position: relative;
  z-index: 2;
}

.hm-icon {
  width: 112px;
  height: 112px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(0,202,167,.10);
  transition: background .25s ease;
}

.hm-icon img { width: auto; height: 59px; object-fit: contain; display: block; margin: auto; }
.hm-scope-card h3 { margin: 0 0 8px; color: #141414; font-size: 17px; font-weight: 800; letter-spacing: -.015em; }
.hm-scope-card p { margin: 0; color: #555; font-size: 13px; line-height: 1.5; }

.hm-feature {
  position: relative;
  padding: 130px 0;
  background: var(--bg);
  color: #fff;
  isolation: isolate;
}

.hm-feature:nth-of-type(odd) { background: #111; }
.hm-feature-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(42px, 7vw, 96px); align-items: center; }
.hm-feature--reverse .hm-feature-copy { order: 2; }
.hm-feature--reverse .hm-feature-media { order: 1; }
.hm-feature-copy p { margin-top: 24px; max-width: 620px; color: var(--ink-2); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.7; }
.hm-feature-copy p + p { margin-top: 16px; }
.hm-feature .hm-h2 { margin-top: 18px; max-width: 700px; color: #fff; font-size: clamp(38px, 4.5vw, 62px); }
.hm-feature-media { position: relative; z-index: 2; margin: 0; }
.hm-feature-media img { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 70px rgba(0,0,0,.28)); }
.hm-feature--content { overflow: hidden; }
.hm-section-bg { position: absolute; inset: 0; z-index: -2; opacity: .52; }
.hm-section-bg img { width: 100%; height: 100%; object-fit: cover; }
.hm-feature--content::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,20,20,.74), rgba(20,20,20,.40)); }

.hm-checks { display: grid; gap: 16px; margin-top: 30px; max-width: 640px; }
.hm-checks li {
  position: relative;
  padding-left: 34px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.45;
}

.hm-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background: rgba(0,202,167,.12);
  font-weight: 800;
}

.hm-checks strong { display: block; margin-bottom: 3px; color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; }
.hm-checks span { display: block; color: var(--ink-2); }
.hm-checks--simple { gap: 12px; }
.hm-checks--simple li { color: #fff; }
.hm-site-link {
  margin-top: 32px;
  border-color: var(--accent);
  background: var(--accent);
  color: #141414;
}

.hm-site-link:hover {
  border-color: #fff;
  background: #fff;
  color: #141414;
}

.hm-cta {
  background:
    radial-gradient(circle at 50% 18%, rgba(0,202,167,.16) 0, rgba(0,104,94,.14) 30%, transparent 58%),
    radial-gradient(circle at 88% 100%, rgba(0,104,94,.34) 0, transparent 48%),
    #032f2a;
  border-top: 0;
}

.hm-cta .cta-glow { opacity: .16; }
.hm-cta .ctah { max-width: 1050px; font-size: clamp(40px, 5vw, 70px); }
.hm-cta .ctah .ac { color: var(--accent); }
.hm-cta .ctasub { max-width: 760px; }

@media (min-width: 1024px) {
  .hm-scope-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,202,167,.18);
    box-shadow: 0 12px 28px rgba(0,104,94,.14);
  }

  .hm-scope-card:hover::before { width: 100%; }
  .hm-scope-card:hover .hm-icon { background: rgba(0,202,167,.20); }
}

@media (max-width: 1050px) {
  .hm-hero { min-height: 790px; }
  .hm-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hm-hero h1 { font-size: clamp(46px, 6vw, 68px); }
  .hm-scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-feature-grid { grid-template-columns: 1fr; gap: 34px; }
  .hm-feature--reverse .hm-feature-copy,
  .hm-feature--reverse .hm-feature-media { order: initial; }
  .hm-feature-media { order: 2; }
  .hm-feature-copy { order: 1; }
}

@media (max-width: 760px) {
  .hm-hero {
    min-height: 0;
    padding: 112px 0 min(105vw, 760px);
    align-items: flex-start;
  }

  .hm-hero::after { background: linear-gradient(180deg, rgba(7,9,11,.8), rgba(7,9,11,.28) 48%, transparent 72%); }
  .hm-hero-art { top: auto; bottom: 0; height: min(105vw, 760px); }
  .hm-hero-art img { object-fit: cover; object-position: center bottom; }
  .hm-hero h1 { font-size: clamp(40px, 11vw, 62px); }
  .hm-hero-lead { font-size: 16px; }
  .hm-wa-cta { width: 100%; justify-content: center; }
  .hm-scope, .hm-feature { padding-top: 92px; padding-bottom: 92px; }
  .hm-scope-intro { grid-template-columns: 1fr; gap: 22px; margin-bottom: 44px; }
  .hm-section-lead { margin-left: 0; }
  .hm-scope-grid { grid-template-columns: 1fr; }
  .hm-scope-card { transform: none; }
  .hm-feature .hm-h2 { font-size: clamp(36px, 9vw, 54px); }
  .hm-feature--content::after { background: rgba(20,20,20,.68); }
  .hm-cta .cta-btns, .hm-cta .btn-g { width: 100%; }
  .hm-cta .btn-g { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hm-scope-card,
  .hm-icon {
    transition: none;
  }
}
