html {
  scroll-padding-top: 92px;
}

.site-header {
  grid-template-columns: auto minmax(0, 1fr);
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(3, 9, 13, 0.16);
  -webkit-backdrop-filter: blur(4px) saturate(1.05);
  backdrop-filter: blur(4px) saturate(1.05);
  box-shadow: none;
  transition: background-color 240ms ease, backdrop-filter 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(3, 9, 13, 0.84);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: rgba(39, 219, 243, 0.22);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.26);
}

.main-nav {
  justify-content: flex-end;
  gap: clamp(13px, 1.75vw, 28px);
}

.main-nav a {
  font-size: 9px;
  white-space: nowrap;
}

.hero-content {
  width: min(940px, 76vw);
}

.hero h1 {
  max-width: 940px;
  font-size: clamp(46px, 5.8vw, 84px);
  line-height: 0.96;
}

.hero h1 span {
  max-width: 900px;
  margin-top: 18px;
  color: var(--cyan);
  -webkit-text-stroke: 0;
  font-size: 0.57em;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.hero-lead {
  max-width: 760px;
}

.specializations {
  padding: 104px clamp(24px, 7vw, 112px);
  background: #edf2f3;
  color: #0a1419;
}

.specializations-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(300px, 1.25fr);
  align-items: end;
  gap: clamp(40px, 8vw, 130px);
  margin-bottom: 58px;
}

.specializations .section-kicker {
  color: #007e91;
}

.specializations-heading h2 {
  margin: 0;
  font-size: clamp(38px, 4.5vw, 66px);
  font-weight: 850;
  letter-spacing: -0.05em;
  line-height: 0.98;
  text-transform: uppercase;
}

.specialization-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #bac7ca;
  border-bottom: 1px solid #bac7ca;
}

.specialization-grid article {
  min-height: 320px;
  padding: 28px clamp(20px, 2.3vw, 34px) 34px;
  border-right: 1px solid #bac7ca;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.specialization-grid article:last-child {
  border-right: 0;
}

.specialization-grid article:hover {
  color: #f5f8f8;
  background: #071015;
  transform: translateY(-6px);
}

.specialization-grid article > span {
  color: #007e91;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.specialization-grid article:hover > span {
  color: var(--cyan);
}

.specialization-grid h3 {
  margin: 72px 0 18px;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 850;
  line-height: 1.05;
  text-transform: uppercase;
}

.specialization-grid p {
  margin: 0;
  color: #596970;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
}

.specialization-grid article:hover p {
  color: #aebfc5;
}

.service-grid-expanded .service-card-expanded {
  min-height: 640px;
}

.service-card-expanded > p {
  margin-bottom: 0;
}

.service-list {
  display: grid;
  gap: 9px;
  margin: 26px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid #bdc9cc;
}

.service-list li {
  color: #56676e;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  line-height: 1.35;
}

.service-list li::before {
  content: "+";
  margin-right: 9px;
  color: #008fa5;
  font-weight: 900;
}

.service-card-expanded:hover .service-list {
  border-top-color: rgba(39, 219, 243, 0.25);
}

.service-card-expanded:hover .service-list li {
  color: #b7c8cd;
}

.service-card-expanded:hover .service-list li::before {
  color: var(--cyan);
}

.service-card-power {
  background: #dce8ea;
}

.technology-section {
  padding: 126px clamp(24px, 7vw, 112px);
  background: #071015;
  color: #f4f8f9;
}

.technology-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: end;
  gap: clamp(48px, 10vw, 160px);
  margin-bottom: 66px;
}

.technology-heading h2,
.industries-heading h2,
.blog-heading h2 {
  margin: 20px 0 0;
  font-size: clamp(42px, 5.5vw, 78px);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-transform: uppercase;
}

.technology-heading > p,
.industries-heading > p,
.blog-heading > p {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
}

.technology-heading > p {
  color: #91a5ad;
}

.technology-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  min-height: 490px;
  background: #0e1b22;
  border: 1px solid rgba(39, 219, 243, 0.22);
}

