/* Morochas Energy Group — paleta tomada del dossier corporativo */
:root {
  --navy: #0A3667;
  --navy-2: #12487f;
  --orange: #F6960E;
  --orange-d: #d97f00;
  --gray: #1f4f8c;
  --sky: #C9D6E5;
  --sky-2: #E7EEF6;
  --paper: #F7F9FC;
  --white: #ffffff;
  --line: #dde5ee;
  --ink: #0b3a78;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(10,54,103,.06), 0 12px 32px -12px rgba(10,54,103,.18);
  --shadow-lg: 0 30px 60px -24px rgba(10,54,103,.35);
  --f-head: "Nunito", system-ui, sans-serif;
  --f-body: "Onest", system-ui, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 16px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--navy); margin: 0; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--lg { width: 34px; height: 34px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; padding: .95em 1.5em;
  border-radius: 10px; font: 600 15px/1 var(--f-head); text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
}
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--accent { background: var(--orange); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(246,150,14,.8); }
.btn--accent:hover { background: #ffa526; transform: translateY(-2px); }
.btn--ghost { border-color: var(--sky); color: var(--navy); background: var(--white); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--sm { padding: .75em 1.15em; font-size: 14px; }

/* ---------- topbar & nav ---------- */
.topbar { background: var(--sky-2); color: var(--gray); font-size: 13px; }
.topbar__in { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar__in span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .ic { width: 15px; height: 15px; color: var(--orange-d); }
.topbar__rif { font-weight: 600; color: var(--navy); }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10,54,103,.4); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.nav__logo img { height: 52px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { white-space: nowrap; }
.nav__links a:not(.btn) { font: 600 14.5px var(--f-head); text-decoration: none; color: var(--navy); position: relative; padding: 6px 0; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--sky-2); border-radius: 12px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy); transition: transform .3s, top .3s; }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 96px; background: linear-gradient(180deg, var(--paper) 0%, var(--white) 100%); overflow: hidden; }
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--sky-2) 1px, transparent 1px), linear-gradient(90deg, var(--sky-2) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse 70% 70% at 30% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 30%, #000 30%, transparent 75%);
}
.hero__in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 13px var(--f-head); text-transform: uppercase; letter-spacing: .08em; color: var(--navy); background: var(--white); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; margin-bottom: 26px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(246,150,14,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(246,150,14,0); } 100% { box-shadow: 0 0 0 0 rgba(246,150,14,0); } }
.hero__title { font-size: clamp(2.3rem, 4.6vw, 4rem); font-weight: 600; line-height: 1.08; letter-spacing: -.025em; margin-bottom: 24px; }
.hero__title em { font-style: normal; color: var(--orange-d); position: relative; white-space: nowrap; }
.hero__lead { font-size: 1.12rem; color: var(--gray); max-width: 34em; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.hero__facts li { padding: 18px 16px 0 0; }
.hero__facts li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.hero__facts strong { display: block; font: 800 1.6rem/1.1 var(--f-head); color: var(--navy); }
.hero__facts li > span { font-size: 13px; color: var(--gray); line-height: 1.35; display: block; margin-top: 4px; }

.hero__media { position: relative; }
.hero__img { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-lg); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__media::before { content: ""; position: absolute; inset: -18px -18px 18px 18px; border-radius: 32px; border: 2px solid var(--orange); opacity: .55; z-index: -1; }
.hero__badge { position: absolute; left: -28px; bottom: 38px; display: flex; align-items: center; gap: 12px; background: var(--white); padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.hero__badge .ic { width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: var(--orange); color: var(--navy); stroke-width: 2; }
.hero__badge strong { display: block; font: 700 15px var(--f-head); color: var(--navy); }
.hero__badge span { font-size: 13px; color: var(--gray); }
@keyframes float { 50% { transform: translateY(-8px); } }
.hero__wire { position: absolute; top: -26px; right: -10px; width: 62%; overflow: visible; }
.hero__wire path { fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-dasharray: 4 6; opacity: .45; }
.hero__wire .spark { fill: var(--orange); filter: drop-shadow(0 0 6px var(--orange)); offset-path: path("M0 20 C 120 110, 280 110, 400 20"); animation: spark 3.6s linear infinite; }
@keyframes spark { from { offset-distance: 0%; } to { offset-distance: 100%; } }

/* ---------- marquee ---------- */
.marquee { background: var(--navy); color: var(--white); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font: 700 15px var(--f-head); text-transform: uppercase; letter-spacing: .12em; padding: 0 28px; display: inline-flex; align-items: center; gap: 28px; white-space: nowrap; }
.marquee span::after { content: ""; width: 7px; height: 7px; background: var(--orange); transform: rotate(45deg); margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 112px 0; }
.kicker { font: 700 13px var(--f-head); text-transform: uppercase; letter-spacing: .14em; color: var(--orange-d); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--orange); }
.h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); font-weight: 800; max-width: 18em; }
.h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 700; margin-bottom: 18px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.sec-head__aside { max-width: 26em; color: var(--gray); margin: 0; }

