/* ============================================================
   MCMR — Section & component styles
   ============================================================ */

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -3;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 13px),
    linear-gradient(155deg, var(--navy-700) 0%, var(--navy) 45%, var(--navy-900) 100%);
}
.hero__grid-overlay {
  position: absolute; inset: -10%;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 70% 40%, black, transparent 75%);
  will-change: transform;
}
.hero__glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  z-index: -2;
  background: radial-gradient(circle, rgba(138,227,242,0.15), transparent 62%);
  pointer-events: none;
}
.hero__photo {
  position: absolute; inset: 0; z-index: -3;
  opacity: 0.32;
  mix-blend-mode: luminosity;
}
.hero__photo .ph__tag { top: auto; bottom: 1.4rem; left: 1.4rem; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0,19,58,0.92) 0%, rgba(0,19,58,0.7) 45%, rgba(0,27,78,0.35) 100%);
}

.hero__inner { padding-top: 9rem; padding-bottom: 5rem; width: 100%; }
.hero__content { max-width: 880px; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(3.8rem, 10vw, 9rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 1.6rem 0 1.8rem;
}
.hero h1 .accent { color: var(--gold); display: block; font-style: italic; font-weight: 500; letter-spacing: -0.01em; }
.hero__sub {
  font-size: clamp(1.1rem, 1.9vw, 1.4rem);
  color: rgba(255,255,255,0.8);
  max-width: 58ch;
  line-height: 1.55;
  margin-bottom: 2.6rem;
}
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 2.4rem;
  margin-top: 3.5rem;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: 720px;
}
.hero__meta-item .n {
  font-family: var(--display);
  font-weight: 600;
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.hero__meta-item .l { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 0.4rem; }

.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hero__scroll .line {
  width: 1px; height: 40px;
  background: linear-gradient(rgba(255,255,255,0.5), transparent);
  position: relative; overflow: hidden;
}
.hero__scroll .line::after {
  content: ""; position: absolute; top: -40px; left: 0;
  width: 1px; height: 40px; background: var(--gold);
  animation: scrolldot 2.2s var(--ease) infinite;
}
@keyframes scrolldot { 0% { top: -40px; } 60%,100% { top: 40px; } }

@media (max-width: 700px) {
  .hero__meta { gap: 1.6rem; }
  .hero__meta-item .n { font-size: 2rem; }
}

/* ---------- VALUE PROPS (4 col) ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.value {
  padding: 2.2rem 1.8rem;
  border-top: 2px solid var(--paper-2);
  position: relative;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.value:hover { border-color: var(--gold); transform: translateY(-12px); box-shadow: 0 40px 80px -30px rgba(0,27,78,0.5); }
.value__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.value:hover .value__icon { color: var(--gold-deep); }
.value__icon svg { width: 38px; height: 38px; transition: color 0.4s var(--ease); }
.value h3 { font-size: 1.25rem; margin-bottom: 0.7rem; color: var(--navy); letter-spacing: -0.01em; }
.value p { font-size: 0.95rem; color: var(--steel-dark); line-height: 1.6; }
.value__num {
  position: absolute; top: 1.6rem; right: 1.4rem;
  font-family: var(--display); font-size: 1.1rem; color: var(--paper-2);
}

@media (max-width: 960px) { .values { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* ---------- SERVICE CARDS ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
.scard {
  position: relative;
  background: var(--navy-700);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.scard:hover { transform: translateY(-12px); border-color: var(--gold); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.7); }
.scard__media { aspect-ratio: 16/10; position: relative; overflow: hidden; flex-shrink: 0; }
.scard__media .ph { position: absolute; inset: 0; }
.scard__media .ph { aspect-ratio: auto; }
.scard__body { padding: 2.2rem clamp(1.6rem, 3vw, 2.6rem) 2.6rem; flex: 1; display: flex; flex-direction: column; }
.scard__tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.scard h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); color: var(--white); margin-bottom: 1rem; line-height: 1.12; }
.scard p { color: rgba(255,255,255,0.72); font-size: 0.98rem; margin-bottom: 1.8rem; flex: 1; }
.scard__link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 600; color: var(--gold); font-size: 0.98rem;
  align-self: flex-start;
}
.scard__link .arrow { transition: transform 0.4s var(--ease); }
.scard:hover .scard__link .arrow { transform: translateX(6px); }

@media (max-width: 820px) { .services { grid-template-columns: 1fr; } }

/* ---------- STATS / COUNTERS ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: left; padding-left: 1.6rem; border-left: 2px solid var(--paper-2); }
.stat__n {
  font-family: var(--display);
  font-size: clamp(3.2rem, 6vw, 5rem);
  line-height: 0.9;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.stat__n .pre, .stat__n .suf { color: var(--gold-deep); }
.stat__l { margin-top: 0.8rem; font-size: 0.92rem; color: var(--steel-dark); line-height: 1.5; max-width: 24ch; }

@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 1.5rem; } }
@media (max-width: 460px) { .stats { grid-template-columns: 1fr; } }

/* ---------- PROBLEM / SPLIT ---------- */
.split { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.split__text p { margin-bottom: 1.3rem; color: #2a3550; font-size: 1.08rem; line-height: 1.7; max-width: 54ch; }
.split__text p:first-child { font-size: 1.2rem; color: var(--navy); font-weight: 500; }
.checklist {
  background: var(--white);
  border: 1px solid var(--paper-2);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 20px 50px -30px rgba(0,27,78,0.25);
}
.checklist h4 { font-family: var(--display); font-size: 1.6rem; letter-spacing: 0.03em; color: var(--navy); margin-bottom: 1.4rem; font-weight: 600; }
.checklist li {
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--paper);
  font-size: 0.98rem; color: #2a3550;
}
.checklist li:last-child { border-bottom: none; }
.check {
  flex: none; width: 22px; height: 22px; margin-top: 1px;
  border-radius: 50%; background: rgba(138,227,242,0.22);
  display: grid; place-items: center; color: var(--gold-deep);
}
.check svg { width: 13px; height: 13px; }

@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- SECTORS ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); }
.sector {
  background: var(--navy);
  padding: 2.2rem 1.4rem;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem;
  transition: background 0.4s var(--ease);
}
.sector:hover { background: var(--navy-700); }
.sector__icon { width: 40px; height: 40px; color: var(--steel); transition: color 0.4s var(--ease), transform 0.4s var(--ease); }
.sector:hover .sector__icon { color: var(--gold); transform: translateY(-4px); }
.sector__icon svg { width: 100%; height: 100%; }
.sector span { font-size: 0.92rem; color: rgba(255,255,255,0.82); font-weight: 500; }