.technology-feature-copy {
  padding: clamp(38px, 5vw, 72px);
}

.technology-feature-copy > span,
.technology-card > span {
  color: var(--cyan);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.technology-feature h3 {
  max-width: 650px;
  margin: 44px 0 24px;
  font-size: clamp(34px, 4.4vw, 64px);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 0.96;
  text-transform: uppercase;
}

.technology-feature p,
.technology-card p {
  margin: 0;
  color: #9fb1b7;
  font-family: Arial, sans-serif;
  font-size: 0.93rem;
  line-height: 1.7;
}

.technology-feature > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.08);
}

.technology-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 0;
}

.technology-list li {
  padding: 8px 10px;
  color: #c1d0d4;
  border: 1px solid #33464e;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.technology-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
  border-top: 1px solid #2b3b43;
  border-left: 1px solid #2b3b43;
}

.technology-card {
  min-height: 520px;
  padding: clamp(32px, 4vw, 54px);
  border-right: 1px solid #2b3b43;
  border-bottom: 1px solid #2b3b43;
}

.technology-card h3 {
  margin: 64px 0 22px;
  font-size: clamp(25px, 2.5vw, 36px);
  font-weight: 850;
  line-height: 1.02;
  text-transform: uppercase;
}

.technology-card ul {
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
  padding-top: 24px;
  border-top: 1px solid #2d414a;
}

.technology-card li {
  color: #bbcacd;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  line-height: 1.35;
}

.technology-card li::before {
  content: "+";
  margin-right: 9px;
  color: var(--cyan);
  font-weight: 900;
}

.technology-card-accent {
  color: #051014;
  background: var(--cyan);
}

.technology-card-accent > span,
.technology-card-accent li::before {
  color: #075b69;
}

.technology-card-accent p,
.technology-card-accent li {
  color: #173b43;
}

.technology-card-accent ul {
  border-top-color: rgba(5, 16, 20, 0.3);
}

.industries-section {
  padding: 120px clamp(24px, 7vw, 112px);
  background: #dce5e7;
  color: #091419;
}

.industries-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: clamp(48px, 10vw, 150px);
  margin-bottom: 62px;
}

.industries-section .section-kicker {
  color: #007e91;
}

.industries-heading > p {
  color: #53666d;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #aab9bd;
  border-left: 1px solid #aab9bd;
}

.industries-grid article {
  min-height: 160px;
  padding: 24px;
  border-right: 1px solid #aab9bd;
  border-bottom: 1px solid #aab9bd;
  transition: color 180ms ease, background-color 180ms ease;
}

.industries-grid article:hover {
  color: #f4f8f9;
  background: #0a171d;
}

.industries-grid span {
  color: #00869a;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.industries-grid article:hover span {
  color: var(--cyan);
}

.industries-grid h3 {
  margin: 54px 0 0;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.15;
  text-transform: uppercase;
}

.technical-capabilities {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(44px, 8vw, 110px);
  margin-top: 74px;
  padding: clamp(34px, 5vw, 66px);
  color: #f4f8f9;
  background: #0a171d;
}

.technical-capabilities span {
  color: var(--cyan);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.technical-capabilities h3 {
  margin: 26px 0 0;
  font-size: clamp(25px, 3vw, 42px);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-transform: uppercase;
}

.technical-capabilities ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 14px 24px;
  margin: 0;
}

.technical-capabilities li {
  padding-bottom: 12px;
  color: #b6c6ca;
  border-bottom: 1px solid #31434a;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
}

.technical-capabilities li::before {
  content: "+";
  margin-right: 8px;
  color: var(--cyan);
  font-weight: 900;
}

.technical-blog {
  padding: 122px clamp(24px, 7vw, 112px);
  background: #0a1115;
  color: #f4f8f9;
}

.blog-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: clamp(48px, 10vw, 150px);
  margin-bottom: 64px;
}

.blog-heading > p {
  color: #91a3aa;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #2b3b42;
  border-left: 1px solid #2b3b42;
}