/* about */
.about { background: var(--white); }
.about__in { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__media { position: relative; padding: 0 0 70px 0; }
.about__a { border-radius: var(--radius); aspect-ratio: 4/3.2; object-fit: cover; width: 88%; box-shadow: var(--shadow); }
.about__b { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 8px solid var(--white); box-shadow: var(--shadow-lg); }
.about__stamp { position: absolute; left: -16px; top: -24px; background: var(--orange); color: var(--navy); border-radius: var(--radius); padding: 18px 22px; width: 170px; box-shadow: var(--shadow); }
.about__stamp .count { font: 800 3rem/1 var(--f-head); display: block; }
.about__stamp small { font: 600 13px/1.3 var(--f-head); display: block; margin-top: 6px; }
.about__copy > p { color: var(--gray); }
.about__copy .h2 { margin-bottom: 24px; }
.timeline { list-style: none; padding: 0; margin: 32px 0 0; border-left: 2px solid var(--sky); }
.timeline li { position: relative; padding: 0 0 20px 26px; display: grid; grid-template-columns: 64px 1fr; gap: 12px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 3px solid var(--orange); }
.timeline b { font: 800 1.1rem var(--f-head); color: var(--navy); }
.timeline span { color: var(--gray); font-size: 15px; }

/* electric */
.electric { background: var(--paper); }
.electric__feature { position: relative; border-radius: 24px; overflow: hidden; margin-bottom: 40px; box-shadow: var(--shadow); }
.electric__feature img { width: 100%; height: 420px; object-fit: cover; }
.electric__feature-card { position: absolute; right: 28px; bottom: 28px; max-width: 380px; background: rgba(255,255,255,.95); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.electric__feature-card .ic { color: var(--orange-d); margin-bottom: 10px; }
.electric__feature-card p { margin: 0; font: 600 16px/1.5 var(--f-head); color: var(--navy); }
.svc-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; overflow: hidden; }
.svc::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc:hover::after { transform: scaleX(1); }
.svc__n { position: absolute; right: 20px; top: 18px; font: 800 14px var(--f-head); color: var(--sky); }
.svc .ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--sky-2); color: var(--navy); margin-bottom: 18px; transition: background .3s, color .3s; }
.svc:hover .ic { background: var(--orange); }
.svc h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.svc p { font-size: 14.5px; color: var(--gray); margin: 0; }
.electric__strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.electric__strip figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/3; }
.electric__strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.electric__strip figure:hover img { transform: scale(1.05); }
.electric__strip figcaption { position: absolute; left: 14px; bottom: 14px; background: var(--white); color: var(--navy); font: 600 13.5px var(--f-head); padding: 8px 12px; border-radius: 10px; }

/* services */
.services { background: var(--white); }
.band { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; margin-bottom: 96px; }
.band--rev .band__media { order: 2; }
.band__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.band__media--duo { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; align-items: end; }
.band__media--duo img:first-child { aspect-ratio: 3/3.6; }
.band__media--duo img:last-child { aspect-ratio: 3/3.3; transform: translateY(-40px); }
.band__copy > p { color: var(--gray); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 32px; color: var(--gray); }
.ticks li b { color: var(--navy); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--sky-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d97f00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.ticks--sm li { font-size: 14.5px; }
.chips { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--sky-2); color: var(--navy); font: 600 13.5px var(--f-head); }
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-cards div { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; background: var(--white); }
.mini-cards img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: var(--white); margin-bottom: 10px; }
.mini-cards p { font-size: 13px; color: var(--gray); margin: 0; line-height: 1.5; }
.mini-cards b { color: var(--navy); }