@media (max-width: 820px) { .sectors { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA BANNER ---------- */
.banner {
  position: relative;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.banner__bg { position: absolute; inset: 0; z-index: -2; opacity: 0.4; mix-blend-mode: luminosity; }
.banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(0,27,78,0.86), rgba(0,19,58,0.92));
}
.banner__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black, transparent 72%);
}
.banner .wrap { padding-block: clamp(5rem, 10vw, 8rem); position: relative; }
.banner h2 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.04; letter-spacing: -0.018em;
  max-width: 20ch; margin: 1.2rem auto 1.4rem;
}
.banner p { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: rgba(255,255,255,0.78); max-width: 56ch; margin: 0 auto 2.6rem; }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.pagehead {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding-top: clamp(9rem, 16vw, 13rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  isolation: isolate;
}
.pagehead__bg { position: absolute; inset: 0; z-index: -3; opacity: 0.28; mix-blend-mode: luminosity; }
.pagehead::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(0,19,58,0.95) 0%, rgba(0,19,58,0.7) 55%, rgba(0,27,78,0.4) 100%);
}
.pagehead__grid {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 80% at 75% 30%, black, transparent 75%);
}
.pagehead h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 1.0; letter-spacing: -0.02em;
  margin: 1.4rem 0 1.4rem; max-width: 20ch;
}
.pagehead p { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: rgba(255,255,255,0.78); max-width: 56ch; }
.crumbs { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); display: flex; gap: 0.6rem; align-items: center; }
.crumbs a:hover { color: var(--gold); }
.crumbs .sep { color: var(--gold); }