.blog-grid article {
  min-height: 330px;
  padding: 30px;
  border-right: 1px solid #2b3b42;
  border-bottom: 1px solid #2b3b42;
  transition: background-color 180ms ease, transform 180ms ease;
}

.blog-grid article:hover {
  z-index: 1;
  background: #10222a;
  transform: translateY(-5px);
}

.blog-grid span {
  color: var(--cyan);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.blog-grid h3 {
  margin: 72px 0 22px;
  font-size: clamp(18px, 1.7vw, 25px);
  font-weight: 850;
  line-height: 1.08;
  text-transform: uppercase;
}

.blog-grid p {
  margin: 0;
  color: #8fa2aa;
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  line-height: 1.65;
}

.project-prompt {
  margin-top: 36px;
  padding: 26px;
  background: rgba(39, 219, 243, 0.07);
  border: 1px solid rgba(39, 219, 243, 0.24);
}

.project-prompt h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.contact-copy .project-prompt > p {
  margin: 0 0 18px;
  color: #9fb0b6;
  font-size: 0.86rem;
}

.project-prompt ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 20px;
  margin: 0;
}

.project-prompt li {
  color: #c4d1d5;
  font-family: Arial, sans-serif;
  font-size: 0.76rem;
}

.project-prompt li::before {
  content: "+";
  margin-right: 7px;
  color: var(--cyan);
  font-weight: 900;
}

@media (max-width: 1100px) {
  .specialization-grid,
  .industries-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .specialization-grid article:nth-child(2) {
    border-right: 0;
  }

  .specialization-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid #bac7ca;
  }

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

  .technology-card {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 132px;
  }

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

  .main-nav {
    position: absolute;
    top: 80px;
    left: 0;
    display: flex;
    justify-content: flex-start;
    width: 100%;
    padding: 13px 20px;
    overflow-x: auto;
    background: rgba(2, 7, 10, 0.94);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    scrollbar-width: thin;
  }

  .hero {
    padding-top: 184px;
  }

  .hero-content {
    width: 100%;
  }

  .specializations-heading,
  .technology-heading,
  .industries-heading,
  .blog-heading,
  .technology-feature,
  .technical-capabilities {
    grid-template-columns: 1fr;
  }

  .technology-feature > img {
    min-height: 320px;
    max-height: 440px;
  }

  .technical-capabilities ul {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 590px) {
  .hero h1 {
    font-size: clamp(40px, 13vw, 60px);
  }

  .hero h1 span {
    font-size: 0.56em;
  }

  .specializations,
  .technology-section,
  .industries-section,
  .technical-blog {
    padding: 82px 20px;
  }

  .specialization-grid,
  .industries-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .specialization-grid article {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid #bac7ca;
  }

  .specialization-grid article:last-child {
    border-bottom: 0;
  }

  .specialization-grid h3 {
    margin-top: 48px;
  }

  .service-grid-expanded .service-card-expanded {
    min-height: 590px;
  }

  .technology-feature-copy,
  .technology-card {
    padding: 30px 24px;
  }

  .technology-feature h3,
  .technology-card h3 {
    margin-top: 42px;
  }

  .technical-capabilities {
    margin-top: 54px;
    padding: 30px 24px;
  }

  .technical-capabilities ul,
  .project-prompt ul {
    grid-template-columns: 1fr;
  }

  .blog-grid article {
    min-height: 290px;
  }
}

/* Navegación activa y menú adaptable. */
.menu-toggle {
  display: none;
}

.main-nav a {
  position: relative;
  padding-block: 10px;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--cyan);
  opacity: 0;
  transform: scaleX(0.25);
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-nav a.is-active,
.main-nav a[aria-current="page"] {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(39, 219, 243, 0.48);
}

.main-nav a.is-active::after,
.main-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Ajustes de legibilidad para capacidades y tarjetas de experiencia. */
.technical-capabilities {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 56px);
}