.env { background: var(--paper); border-radius: 28px; padding: 40px; margin-bottom: 96px; }
.env__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 32px; }
.env__head img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); }
.env__head p:last-child { color: var(--gray); margin: 0; }
.env__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.env__grid figure { margin: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.env__grid img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.env__grid figcaption { padding: 16px; font-size: 14px; color: var(--gray); }
.env__grid b { display: block; color: var(--navy); font: 700 15px/1.3 var(--f-head); margin-bottom: 6px; }

/* transformers */
.tx { background: linear-gradient(180deg, var(--sky-2), var(--paper) 40%); }
.tabs { display: inline-flex; padding: 5px; background: var(--white); border-radius: 999px; border: 1px solid var(--line); box-shadow: var(--shadow); flex: none; }
.tabs button { border: 0; background: transparent; padding: 12px 22px; border-radius: 999px; font: 700 14.5px var(--f-head); color: var(--gray); cursor: pointer; transition: background .25s, color .25s; }
.tabs button[aria-selected="true"] { background: var(--navy); color: var(--white); }
.tx__panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tx__panel + .tx__panel { margin-top: 20px; }
.js .tx__panel[hidden] { display: none; }
.tx-card { display: grid; grid-template-columns: 200px 1fr; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .35s, transform .35s var(--ease); }
.tx-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.tx-card--wide { grid-column: 1 / -1; grid-template-columns: 320px 1fr; }
.tx-card__img { background: var(--white); display: grid; place-items: center; padding: 16px; border-right: 1px solid var(--line); }
.tx-card__img img { max-height: 240px; width: 100%; object-fit: contain; }
.tx-card__body { padding: 24px; }
.tx-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.tx-card p { font-size: 14.5px; color: var(--gray); }
.tx-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; border-top: 1px dashed var(--line); padding-top: 14px; }
.tx-card dt { font: 700 12px/1.9 var(--f-head); text-transform: uppercase; letter-spacing: .06em; color: var(--orange-d); }
.tx-card dd { margin: 0; color: var(--navy); font-weight: 500; }
.comp { margin-top: 72px; }
.comp__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.comp__grid article { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.comp__grid img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 16px; }
.comp__grid h4 { font-size: 17px; margin-bottom: 8px; }
.comp__grid p { font-size: 14.5px; color: var(--gray); margin: 0; }

/* equip */
.equip { background: var(--white); }
.equip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.eq { border: 1px solid var(--line); border-radius: 22px; padding: 22px; background: var(--white); transition: box-shadow .35s, transform .35s var(--ease); }
.eq:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.eq__img { background: linear-gradient(160deg, var(--sky-2), var(--paper)); border-radius: var(--radius); margin-bottom: 20px; overflow: hidden; }
.eq__img img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.eq h3 { font-size: 18px; margin-bottom: 10px; }
.eq > p { font-size: 15px; color: var(--gray); }

/* supply */
.supply { background: var(--paper); }
.supply__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 290px; gap: 18px; }
.tile { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 3; }
.tile > img, .tile__quad { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover > img { transform: scale(1.05); }
.tile__quad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); }
.tile__quad img { width: 100%; height: 100%; object-fit: cover; }
.tile figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(255,255,255,.95); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; color: var(--gray); line-height: 1.45; }
.tile figcaption b { display: block; color: var(--navy); font: 700 15px var(--f-head); margin-bottom: 2px; }
.mat { margin-top: 80px; }
.mat__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.mat__head .h3 { margin: 0; }
.mat__head p { margin: 0; color: var(--gray); max-width: 30em; }
.mat__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.mat__grid li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; transition: border-color .3s, box-shadow .3s; }
.mat__grid li:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.mat__grid img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 8px; background: var(--white); margin-bottom: 10px; }
.mat__grid span { font: 600 13px/1.35 var(--f-head); color: var(--navy); display: block; }