/* ---------- FEATURE LIST (systems page) ---------- */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--paper-2);
}
.feature:last-child { border-bottom: none; }
.feature.reverse .feature__media { order: 2; }
.feature__media .ph { aspect-ratio: 4/3; border-radius: var(--radius); }
.feature__num { font-family: var(--display); font-size: 1.2rem; color: var(--gold-deep); letter-spacing: 0.1em; }
.feature h3 { font-family: var(--display); font-size: clamp(2.1rem, 3.8vw, 3rem); color: var(--navy); margin: 0.6rem 0 1.1rem; letter-spacing: -0.015em; font-weight: 600; }
.feature p { color: var(--steel-dark); font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.4rem; max-width: 48ch; }
.feature__tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag {
  font-size: 0.82rem; padding: 0.4rem 0.9rem;
  border: 1px solid var(--paper-2); border-radius: 100px;
  color: var(--navy); background: var(--white);
}
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; gap: 1.8rem; }
  .feature.reverse .feature__media { order: 0; }
}

/* ---------- PROCESS STEPS ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--display); font-size: 2.6rem; color: var(--gold);
  position: absolute; top: -0.4rem; left: 0; line-height: 1;
}
.step::after {
  content: ""; position: absolute; top: 0.8rem; left: 3.4rem; right: -0.75rem; height: 1px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.25) 0 6px, transparent 6px 12px);
}
.steps .step:last-child::after { display: none; }
.section--white .step::after { background: repeating-linear-gradient(90deg, var(--paper-2) 0 6px, transparent 6px 12px); }
.step h4 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.step p { font-size: 0.92rem; opacity: 0.8; line-height: 1.55; }
.section--dark .step h4 { color: var(--white); }
.section--white .step h4 { color: var(--navy); }
.section--white .step p { color: var(--steel-dark); opacity: 1; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 1.5rem; } .step::after { display: none; } }
@media (max-width: 440px) { .steps { grid-template-columns: 1fr; } }

/* ---------- NORM / ITE highlight ---------- */
.norm {
  display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center;
  background: var(--navy); color: var(--white);
  border-radius: var(--radius); padding: clamp(2rem, 4vw, 3.2rem);
  border-left: 4px solid var(--gold);
}
.norm__code { font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 5vw, 4.2rem); color: var(--gold); line-height: 0.9; white-space: nowrap; }
.norm__text h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 0.6rem; }
.norm__text p { color: rgba(255,255,255,0.75); font-size: 1rem; max-width: 60ch; }
@media (max-width: 640px) { .norm { grid-template-columns: 1fr; gap: 1.2rem; } }

/* ---------- RISK GRID (ITE) ---------- */
.riskgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.risk {
  background: var(--white); border: 1px solid var(--paper-2); border-radius: var(--radius);
  padding: 2rem 1.8rem; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.risk:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -30px rgba(0,27,78,0.3); }
.risk__icon { width: 46px; height: 46px; color: var(--gold-deep); margin-bottom: 1.2rem; }
.risk__icon svg { width: 100%; height: 100%; }
.risk h4 { font-size: 1.15rem; color: var(--navy); margin-bottom: 0.6rem; }
.risk p { font-size: 0.94rem; color: var(--steel-dark); line-height: 1.6; }
@media (max-width: 820px) { .riskgrid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .riskgrid { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact__aside h2 { font-family: var(--display); font-size: clamp(2.2rem,4vw,3.2rem); color: var(--navy); margin-bottom: 1.2rem; letter-spacing: 0.01em; font-weight: 600; }
.contact__aside > p { color: var(--steel-dark); margin-bottom: 2.2rem; font-size: 1.05rem; max-width: 42ch; }
.contact__info li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-top: 1px solid var(--paper-2); }
.contact__info li:first-child { border-top: none; }
.contact__info .ic { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; }
.contact__info .ic svg { width: 19px; height: 19px; }
.contact__info .k { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-dark); }
.contact__info .v { font-size: 1.05rem; color: var(--navy); font-weight: 500; }

