/* Prospectiva
   Azul de marca #007ff2. Gris #514A48, lima #DDF52D, fondo #F4F6F7.
   El lima no se usa como color de texto sobre blanco. */

:root {
  --blue: #007ff2;
  --blue-deep: #0068d0;
  --blue-tint: #e8f3ff;
  --ink: #514a48;
  --heading: #16181b;
  --muted: #514a48;
  --line: #e3e6e8;
  --bg: #ffffff;
  --soft: #f4f6f7;
  --lime: #ddf52d;
  --night: #070b12;
  --header-h: 4.75rem;
  --max: 75rem;
  --sans: Inter, "Segoe UI", sans-serif;
  --radius: 1.25rem;
  --radius-lg: 1.75rem;
  --shadow: 0 1px 2px rgba(22, 24, 27, 0.04), 0 12px 32px rgba(22, 24, 27, 0.06);
  --shadow-hover: 0 1px 2px rgba(22, 24, 27, 0.05), 0 18px 40px rgba(0, 104, 208, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

figure {
  margin: 0;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

address {
  font-style: normal;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--heading);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.1rem);
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.65rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--heading);
  color: #fff;
  padding: 0.55rem 0.8rem;
  z-index: 30;
  border-radius: 0.4rem;
}

.skip-link:focus {
  transform: none;
}

.shell {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}

/* Secciones */

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  scroll-margin-top: var(--header-h);
}

.section--soft {
  background: var(--soft);
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .intro {
  margin-inline: auto;
}

.section-head > :last-child {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 0.3rem;
  border-radius: 999px;
  background: var(--lime);
}

.eyebrow--light {
  color: #fff;
}

.lead {
  max-width: 42rem;
  font-size: 1.12rem;
  color: var(--muted);
}

.intro {
  max-width: 44rem;
  font-size: 1.08rem;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-bar {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.wordmark img {
  height: 3.15rem;
  width: auto;
}

.site-footer .wordmark img {
  height: 4.6rem;
}

.site-nav ul,
.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
}

.site-nav a {
  color: var(--heading);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--blue);
}

.site-footer a:hover,
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

/* Botones */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.5rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.button:hover {
  background: var(--blue-deep);
  text-decoration: none;
}

.button--large {
  min-height: 3.1rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.98rem;
}

.button--ghost {
  background: #fff;
  color: var(--blue);
  box-shadow: inset 0 0 0 1.5px var(--blue);
}

.button--ghost:hover {
  background: var(--blue-tint);
}

.button--light {
  background: #fff;
  color: var(--blue);
}

.button--light:hover {
  background: var(--lime);
  color: var(--heading);
}

.button--outline-light {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
}

.button--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1.5px #fff;
}

.header-end .button {
  font-size: 0.86rem;
  padding-inline: 1rem;
}

.text-link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 0.18em;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 0.95rem;
  height: 1.5px;
  margin-inline: auto;
  background: var(--heading);
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -5px;
}

.nav-toggle__bars::after {
  top: 5px;
}

.button:focus-visible,
.nav-toggle:focus-visible,
.wordmark:focus-visible,
a:focus-visible,
summary:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.section--dark :focus-visible,
.hero :focus-visible,
.contact-band :focus-visible {
  outline-color: var(--lime);
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(48rem, calc(100svh - var(--header-h)));
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(7rem, 12vw, 9rem);
  overflow: hidden;
  background: var(--night);
  color: rgba(255, 255, 255, 0.82);
}

.hero__media {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -2;
  width: min(72%, 70rem);
  height: 100%;
  object-fit: cover;
  object-position: 40% center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60rem 30rem at 0% 100%, rgba(0, 127, 242, 0.28), transparent 60%),
    linear-gradient(90deg, rgba(7, 11, 18, 0.96) 0%, rgba(7, 11, 18, 0.82) 42%, rgba(7, 11, 18, 0.2) 75%, rgba(7, 11, 18, 0.35) 100%);
}

.hero__content {
  position: relative;
}

.hero h1 {
  max-width: 46rem;
  color: #fff;
}