.technical-capabilities h3 {
  max-width: 430px;
  font-size: clamp(22px, 2.15vw, 31px);
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 76px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    height: 74px;
    padding-inline: 20px;
  }

  .site-header .brand-logo {
    width: 150px;
  }

  .menu-toggle {
    display: inline-grid;
    width: 46px;
    height: 46px;
    padding: 12px 10px;
    cursor: pointer;
    border: 1px solid rgba(39, 219, 243, 0.34);
    background: rgba(5, 14, 18, 0.74);
    align-content: center;
    gap: 5px;
    justify-self: end;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #f4f8f9;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid !important;
    gap: 0;
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    background: rgba(3, 9, 13, 0.97);
    border-bottom: 1px solid rgba(39, 219, 243, 0.28);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.42);
    transform: translateY(-8px);
    transition: max-height 240ms ease, padding 240ms ease, opacity 180ms ease, transform 240ms ease, visibility 240ms;
  }

  .site-header.is-menu-open .main-nav {
    max-height: 520px;
    padding-block: 10px 16px;
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 15px 8px;
    color: #d4e0e3;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 12px;
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .main-nav a::after {
    top: 10px;
    right: auto;
    bottom: 10px;
    left: 0;
    width: 3px;
    height: auto;
    transform: scaleY(0.25);
  }

  .main-nav a.is-active::after,
  .main-nav a[aria-current="page"]::after {
    transform: scaleY(1);
  }

  .technical-capabilities {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 590px) {
  .technical-capabilities {
    gap: 28px;
    padding: 26px 22px;
  }

  .technical-capabilities h3 {
    font-size: clamp(21px, 7.4vw, 28px);
  }

  .technical-capabilities ul {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .specialization-grid article,
  .industries-grid article,
  .blog-grid article {
    transition: none;
  }
}

/* Recorrido editorial alineado con el menú principal. */
main {
  display: flex;
  flex-direction: column;
}

.site-header { order: 0; }
.hero { order: 1; }
.specializations { order: 2; }
.about { order: 3; }
.method { order: 4; }
.services { order: 5; }
.project-showcase { order: 6; }
.outcome-band { order: 7; }
.technology-section { order: 8; }
.industries-section { order: 9; }
.clients { order: 10; }
.technical-blog { order: 11; }
.contact { order: 12; }
.site-footer { order: 13; }

/* Ritmo vertical más compacto. */
.specializations {
  padding-block: 78px;
}

.section.services,
.project-showcase,
.section.method,
.technical-blog,
.contact {
  padding-block: 86px;
}

.technology-section {
  padding-block: 92px;
}

.industries-section {
  padding-block: 82px;
}

.outcome-band {
  padding-block: 70px;
}

.about-content {
  padding-block: 86px;
}

.about-rail {
  min-height: 0;
  padding-block: 70px;
}

.specializations-heading,
.technology-heading,
.industries-heading,
.blog-heading {
  margin-bottom: 44px;
}

.service-grid {
  margin-top: 50px;
}

.experience-carousel {
  margin-top: 44px;
}

.technical-capabilities {
  margin-top: 52px;
}

/* Carrusel de clientes integrado al bloque de Industrias. */
.clients {
  padding: 70px clamp(24px, 7vw, 112px) 54px;
  color: #f4f8f9;
  background:
    radial-gradient(circle at 82% 0%, rgba(39, 219, 243, 0.09), transparent 30%),
    #071015;
  border-top: 1px solid rgba(39, 219, 243, 0.2);
}

.clients-heading {
  margin-bottom: 38px;
}

.clients .section-kicker {
  color: var(--cyan);
}

.clients-heading h2 {
  color: #f4f8f9;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-transform: uppercase;
}

.clients-heading > p {
  color: #92a6ad;
}

.clients-heading-line {
  background: var(--cyan);
}

.client-logo {
  background: #edf2f3;
  border: 1px solid rgba(39, 219, 243, 0.18);
}

.client-card--contrast .client-logo {
  background: #102832;
}

.client-dot {
  background: #40535c;
}

.client-dot:hover,
.client-dot:focus-visible {
  background: #87a2ac;
}

.client-dot.is-active {
  background: var(--cyan);
}

@media (max-width: 900px) {
  .site-header {
    background: rgba(3, 9, 13, 0.7);
  }

  .site-header.is-scrolled {
    background: rgba(3, 9, 13, 0.94);
  }
}

@media (max-width: 590px) {
  .specializations,
  .section.services,
  .technology-section,
  .industries-section,
  .project-showcase,
  .section.method,
  .technical-blog,
  .contact,
  .clients {
    padding-block: 68px;
  }

  .outcome-band {
    padding-block: 60px;
  }

  .about-content {
    padding-block: 68px;
  }
}

/* Navegación principal con mayor legibilidad. */
.main-nav {
  gap: clamp(12px, 1.45vw, 23px);
}

.main-nav a {
  font-size: 10.5px;
}

/* Carrusel visual de áreas de especialización. */
.specialization-carousel {
  position: relative;
}

.specialization-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.specialization-controls p {
  margin: 0;
  color: #52656c;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.specialization-controls p span {
  color: #007e91;
}

.specialization-controls > div {
  display: flex;
  gap: 8px;
}

.specialization-controls button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: #0a1419;
  background: transparent;
  border: 1px solid #9caeb3;
  cursor: pointer;
  font: inherit;
  font-size: 1.2rem;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.specialization-controls button:hover,
.specialization-controls button:focus-visible {
  color: #041014;
  background: var(--cyan);
  border-color: var(--cyan);
}

.specialization-viewport {
  overflow: hidden;
  background: #071015;
  border: 1px solid #9caeb3;
}

.specialization-track {
  display: flex;
  transition: transform 620ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.specialization-slide {
  display: grid;
  flex: 0 0 100%;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  min-height: 410px;
  color: #f5f8f8;
}

.specialization-slide > img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.06);
}

.specialization-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 72px);
  background:
    radial-gradient(circle at 100% 0%, rgba(39, 219, 243, 0.13), transparent 40%),
    #071015;
}