.form { background: var(--white); border: 1px solid var(--paper-2); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 2.8rem); box-shadow: 0 30px 70px -40px rgba(0,27,78,0.3); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; letter-spacing: 0.01em; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 0.98rem; color: var(--ink);
  padding: 0.85rem 1rem; border: 1.5px solid var(--paper-2); border-radius: var(--radius);
  background: var(--paper); transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-deep); background: var(--white);
  box-shadow: 0 0 0 4px rgba(138,227,242,0.25);
}
.field input.invalid, .field textarea.invalid, .field select.invalid { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192,57,43,0.1); }
.field .err { color: #c0392b; font-size: 0.8rem; margin-top: 0.4rem; display: none; }
.field .err.show { display: block; }
.form__consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.86rem; color: var(--steel-dark); margin-bottom: 1.6rem; }
.form__consent input { width: auto; margin-top: 0.2rem; accent-color: var(--gold-deep); }
.form__success {
  display: none; text-align: center; padding: 2rem 1rem;
}
.form__success.show { display: block; }
.form__success .ok { width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 50%; background: rgba(138,227,242,0.22); display: grid; place-items: center; color: var(--gold-deep); }
.form__success .ok svg { width: 30px; height: 30px; }
.form__success h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 0.6rem; }
.form__success p { color: var(--steel-dark); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--paper-2); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; padding: 1.5rem 0; font-size: 1.15rem; font-weight: 600; color: var(--navy); }
.faq__q .ic { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--paper-2); display: grid; place-items: center; position: relative; transition: background 0.3s ease, border-color 0.3s ease; }
.faq__q .ic::before, .faq__q .ic::after { content: ""; position: absolute; background: var(--navy); transition: transform 0.3s var(--ease), background 0.3s ease; }
.faq__q .ic::before { width: 12px; height: 2px; }
.faq__q .ic::after { width: 2px; height: 12px; }
.faq__item.open .faq__q .ic { background: var(--gold); border-color: var(--gold); }
.faq__item.open .faq__q .ic::before, .faq__item.open .faq__q .ic::after { background: var(--navy); }
.faq__item.open .faq__q .ic::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq__a p { padding: 0 0 1.5rem; color: var(--steel-dark); line-height: 1.7; max-width: 64ch; }

/* ---------- generic intro grid for inner pages ---------- */
.lead-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.lead-grid__media .ph { aspect-ratio: 5/4; border-radius: var(--radius); }
@media (max-width: 800px) { .lead-grid { grid-template-columns: 1fr; } }

/* ============================================================
   INNER FULL HERO (sistemas / ite)
   ============================================================ */
.hero--inner { min-height: 88svh; }
.hero--inner .hero__inner { padding-top: 10rem; padding-bottom: 6rem; }
.hero--inner h1 { font-size: clamp(2.6rem, 7vw, 5.8rem); margin: 1.4rem 0 1.6rem; max-width: 20ch; }
.hero--mid { min-height: auto; }
.hero--mid .hero__inner { padding-top: clamp(9rem, 16vw, 12rem); padding-bottom: clamp(4rem, 8vw, 6rem); }
.hero--mid h1 { font-size: clamp(2.6rem, 7vw, 5rem); }