.hero .lead {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero__support {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.75rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.hero__support::before {
  content: "";
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(221, 245, 45, 0.18);
}

/* Experiencia */

.experience {
  position: relative;
  z-index: 2;
  margin-top: clamp(-5rem, -7vw, -3.5rem);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(7, 11, 18, 0.14);
  overflow: hidden;
}

.facts li {
  padding: 1.75rem 1.6rem;
  color: var(--heading);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.facts li + li {
  border-left: 1px solid var(--line);
}

.facts li::before {
  content: "";
  display: block;
  width: 2rem;
  height: 0.3rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--blue);
}

.facts li:nth-child(2n)::before {
  background: var(--lime);
}

/* Tarjetas base */

.need-grid,
.industry-grid,
.capabilities,
.services,
.regions {
  display: grid;
  gap: 1.25rem;
}

.need-grid,
.services {
  grid-template-columns: repeat(3, 1fr);
}

.industry-grid,
.capabilities {
  grid-template-columns: repeat(4, 1fr);
}

.regions {
  grid-template-columns: repeat(3, 1fr);
}

.need,
.industry,
.service,
.region,
.group,
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.need,
.industry,
.service,
.region {
  padding: clamp(1.4rem, 2.4vw, 2rem);
}

.need p,
.industry p,
.service p,
.capability p,
.solution p {
  margin-bottom: 0;
  color: var(--muted);
}

.need {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.need h3 {
  margin-top: 1.25rem;
}

.need:hover {
  border-color: rgba(0, 127, 242, 0.45);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.need__go {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
}

.need__go::after {
  content: "→";
  transition: transform 0.2s ease;
}

.need:hover .need__go::after {
  transform: translateX(3px);
}

.icon-tile {
  flex: none;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
  background: var(--blue-tint);
  color: var(--blue);
}

.icon-tile svg {
  width: 1.4rem;
  height: 1.4rem;
}

.icon-tile--small {
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
}

.icon-tile--small svg {
  width: 1.2rem;
  height: 1.2rem;
}

/* Cabecera con imagen */

.feature-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.feature-head .section-head {
  margin-bottom: 0;
}

.feature-head--reverse .media {
  order: -1;
}

.media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #f2f2f1;
  box-shadow: var(--shadow);
}

.media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.banner {
  overflow: hidden;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-lg);
  background: #f2f2f1;
  box-shadow: var(--shadow);
}

.banner img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
}

/* Grupos de soluciones */

.groups {
  display: grid;
  gap: 1.25rem;
}

.group {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.group__head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.group__head h3 {
  margin: 0;
  font-size: 1.3rem;
}

.solutions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(1.5rem, 3vw, 2.5rem);
}

.solution {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.solutions > .solution:nth-child(-n + 2) {
  border-top: 0;
  padding-top: 0;
}

.solution .text-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.95rem;
}

.more {
  margin-top: 0.75rem;
}

.more summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.more summary::-webkit-details-marker {
  display: none;
}

.more summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: var(--blue-tint);
  font-size: 0.95rem;
  line-height: 1;
}

.more[open] summary::after {
  content: "−";
}

.more p {
  margin: 0.75rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.98rem;
}

details .when-open {
  display: none;
}

details[open] .when-open {
  display: inline;
}

details[open] .when-closed {
  display: none;
}

/* Barra de llamada a la acción */

.cta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: 1.5rem;
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--heading);
  color: rgba(255, 255, 255, 0.85);
}

.cta-bar p {
  max-width: 44rem;
  margin: 0;
  font-size: 1.05rem;
}

.cta-bar--end {
  justify-content: flex-end;
  padding: 0;
  background: none;
}