.specialization-copy > span {
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.specialization-copy h3 {
  margin: 32px 0 18px;
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-transform: uppercase;
}

.specialization-copy p {
  max-width: 520px;
  margin: 0;
  color: #aebfc5;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

.specialization-copy--rf {
  align-items: center;
  padding-inline: clamp(28px, 4vw, 58px);
  text-align: center;
}

.specialization-copy--rf h3 {
  max-width: 100%;
  font-size: clamp(24px, 2.35vw, 38px);
  letter-spacing: -0.02em;
  line-height: 1.06;
}

.specialization-copy--rf p {
  max-width: 440px;
}

.specialization-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
}

.specialization-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  background: #9caeb3;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: width 180ms ease, background-color 180ms ease;
}

.specialization-dot.is-active {
  width: 28px;
  background: #007e91;
  border-radius: 5px;
}

/* Iconografía para industrias y aplicaciones. */
.industries-grid article {
  min-height: 190px;
  padding: 22px 24px 24px;
}

.industries-grid article img {
  display: block;
  width: 38px;
  height: 38px;
  margin-top: 22px;
  opacity: 0.72;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.industries-grid h3 {
  margin-top: 20px;
}

.industries-grid article:hover img {
  filter: brightness(0) saturate(100%) invert(80%) sepia(89%) saturate(1434%) hue-rotate(144deg) brightness(96%) contrast(97%);
  opacity: 1;
  transform: translateY(-3px);
}

/* Redes sociales del pie de página. */
.footer-socials a,
.footer-social-pending {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #071015;
  background: #f4f8f9;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
}

.footer-socials img {
  width: 18px;
  height: 18px;
}

.footer-social-pending {
  opacity: 0.46;
  cursor: default;
  border-style: dashed;
}

@media (max-width: 900px) {
  .specialization-slide {
    grid-template-columns: 1fr;
  }

  .specialization-slide > img {
    height: 300px;
    min-height: 300px;
  }

  .specialization-copy {
    min-height: 300px;
  }
}

@media (max-width: 590px) {
  .specialization-slide > img {
    height: 230px;
    min-height: 230px;
  }

  .specialization-copy {
    min-height: 290px;
    padding: 30px 24px;
  }

  .specialization-copy h3 {
    margin-top: 24px;
    font-size: clamp(27px, 10vw, 40px);
  }

  .specialization-copy--rf h3 {
    font-size: clamp(24px, 8.2vw, 32px);
  }

  .specialization-copy--rf p {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .industries-grid article {
    min-height: 172px;
  }
}

/* Prioridad final de legibilidad para el bloque de capacidades. */
.technical-capabilities {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 56px);
}

.technical-capabilities h3 {
  max-width: 430px;
  font-size: clamp(22px, 2.15vw, 31px);
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

@media (max-width: 900px) {
  .technical-capabilities {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 590px) {
  .technical-capabilities {
    gap: 28px;
    padding: 26px 22px;
  }

  .technical-capabilities h3 {
    font-size: clamp(21px, 7.4vw, 28px);
  }

  .technical-capabilities ul {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .specialization-track,
  .specialization-controls button,
  .specialization-dot,
  .industries-grid article img {
    transition: none;
  }
}

/* Ritmo compacto: menos espacios y títulos ligeramente menores. */
.specializations {
  padding-block: 62px;
}

.section.services,
.project-showcase,
.section.method,
.technical-blog,
.contact {
  padding-block: 68px;
}

.technology-section,
.industries-section {
  padding-block: 70px;
}

.outcome-band,
.about-rail {
  padding-block: 56px;
}

.about-content {
  padding-block: 68px;
}

.clients {
  padding-top: 54px;
  padding-bottom: 44px;
}

.site-footer .footer-main {
  padding-top: 62px;
  padding-bottom: 52px;
}

.specializations-heading,
.technology-heading,
.industries-heading,
.blog-heading {
  gap: clamp(28px, 6vw, 86px);
  margin-bottom: 32px;
}

.section-intro,
.project-heading,
.method-heading {
  column-gap: clamp(32px, 7vw, 110px);
}

.section-intro .section-kicker,
.project-heading .section-kicker,
.about-content .section-kicker,
.contact-copy .section-kicker {
  margin-bottom: 16px;
}

.section-intro h2,
.outcome-copy h2,
.method h2,
.about h2,
.contact h2,
.project-heading h2 {
  font-size: clamp(36px, 4.35vw, 64px);
}

.specializations-heading h2 {
  font-size: clamp(34px, 4vw, 58px);
}

.technology-heading h2,
.industries-heading h2,
.blog-heading h2,
.clients-heading h2 {
  font-size: clamp(36px, 4.5vw, 64px);
}

.service-grid {
  margin-top: 36px;
}

.service-grid-expanded .service-card-expanded {
  min-height: 560px;
}

.service-card h3 {
  margin-top: 42px;
  font-size: 22px;
}

.service-list {
  gap: 7px;
  margin-top: 20px;
  padding-top: 16px;
}

.experience-carousel {
  margin-top: 30px;
}

.specialization-slide {
  min-height: 370px;
}

.specialization-slide > img {
  min-height: 370px;
}

.specialization-copy {
  padding: clamp(30px, 4vw, 56px);
}

.specialization-copy h3 {
  margin-top: 24px;
  font-size: clamp(26px, 2.8vw, 42px);
}

.specialization-copy--rf h3 {
  font-size: clamp(23px, 2.15vw, 34px);
}

.technology-feature {
  min-height: 430px;
}

.technology-feature-copy {
  padding: clamp(32px, 4vw, 56px);
}

.technology-feature h3 {
  margin: 30px 0 18px;
  font-size: clamp(30px, 3.8vw, 54px);
}

.technology-list {
  margin-top: 22px;
}

.technology-card {
  min-height: 450px;
  padding: clamp(28px, 3vw, 42px);
}

.technology-card h3 {
  margin: 42px 0 18px;
  font-size: clamp(23px, 2.25vw, 32px);
}

.technology-card ul {
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
}

.industries-grid article {
  min-height: 154px;
  padding: 18px 20px 20px;
}

.industries-grid article img {
  width: 34px;
  height: 34px;
  margin-top: 14px;
}

.industries-grid h3 {
  margin-top: 14px;
  font-size: 0.94rem;
}

.technical-capabilities {
  gap: clamp(30px, 6vw, 78px);
  margin-top: 48px;
  padding: clamp(30px, 4vw, 50px);
}

.technical-capabilities h3 {
  margin-top: 20px;
  font-size: clamp(23px, 2.6vw, 36px);
}

.technical-capabilities ul {
  gap: 10px 20px;
}

.blog-grid article {
  min-height: 284px;
  padding: 24px;
}

.blog-grid h3 {
  margin: 48px 0 17px;
  font-size: clamp(17px, 1.5vw, 22px);
}

.technical-capabilities,
.project-prompt,
.contact-points {
  margin-bottom: 0;
}

.project-prompt {
  margin-top: 28px;
  padding: 22px;
}

.contact-copy > p:not(.section-kicker) {
  margin-top: 24px;
}

.contact-points {
  margin-top: 34px;
}

.contact-form {
  gap: 19px;
  padding: clamp(26px, 3.4vw, 42px);
}

.clients-heading {
  margin-bottom: 28px;
}

.client-dots {
  margin-top: 24px;
}

@media (max-width: 900px) {
  .specializations,
  .section.services,
  .technology-section,
  .industries-section,
  .project-showcase,
  .section.method,
  .technical-blog,
  .contact,
  .clients {
    padding-block: 56px;
  }

  .about-content {
    padding-block: 56px;
  }

  .specialization-slide > img {
    min-height: 260px;
    height: 260px;
  }

  .specialization-copy {
    min-height: 260px;
  }
}

@media (max-width: 590px) {
  .specializations,
  .section.services,
  .technology-section,
  .industries-section,
  .project-showcase,
  .section.method,
  .technical-blog,
  .contact,
  .clients {
    padding-block: 48px;
  }

  .about-content {
    padding-block: 48px;
  }

  .specializations-heading,
  .technology-heading,
  .industries-heading,
  .blog-heading {
    margin-bottom: 26px;
  }

  .section-intro h2,
  .outcome-copy h2,
  .method h2,
  .about h2,
  .contact h2,
  .project-heading h2,
  .technology-heading h2,
  .industries-heading h2,
  .blog-heading h2,
  .clients-heading h2,
  .specializations-heading h2 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .service-grid-expanded .service-card-expanded {
    min-height: 500px;
  }

  .industries-grid article {
    min-height: 145px;
  }
}

/* Carrusel de especialidades más bajo y proporcionado. */
@media (min-width: 901px) {
  .specialization-track,
  .specialization-slide {
    height: 320px;
  }

  .specialization-slide {
    min-height: 0;
  }

  .specialization-slide > img {
    height: 320px;
    min-height: 0;
    object-position: center 42%;
  }

  .specialization-copy {
    min-height: 0;
    height: 320px;
    padding: clamp(26px, 3.2vw, 44px);
  }

  .specialization-copy h3 {
    margin: 18px 0 14px;
  }

  .specialization-copy p {
    line-height: 1.55;
  }
}

@media (max-width: 900px) {
  .specialization-slide > img {
    height: 225px;
    min-height: 225px;
  }

  .specialization-copy {
    min-height: 230px;
    padding: 26px 28px;
  }
}

@media (max-width: 590px) {
  .specialization-slide > img {
    height: 190px;
    min-height: 190px;
  }

  .specialization-copy {
    min-height: 215px;
    padding: 24px 22px;
  }

  .specialization-copy h3 {
    margin: 16px 0 12px;
    font-size: clamp(25px, 8.8vw, 36px);
  }
}
.service-page-link{display:inline-flex;align-items:center;margin-top:18px;color:#008ea5;text-decoration:none;text-transform:uppercase;font-size:11px;font-weight:900;letter-spacing:.12em;border-bottom:1px solid currentColor;padding-bottom:5px}
.service-card-power .service-page-link,.technology-section .service-page-link{color:#18d3ec}
.service-page-link:hover{color:#fff}