/* ---------- 5-step horizontal process ---------- */
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.steps--5 .step { padding-top: 0; }
.steps--5 .step::before { display: none; }
.steps--5 .step::after { top: 25px; left: 64px; right: -0.75rem; }
.step__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.step__icon {
  width: 52px; height: 52px; flex: none; margin: 0;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(138,227,242,0.1);
  border: 1px solid rgba(138,227,242,0.25);
  color: var(--gold-deep);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.step__icon svg { width: 28px; height: 28px; }
.step:hover .step__icon { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.step__n { font-family: var(--display); font-weight: 600; font-size: 2.2rem; line-height: 1; color: var(--gold-deep); }
.step__tag { font-family: 'DM Mono', monospace; font-size: 0.68rem; letter-spacing: 0.16em; color: var(--gold-deep); display: block; margin-bottom: 0.4rem; }
@media (max-width: 1024px) { .steps--5 { grid-template-columns: repeat(3, 1fr); gap: 2.4rem 1.5rem; } .steps--5 .step::after { display: none; } }
@media (max-width: 680px) { .steps--5 { grid-template-columns: 1fr; } }

/* ---------- 9 system cards (3x3) ---------- */
.syscards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.syscard {
  background: var(--white);
  border: 1px solid var(--paper-2);
  border-bottom: 3px solid var(--paper-2);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.syscard:hover { transform: translateY(-12px); border-color: var(--gold); box-shadow: 0 40px 80px -30px rgba(0,27,78,0.5); }
.syscard__media { aspect-ratio: 3/2; position: relative; }
.syscard__media .ph { position: absolute; inset: 0; aspect-ratio: auto; }
.syscard__body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.syscard__tag { font-family: 'DM Mono', monospace; font-size: 0.66rem; letter-spacing: 0.16em; color: var(--gold-deep); margin-bottom: 0.7rem; }
.syscard h3 { font-size: 1.18rem; color: var(--navy); line-height: 1.2; margin-bottom: 0.7rem; letter-spacing: -0.01em; }
.syscard p { font-size: 0.92rem; color: var(--steel-dark); line-height: 1.6; }
@media (max-width: 920px) { .syscards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .syscards { grid-template-columns: 1fr; } }

/* ---------- arrow list (AR racking) ---------- */
.arrowlist li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 1.05rem; color: rgba(255,255,255,0.9);
}
.arrowlist li:last-child { border-bottom: none; }
.arrowlist .ar { color: var(--gold); font-family: var(--display); font-size: 1.4rem; line-height: 1.1; flex: none; }

/* ---------- dark info box (ITE qué dice la norma) ---------- */
.infobox {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  border-top: 4px solid var(--gold);
}
.infobox h3 { font-family: var(--display); font-size: 1.9rem; letter-spacing: 0.03em; color: var(--gold); font-weight: 600; margin-bottom: 0.4rem; }
.infobox .infobox__code { font-family: 'DM Mono', monospace; font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-bottom: 1.3rem; letter-spacing: 0.02em; }
.infobox ul { display: flex; flex-direction: column; gap: 0.9rem; }
.infobox li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.98rem; color: rgba(255,255,255,0.86); line-height: 1.5; }
.infobox li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 0.55rem; background: var(--gold); border-radius: 1px; transform: rotate(45deg); }

/* ---------- risk severity accent ---------- */
.risk--rojo .risk__icon { color: #d64a3a; }
.risk--rojo h4 { color: #b5392b; }
.risk--ambar .risk__icon { color: var(--gold); }
.risk--ambar h4 { color: var(--gold-deep); }

/* ---------- who-grid (para quién, 2x3) ---------- */
.whogrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); }
.who {
  background: var(--navy); padding: 2rem 1.6rem;
  display: flex; gap: 1.1rem; align-items: flex-start;
  transition: background 0.4s var(--ease);
}
.who:hover { background: var(--navy-700); }
.who__ic { flex: none; width: 38px; height: 38px; color: var(--gold); }
.who__ic svg { width: 100%; height: 100%; }
.who p { color: rgba(255,255,255,0.88); font-size: 0.98rem; line-height: 1.5; }
@media (max-width: 860px) { .whogrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .whogrid { grid-template-columns: 1fr; } }