.cta-bar .modes li {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.cta-bar .modes li::before {
  background: var(--lime);
}

/* Soluciones destacadas */

.carousel {
  position: relative;
}

.carousel__viewport {
  overflow: hidden;
}

.carousel__track {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
}

.carousel__track > .feature {
  flex: 0 0 calc((100% - 1.5rem) / 2);
}

.carousel__arrow {
  position: absolute;
  top: calc(50% - 1.6rem);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--heading);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.carousel__arrow svg {
  width: 1.15rem;
  height: 1.15rem;
}

.carousel__arrow:hover {
  color: var(--blue);
  border-color: rgba(0, 127, 242, 0.4);
}

.carousel__arrow--prev {
  left: -1.15rem;
}

.carousel__arrow--next {
  right: -1.15rem;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.35rem;
}

.carousel__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d3d7da;
  cursor: pointer;
}

.carousel__dot[aria-current="true"] {
  width: 1.55rem;
  background: var(--blue);
}

.feature {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.feature__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #f2f2f1;
}

.feature__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.feature h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.feature__body > p {
  color: var(--muted);
}

.feature__body > .kicker {
  margin-bottom: 0.6rem;
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 600;
}

.checks {
  display: grid;
  gap: 0.6rem;
  margin: 0.25rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 1.85rem;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007ff2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 0.75rem no-repeat;
}

.feature__cta {
  align-self: flex-start;
  margin-top: auto;
}

.feature__body > .checks + .feature__cta,
.feature__body > .more + .feature__cta {
  margin-top: 1.75rem;
}

/* Sección oscura */

.section--dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--night);
  color: rgba(255, 255, 255, 0.78);
}

.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40rem 26rem at 100% 0%, rgba(0, 127, 242, 0.3), transparent 65%),
    radial-gradient(30rem 20rem at 0% 100%, rgba(0, 127, 242, 0.16), transparent 70%);
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section--dark .intro {
  color: rgba(255, 255, 255, 0.78);
}

.section--dark .media {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.note-inline {
  display: inline-block;
  margin: 0.5rem 0 0;
  padding: 0.6rem 0.9rem;
  border-left: 3px solid var(--lime);
  border-radius: 0 0.6rem 0.6rem 0;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
}

.capability {
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.capability .icon-tile {
  margin-bottom: 1.25rem;
  background: rgba(0, 127, 242, 0.2);
  color: #7dc0ff;
}

.section--dark .capability p {
  color: rgba(255, 255, 255, 0.7);
}

/* Consultoría */

.services {
  counter-reset: service;
}

.service {
  position: relative;
}

.service::before {
  counter-increment: service;
  content: counter(service, decimal-leading-zero);
  display: block;
  margin-bottom: 1.25rem;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.cta-bar--stack > div {
  display: grid;
  gap: 1rem;
  max-width: 46rem;
}

.modes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.cta-bar .modes {
  margin: 0;
}

.modes li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--soft);
  color: var(--heading);
  font-weight: 600;
  font-size: 0.92rem;
}

.modes li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--blue);
}

/* Industrias y regiones */

.industry:last-child {
  grid-column: span 2;
}

.industry h3,
.region h3 {
  font-size: 1.1rem;
}

.region h3 {
  margin-bottom: 1.1rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--heading);
  font-size: 0.92rem;
}

/* Metodología */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 0 0 6px var(--blue-tint);
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 3.1rem;
  left: 5.25rem;
  right: -1.25rem;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(0, 127, 242, 0.35) 0 6px, transparent 6px 12px);
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
}

/* Video */

.video-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.video-layout .section-head {
  margin-bottom: 0;
}

.video-note {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
}

.video {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 6px solid #fff;
  border-radius: var(--radius-lg);
  background: var(--night);
  box-shadow: 0 30px 70px rgba(7, 11, 18, 0.18);
}

.video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Preguntas frecuentes */

.faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.faq-layout .section-head {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  margin-bottom: 0;
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq details[open] {
  border-color: rgba(0, 127, 242, 0.35);
  box-shadow: var(--shadow);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  color: var(--heading);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: var(--blue-tint);
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
  background: var(--blue);
  color: #fff;
}

.faq details p {
  margin: 0;
  padding: 0 1.35rem 1.25rem;
  color: var(--muted);
}

/* Contacto */

.contact-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--blue);
  color: rgba(255, 255, 255, 0.9);
}