/* fabrication */
.fab { background: var(--white); }
.fab__in { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 24px; align-items: stretch; }
.fab__copy { align-self: center; padding-right: 16px; }
.fab__copy > p { color: var(--gray); }
.fab-card { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--paper); }
.fab-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--white); }
.fab-card > div { padding: 22px; }
.fab-card h3 { font-size: 18px; margin-bottom: 12px; }
.fab-card p { color: var(--gray); margin: 0; font-size: 15px; }
.spec { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec th { text-align: left; font: 700 13px var(--f-head); color: var(--orange-d); padding: 8px 0; }
.spec td { padding: 8px 0 8px 10px; color: var(--navy); border-top: 1px dashed var(--line); }
.spec th { border-top: 1px dashed var(--line); }
.spec tr:first-child th, .spec tr:first-child td { border-top: 0; }

/* CTA */
.cta { position: relative; padding: 120px 0; overflow: hidden; color: var(--white); text-align: center; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,54,103,.78), rgba(10,54,103,.9)); z-index: 1; }
.cta__in { position: relative; z-index: 2; }
.cta h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; margin-bottom: 14px; }
.cta p { color: var(--sky); font-size: 1.1rem; margin-bottom: 30px; }

/* contact */
.contact { background: var(--paper); }
.contact__in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list .ic { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--white); color: var(--orange-d); border: 1px solid var(--line); }
.contact__list b { display: block; font: 700 14px var(--f-head); color: var(--navy); }
.contact__list span, .contact__list a { color: var(--gray); font-size: 15px; text-decoration: none; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 260px; background: var(--sky-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.form { background: var(--white); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form h3 { font-size: 22px; margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font: 600 13.5px var(--f-head); color: var(--navy); }
.form input, .form select, .form textarea { font: 400 15px var(--f-body); color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); transition: border-color .2s, background .2s; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); background: var(--white); }
.form .is-invalid { border-color: #d64545; }
.form textarea { resize: vertical; }
.form .btn { justify-self: start; }
.form__note { margin: 0; font-size: 14px; color: var(--gray); min-height: 1.4em; }

/* footer */
.footer { background: var(--white); border-top: 1px solid var(--line); padding-top: 56px; }
.footer__in { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 36px; }
.footer__brand { max-width: 380px; }
.footer__brand img { height: 64px; width: auto; margin-bottom: 14px; }
.footer__brand p { color: var(--gray); font-size: 14.5px; }
.footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 48px; align-content: start; }
.footer__nav a { text-decoration: none; color: var(--navy); font: 600 14px var(--f-head); }
.footer__nav a:hover { color: var(--orange-d); }
.footer__base { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 20px 0 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--gray); }
.credits summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.credits ul { margin: 10px 0 6px; padding-left: 18px; columns: 2; column-gap: 28px; }
.credits p { margin: 0; }

/* ---------- reveal (safe) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: 18px; }
  .nav__links a:not(.btn) { font-size: 13.5px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .mat__grid { grid-template-columns: repeat(4, 1fr); }
  .fab__in { grid-template-columns: 1fr 1fr; }
  .fab__copy { grid-column: 1 / -1; }
  .tx__panel { grid-template-columns: 1fr; }
  .tx-card--wide { grid-template-columns: 200px 1fr; }
  .env__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .topbar__in > span:first-child { display: none; }
  .topbar__in { justify-content: center; }
  .nav__toggle { display: block; }
  .nav__links { position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(10,54,103,.3); transform: translateY(-120%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
  .nav.is-open .nav__links { transform: none; visibility: visible; }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .btn { margin-top: 16px; justify-content: center; }
  .hero { padding: 40px 0 72px; }
  .hero__in, .about__in, .band, .env__head, .contact__in { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { order: -1; }
  .hero__img { aspect-ratio: 4/3; }
  .hero__badge { left: 12px; bottom: 12px; }
  .hero__media::before { inset: -10px -10px 10px 10px; }
  .hero__wire { display: none; }
  .band--rev .band__media { order: 0; }
  .band { margin-bottom: 72px; }
  .section { padding: 80px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 36px; }
  .electric__feature img { height: 300px; }
  .electric__feature-card { position: static; max-width: none; border-radius: 0; box-shadow: none; }
  .electric__strip { grid-template-columns: 1fr 1fr; }
  .equip__grid { grid-template-columns: 1fr; max-width: 560px; }
  .supply__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .tile--wide { grid-column: span 2; }
  .tile--tall { grid-row: span 1; }
  .mat__head { flex-direction: column; align-items: flex-start; }
  .comp__grid { grid-template-columns: 1fr 1fr; }
  .footer__in, .footer__base { flex-direction: column; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .nav__in { height: 68px; }
  .nav__links { inset: 68px 0 auto 0; }
  .nav__logo img { height: 42px; }
  .hero__facts { grid-template-columns: 1fr; }
  .hero__facts li, .hero__facts li + li { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 12px; }
  .hero__facts strong { font-size: 1.35rem; min-width: 92px; }
  .hero__facts li > span { margin: 0; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }
  .svc-grid, .comp__grid, .env__grid, .electric__strip { grid-template-columns: 1fr; }
  .env { padding: 20px; border-radius: 20px; }
  .tx-card, .tx-card--wide { grid-template-columns: 1fr; }
  .tx-card__img { border-right: 0; border-bottom: 1px solid var(--line); }
  .tx-card__img img { max-height: 220px; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; }
  .supply__grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .tile--wide { grid-column: auto; grid-row: span 1; }
  .tile__quad { grid-template-columns: 1fr 1fr; }
  .mat__grid { grid-template-columns: repeat(2, 1fr); }
  .mini-cards { grid-template-columns: 1fr; }
  .mini-cards div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; }
  .mini-cards img { margin: 0; }
  .band__media--duo img:last-child { transform: none; }
  .fab__in { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .form__row { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; justify-content: center; }
  .about__in { gap: 32px; }
  .about__media { padding-bottom: 48px; }
  .about__stamp { width: 140px; padding: 14px 16px; left: 0; top: -16px; }
  .about__stamp .count { font-size: 2.3rem; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .credits ul { columns: 1; }
}

/* ---------- partículas interconectadas (overlay sutil) ---------- */
.fx-net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero__in { z-index: 1; }