/* ---------- vertical process (ITE, line on left) ---------- */
.vsteps { display: grid; gap: 0; max-width: 880px; }
.vstep { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.8rem; padding-bottom: 2.6rem; }
.vstep:last-child { padding-bottom: 0; }
.vstep__num {
  flex: none; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-size: 1.7rem;
  background: var(--navy); color: var(--gold); position: relative; z-index: 1;
}
.vstep::before {
  content: ""; position: absolute; left: 31px; top: 62px; bottom: 0; width: 2px;
  background: repeating-linear-gradient(var(--gold-deep) 0 6px, transparent 6px 14px);
  opacity: 0.5;
}
.vstep:last-child::before { display: none; }
.vstep h4 { font-size: 1.25rem; color: var(--navy); margin: 0.4rem 0 0.6rem; }
.vstep p { color: var(--steel-dark); line-height: 1.65; max-width: 60ch; }

/* ---------- map strip ---------- */
.mapstrip { position: relative; }
.mapstrip__cap {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  background: var(--navy); color: var(--white); padding: 1rem 1.8rem; border-radius: var(--radius);
  font-weight: 500; font-size: 1.05rem; z-index: 3; text-align: center;
  border-left: 3px solid var(--gold); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5);
}

/* ---------- custom cursor dot (desktop, fine pointer) ---------- */
.cursor-dot {
  position: fixed; top: 0; left: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%); transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s ease;
  mix-blend-mode: normal;
}
.cursor-ring {
  position: fixed; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid rgba(138,227,242,0.5); pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%); transition: transform 0.18s var(--ease), width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s ease;
}
.cursor-dot.hover { width: 0; height: 0; }
.cursor-ring.hover { width: 54px; height: 54px; border-color: var(--gold); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ============================================================
   ACCENT LIST (sobre fondos claros)
   ============================================================ */
.acclist li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 0; border-bottom: 1px solid var(--paper-2);
  font-size: 1.05rem; color: #2a3550;
}
.acclist li:last-child { border-bottom: none; }
.acclist .ar { color: var(--gold-deep); font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1; flex: none; }

/* ============================================================
   HOME — CREDENCIAL DISTRIBUIDOR OFICIAL AR RACKING
   ============================================================ */
.credential { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.credential__text .acclist { margin: 1.8rem 0 2.2rem; }
.credbadge {
  position: relative;
  background: #E30613;
  border-radius: var(--radius);
  padding: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.credbadge__grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, black, transparent 78%);
}
.credbadge > * { position: relative; z-index: 1; }
.credbadge__ar {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(7rem, 18vw, 13rem); line-height: 0.8;
  color: rgba(138,227,242,0.16); letter-spacing: 0.02em;
}
.credbadge__name {
  font-family: var(--body); font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: 0.42em;
  text-transform: uppercase; color: var(--white);
  margin-top: -0.6rem; padding-left: 0.42em;
}
.credbadge__line { width: 80px; height: 2px; background: rgba(255,255,255,0.45); margin: 1.6rem auto; }
.credbadge__sub { color: rgba(255,255,255,0.82); font-size: 0.92rem; letter-spacing: 0.05em; }
.credbadge__cert {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-top: 1.6rem; padding: 0.6rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.5); border-radius: 100px;
  color: rgba(255,255,255,0.9); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
}
@media (max-width: 820px) { .credential { grid-template-columns: 1fr; } }

/* ============================================================
   HOME — RAZONES (por qué confían)
   ============================================================ */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 3.5rem); }
.reason { position: relative; }
.reason__n { font-family: var(--display); font-weight: 600; font-size: clamp(3.5rem, 7vw, 5.5rem); line-height: 0.9; color: var(--gold-deep); }
.reason__line { width: 56px; height: 2px; background: var(--gold-deep); margin: 1rem 0 1.4rem; }
.reason h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 0.8rem; letter-spacing: -0.01em; }
.reason p { color: var(--steel-dark); font-size: 1rem; line-height: 1.7; max-width: 38ch; }
.section--dark .reason__n, .section--dark .reason__line { color: var(--gold); }
.section--dark .reason__line { background: var(--gold); }
.section--dark .reason h3 { color: var(--white); }
.section--dark .reason p { color: rgba(255,255,255,0.72); }
@media (max-width: 800px) { .reasons { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ============================================================
   HERO — credencial AR Racking (pill blanca)
   ============================================================ */
.hero__credential {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(255,255,255,0.96);
  border-radius: 100px;
  padding: 0.45rem 1.1rem 0.45rem 0.5rem;
  margin-bottom: 1.6rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.22);
}
.hero__ar-img { height: 26px; width: auto; display: block; }
.hero__credential span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 700;
}