.contact-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(36rem 24rem at 100% 100%, rgba(255, 255, 255, 0.16), transparent 65%),
    radial-gradient(30rem 20rem at 0% 0%, rgba(0, 0, 0, 0.12), transparent 70%);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.contact-copy h2 {
  color: #fff;
}

.contact-copy .lead {
  color: rgba(255, 255, 255, 0.9);
}

.copy-status {
  min-height: 1.4rem;
  margin: 0.75rem 0 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-hint {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.contact-card {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 40, 90, 0.28);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  color: var(--heading);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

a.contact-item:hover {
  background: var(--soft);
}

.contact-item + .contact-item {
  border-top: 1px solid var(--line);
}

.contact-item:last-child {
  font-weight: 500;
  font-size: 0.98rem;
}

.contact-item__label {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

/* Footer */

.site-footer {
  padding: 3.5rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.footer-note {
  max-width: 22rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.footer-label {
  margin: 0 0 0.7rem;
  color: var(--heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 0.4rem;
}

.site-footer a {
  color: var(--heading);
  text-decoration: none;
}

.legal-links {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.2rem;
}

.legal-links a[aria-current="page"] {
  font-weight: 700;
}

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-base p {
  margin: 0;
}

/* Páginas legales */

.note {
  padding: 0.9rem 1rem;
  background: var(--soft);
  border-radius: 0.85rem;
  color: var(--muted);
}

.legal {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 4rem;
}

.legal__article {
  max-width: 46rem;
}

.legal__article h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.legal__article h2 {
  font-size: 1.35rem;
  margin: 1.8rem 0 0.5rem;
}

.legal__article ul {
  padding-left: 1.15rem;
}

.legal__article a {
  color: var(--blue);
}

.legal .note {
  margin-bottom: 1rem;
}

/* Responsivo */

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

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps li::after {
    display: none;
  }

  .group {
    grid-template-columns: 1fr;
  }

  .group__head {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 0.4rem 1.25rem 1rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(22, 24, 27, 0.08);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0;
  }

  .header-bar {
    grid-template-columns: 1fr auto;
  }

  .facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .facts li:nth-child(3) {
    border-left: 0;
  }

  .facts li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .need-grid,
  .services {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-layout,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .faq-layout .section-head {
    position: static;
  }
}

@media (max-width: 860px) {
  .shell {
    width: min(var(--max), calc(100% - 2.5rem));
  }

  .hero {
    align-items: flex-end;
    min-height: 0;
    padding-top: 15rem;
  }

  .hero__media {
    width: 100%;
    height: 22rem;
    inset: 0 0 auto 0;
    object-position: 55% center;
    -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
  }

  .hero::before {
    background:
      radial-gradient(40rem 24rem at 0% 100%, rgba(0, 127, 242, 0.25), transparent 60%),
      linear-gradient(180deg, rgba(7, 11, 18, 0.15) 0%, rgba(7, 11, 18, 0.7) 40%, var(--night) 62%);
  }

  .feature-head,
  .need-grid,
  .services,
  .regions,
  .solutions,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-head--reverse .media {
    order: 0;
  }

  .feature-head .media {
    order: -1;
  }

  .solutions > .solution:nth-child(2) {
    border-top: 1px solid var(--line);
    padding-top: 1.25rem;
  }

  .carousel__track > .feature {
    flex-basis: 100%;
  }

  .carousel__arrow--prev {
    left: 0.35rem;
  }

  .carousel__arrow--next {
    right: 0.35rem;
  }

  .wordmark img {
    height: 2.7rem;
  }

  .header-end .button {
    max-width: 9.5rem;
  }
}

@media (max-width: 560px) {
  .facts,
  .industry-grid,
  .capabilities,
  .steps {
    grid-template-columns: 1fr;
  }

  .facts li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .industry:last-child {
    grid-column: auto;
  }

  .facts li {
    padding: 1.25rem 1.4rem;
  }

  .group__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .actions .button {
    width: 100%;
  }

  .feature__cta {
    align-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