/* ---------- animaciones adicionales ---------- */
/* Título del hero palabra por palabra */
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .wi { display: inline-block; }
.js .hero__title.is-split .wi { transform: translateY(105%); opacity: 0; transition: transform .9s var(--ease), opacity .9s var(--ease); }
.js .hero__title.is-split.is-in .wi { transform: none; opacity: 1; }

/* Variantes de aparición */
.js .reveal[data-anim="left"] { transform: translateX(-36px); }
.js .reveal[data-anim="right"] { transform: translateX(36px); }
.js .reveal[data-anim="zoom"] { transform: scale(.94); }
.js .reveal[data-anim="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0 round 22px); transition: clip-path 1.2s var(--ease); }
.js .reveal[data-anim].is-in { transform: none; }
.js .reveal[data-anim="clip"].is-in { clip-path: inset(0 0 0 0 round 0); }

/* Línea del kicker que crece */
.js .kicker.reveal::before { width: 0; transition: width .8s .25s var(--ease); }
.js .kicker.reveal.is-in::before { width: 22px; }

/* Brillo al pasar sobre los botones */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); z-index: -1; transition: left .7s var(--ease); }
.btn:hover::before { left: 130%; }

/* Inclinación 3D de tarjetas (la aplica el JS) */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt.is-tilting { transition: transform .12s linear, box-shadow .35s; }

/* Parallax */
[data-parallax] { will-change: transform; }

/* Íconos de servicio con giro sutil */
.svc:hover .ic { transform: rotate(-8deg) scale(1.06); }
.svc .ic { transition: background .3s, color .3s, transform .4s var(--ease); }

/* Imágenes de materiales flotan al pasar el cursor */
.mat__grid img, .comp__grid img { transition: transform .5s var(--ease); }
.mat__grid li:hover img { transform: translateY(-4px) scale(1.04); }
.comp__grid article:hover img { transform: scale(1.03); }

/* Pestañas: indicador deslizante */
.tabs { position: relative; }
.tabs button { position: relative; z-index: 1; }
.tabs__ind { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--navy); transition: transform .45s var(--ease), width .45s var(--ease); z-index: 0; }
.tabs.has-ind button[aria-selected="true"] { background: transparent; }
.tx__panel:not([hidden]) .tx-card { animation: cardIn .6s var(--ease) backwards; }
.tx__panel:not([hidden]) .tx-card:nth-child(2) { animation-delay: .07s; }
.tx__panel:not([hidden]) .tx-card:nth-child(3) { animation-delay: .14s; }
.tx__panel:not([hidden]) .tx-card:nth-child(4) { animation-delay: .21s; }
.tx__panel:not([hidden]) .tx-card:nth-child(n+5) { animation-delay: .28s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Barra de progreso de lectura */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--orange), #ffc062); transform-origin: left; transform: scaleX(0); z-index: 60; }