/* ============================================================
   SECCIÓN "QUÉ HACEMOS" — dos paneles a ancho completo
   ============================================================ */
.svc-split { display: grid; grid-template-columns: 1fr 1fr; }
.svc-card {
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4.5rem);
  display: flex; flex-direction: column;
  min-height: 460px;
}
.svc-card--light { background: var(--white); border-top: 1px solid var(--paper-2); }
.svc-card--dark  { background: var(--navy); color: var(--white); }
.svc-card__eyebrow {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 2rem;
}
.svc-card--light .svc-card__eyebrow { color: var(--gold-deep); }
.svc-card--dark  .svc-card__eyebrow { color: var(--gold); }
.svc-card__icon {
  width: 54px; height: 54px; margin-bottom: 1.6rem;
}
.svc-card--light .svc-card__icon { color: var(--navy); }
.svc-card--dark  .svc-card__icon { color: var(--gold); }
.svc-card__icon svg { width: 100%; height: 100%; }
.svc-card h3 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.04; letter-spacing: -0.015em;
  margin-bottom: 1.2rem;
}
.svc-card--light h3 { color: var(--navy); }
.svc-card--dark  h3 { color: var(--white); }
.svc-card p { font-size: 1.05rem; line-height: 1.65; max-width: 42ch; margin-bottom: 2.4rem; }
.svc-card--light p { color: var(--steel-dark); }
.svc-card--dark  p { color: rgba(255,255,255,.78); }
.svc-card__link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 600; font-size: 0.98rem;
  margin-top: auto;
  transition: gap 0.3s var(--ease);
}
.svc-card--light .svc-card__link { color: var(--navy); }
.svc-card--dark  .svc-card__link { color: var(--gold); }
.svc-card:hover .svc-card__link { gap: 1rem; }
@media (max-width: 760px) {
  .svc-split { grid-template-columns: 1fr; }
  .svc-card { min-height: auto; }
}

/* ============================================================
   CREDBADGE — logo AR Racking real
   ============================================================ */
.credbadge__logo-wrap {
  display: flex; justify-content: center; margin-bottom: 1.2rem;
}
.credbadge__logo-wrap .ar-logo-card {
  background: white; border-radius: 10px;
  padding: 1.4rem 2.4rem; display: inline-block;
  box-shadow: 0 12px 48px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.2);
}
.credbadge__ar-logo { height: 120px; width: auto; display: block; }

/* ============================================================
   AR RACKING badge — para secciones oscuras
   ============================================================ */
.ar-section-badge {
  display: inline-flex; align-items: center; gap: 1rem;
  background: white; border-radius: var(--radius);
  padding: 0.9rem 1.6rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  margin-bottom: 2rem;
}
.ar-section-badge__logo { height: 40px; width: auto; display: block; }
.ar-section-badge__text {
  font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy); font-weight: 700; line-height: 1.5;
}

/* ============================================================
   ITE — sección de autoridad / experiencia
   ============================================================ */
.ite-authority {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.ite-authority__text > p {
  color: var(--steel-dark); font-size: 1.05rem; line-height: 1.7;
  max-width: 52ch; margin-bottom: 1.2rem;
}
.ite-authority__text > p:first-child { font-size: 1.2rem; color: var(--navy); font-weight: 500; }
.ite-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem;
}
.ite-stat {
  padding: 1.4rem 1.2rem;
  border-left: 3px solid var(--gold-deep);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 4px 20px -10px rgba(0,27,78,0.15);
}
.ite-stat__n {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 0.9; color: var(--navy); letter-spacing: -0.01em;
}
.ite-stat__n .pre, .ite-stat__n .suf { color: var(--gold-deep); font-size: 0.7em; }
.ite-stat__l { font-size: 0.84rem; color: var(--steel-dark); margin-top: 0.5rem; line-height: 1.4; }
@media (max-width: 820px) { .ite-authority { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .ite-stats { grid-template-columns: 1fr; } }

/* ============================================================
   CARRUSEL — sistemas (full-width, autoplay)
   ============================================================ */
.carousel {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  background: var(--navy-900);
}
.carousel__track {
  display: flex;
  transition: transform 0.65s var(--ease);
  will-change: transform;
}
.carousel__slide { flex: none; width: 100%; }
.carousel__slide .ph { aspect-ratio: 21/9; border-radius: 0; }
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(0,19,58,0.7); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18); color: white;
  display: grid; place-items: center; cursor: pointer; z-index: 3;
  transition: background 0.3s ease, transform 0.3s var(--ease);
}
.carousel__btn:hover { background: rgba(0,19,58,0.95); transform: translateY(-50%) scale(1.08); }
.carousel__btn--prev { left: 1rem; }
.carousel__btn--next { right: 1rem; }
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__dots {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem; z-index: 3;
}
.carousel__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.35); border: none; cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  padding: 0;
}
.carousel__dot.active { background: var(--gold); transform: scale(1.4); }

/* 3-up carousel variant */
.carousel--3up .carousel__slide { width: 33.333%; position: relative; }
.carousel--3up .carousel__slide .ph { aspect-ratio: 4/3; border-radius: 0; }
.carousel--3up .carousel__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.carousel--3up .carousel__slide__label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0.55rem 0.85rem;
  background: linear-gradient(transparent, rgba(0,19,58,0.88));
  color: rgba(255,255,255,0.92);
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.carousel--3up .carousel__dots { display: none; }

/* ============================================================
   SCARD — imágenes reales
   ============================================================ */
.scard__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.72;
  mix-blend-mode: luminosity;
  transition: opacity 0.5s ease, transform 0.7s var(--ease);
  display: block;
}
.scard:hover .scard__img { opacity: 0.85; transform: scale(1.04); }

/* ============================================================
   SECTION — AR Racking red
   ============================================================ */
.section.section--ar-red { background: #E30613 !important; color: #fff; }
.section--ar-red .section-title { color: #fff !important; }
.section--ar-red .eyebrow { color: rgba(255,255,255,0.75) !important; }
.section--ar-red .eyebrow::before,
.section--ar-red .eyebrow::after { background: rgba(255,255,255,0.4) !important; color: rgba(255,255,255,0.75) !important; }
.section--ar-red .split__text p { color: rgba(255,255,255,0.88); }
.section--ar-red .arrowlist li { color: rgba(255,255,255,0.88); }
.section--ar-red .arrowlist .ar { color: rgba(255,255,255,0.55); }
.section--ar-red .ar-section-badge { background: rgba(255,255,255,0.95); box-shadow: 0 4px 24px rgba(0,0,0,0.25); }
.section--ar-red .ar-section-badge__logo { filter: none; }
.section--ar-red .ar-section-badge__text { color: var(--navy); }

/* ============================================================
   AR FEATURES — 4 columnas características
   ============================================================ */
.ar-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.ar-feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.7rem;
  border: 1px solid rgba(0,27,78,0.07);
  box-shadow: 0 4px 20px -8px rgba(0,27,78,0.1);
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.ar-feature:hover { transform: translateY(-6px); box-shadow: 0 16px 40px -16px rgba(0,27,78,0.18); }
.ar-feature__icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: rgba(227,6,19,0.08);
  display: grid; place-items: center;
  color: #E30613; flex-shrink: 0;
}
.ar-feature__icon svg { width: 18px; height: 18px; }
.ar-feature h4 { font-size: 1rem; color: var(--navy); letter-spacing: -0.01em; line-height: 1.25; margin: 0; }
.ar-feature p { font-size: 0.86rem; color: var(--steel-dark); line-height: 1.65; margin: 0; }
@media (max-width: 900px) { .ar-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ar-features { grid-template-columns: 1fr; } }
