/* ==========================================================================
   ATCI — hoja de estilos principal
   1. Variables
   2. Reset y base
   3. Utilidades de layout
   4. Componentes (botones, tags, tarjetas, formulario)
   5. Secciones
   6. Animaciones
   7. Responsive
   ========================================================================== */

/* 1. Variables ----------------------------------------------------------- */
:root {
  --cyan: #1AC4F4;
  --cyan-light: #3DD4F7;
  --cyan-soft: #5FD6F9;
  --cyan-dark: #0EA8D6;
  --cyan-deep: #0C86AD;
  --cyan-deeper: #0C9CC9;
  --accent-green: #B6FF3C;
  --accent-green-soft: #D2FF9C;

  --ink: #10151a;
  --ink-strong: #0B1620;
  --navy: #0A1622;
  --navy-mid: #0E2233;
  --navy-light: #123B52;
  --window: #12202E;

  --muted-bg: #F5F9FB;
  --muted-bg-alt: #EDF4F6;
  --white: #ffffff;

  --line: rgba(16, 21, 26, .08);
  --line-strong: rgba(16, 21, 26, .15);
  --text-soft: rgba(16, 21, 26, .8);
  --text-softer: rgba(16, 21, 26, .45);
  --on-dark: rgba(255, 255, 255, .7);
  --on-dark-soft: rgba(255, 255, 255, .55);
  --line-dark: rgba(255, 255, 255, .1);

  --font-display: 'myriad-pro', system-ui, sans-serif;
  --font-body: 'myriad-pro', system-ui, sans-serif;
  --font-mono: 'myriad-pro', system-ui, sans-serif;


  --container: 1180px;
  --radius-sm: 0px;
  --radius: 0px;
  --radius-lg: 0px;
  --radius-xl: 0px;

  --shadow-card: none;
  --shadow-card-lg: none;
  --shadow-window: 0 40px 80px -24px rgba(0, 0, 0, .65);
  --shadow-float: 0 20px 40px rgba(0, 0, 0, .25);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* 2. Reset y base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: pretty; }
p { margin: 0; }
ul, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
img, svg { display: block; max-width: 100%; }

a { color: var(--cyan-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--cyan-deep); }

/* 3. Utilidades de layout ------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section--tight { padding: 0 0 80px; }
.section--about { padding: 24px 0 96px; }
.section--muted { background: var(--muted-bg); }
.section--dark { background: var(--navy); }
.section--rse { background: linear-gradient(160deg, var(--navy-light) 0%, var(--navy-mid) 60%, var(--navy) 100%); }
.section--rse .h2 { color: white; }
.section--careers { background: linear-gradient(160deg, var(--cyan-light) 0%, var(--cyan) 55%, var(--cyan-deeper) 100%); }

.section-head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.section-head--dark { margin-bottom: 48px; }

.split { display: flex; align-items: center; gap: 34px; flex-wrap: wrap-reverse; }
.split--rse, .split--contact { flex-wrap: wrap; align-items: flex-start; }
.split--rse { align-items: center; }
.split__media { flex: 1 1 380px; min-width: 300px; }
.split__copy { flex: 1 1 420px; min-width: 300px; }
.split__form { flex: 1 1 380px; min-width: 300px; }

.eyebrow {
  display: flex; align-items: baseline; gap: 10px; justify-content: center;
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  letter-spacing: 0em; text-transform: none; color: var(--ink-strong); margin-bottom: 14px;
}
.eyebrow--cyan { color: var(--white); }
.eyebrow--ink { color: var(--ink-strong); }
.section-head--dark .eyebrow, .split--rse .eyebrow, .split--contact .eyebrow, .split:not(.split--rse) .eyebrow { justify-content: flex-start; }

.h2 {
  font-weight: 500; font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15; color: var(--ink-strong); margin-bottom: 18px;
}
.section-head .h2 { margin-bottom: 16px; }
.section-head--dark .h2 { color: var(--white); }

.lead { font-size: 16.5px; line-height: 1.35; color: rgba(16, 21, 26, .8); font-weight:400;    margin-bottom: 20px;letter-spacing: 0em;}
.lead--dark { color: rgba(255, 255, 255, .75); }
.lead--ink { color: rgba(16, 21, 26, .8); max-width: 460px; }
.section-head .lead {font-size: 18px;line-height: 1.35;margin-bottom: 25px;}

/* 4. Componentes --------------------------------------------------------- */
.btn {
  display: inline-block; font-weight: 700; font-size: 15px;
  padding: 14px 26px; border-radius: 9px; border: none;
  cursor: pointer; font-family: inherit; text-align: center;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .18s ease;
  will-change: transform;
}
.btn--primary { background: linear-gradient(110deg, #D9A03A 0%, #B87A1C 35%, #93590F 100%); color: var(--white); /*text-shadow: 0 1px 1px rgba(80, 45, 5, .35);*/ }
.btn--primary:hover { background: linear-gradient(110deg, #C98E2A 0%, #A36914 35%, #7E4B0B 100%); color: var(--white); }

.btn--ghost-light { background: transparent; color: var(--white); border: 1.5px solid rgba(255, 255, 255, .25); }
.btn--ghost-light:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--dark { background: var(--ink-strong); color: var(--white); padding: 14px 28px; }
.btn--dark:hover { background: var(--navy-mid); color: var(--white); }
.btn--block { display: block; width: 100%; padding: 13px; }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 22px;
}
.badge--dark { background: rgba(26, 196, 244, .12); border: 1px solid rgba(26, 196, 244, .3); color: var(--cyan-soft); }

.tag-list { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-list--center { justify-content: center; }
.tag {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 20px;
  border: 1px solid var(--line-strong); color: var(--text-soft);
}
.tag-list--dark .tag { border-color: rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .75); }
.tag--light { border-color: rgba(16, 21, 26, .12); color: rgba(16, 21, 26, .6); }

.chip {
  background: rgba(255, 255, 255, .35); color: var(--ink-strong);
  font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 20px;
}
/*.chip:nth-child(even) { background: rgba(182, 255, 60, .3); }*/

.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 20px; }
.pill--cyan { background: rgba(26, 196, 244, .15); color: var(--cyan-soft); }
.pill--green { background: rgba(182, 255, 60, .16); color: #4E8A00; }
.pill--dark { background: rgba(11, 22, 32, .12); color: var(--ink-strong); }

.value-list { display: flex; gap: 28px; flex-wrap: wrap; }
.value-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
}
.value-list li::before { display: none; }

.framed-photo {
  position: relative; overflow: hidden;
  /*border: 1px solid var(--line);*/ background:transparent;
}
.framed-photo--square { aspect-ratio: 1 / 1; }
.framed-photo--wide {
  aspect-ratio: 4 / 2; border: none;
  box-shadow: none;
}
.framed-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: none;
}

/* 5. Secciones ----------------------------------------------------------- */

/* 5.1 Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 40;
}
.site-header--static {
  position: static;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 80px; padding: 40px 24px;
  position: relative;
}
.brand { position: absolute; left: 24px; z-index: 60; }
.brand__logo {
  width: 80px; height: 80px; position: relative; bottom: -33px;
  animation: logoDrop 1s cubic-bezier(.22, 1, .36, 1) .15s both;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .5);
}
.main-nav { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 50; }
.main-nav a { color: var(--ink); font-size: 16px; font-weight: 500;letter-spacing: 0px;  }
.main-nav a:hover { color: var(--cyan-dark); }
.main-nav__cta { display: none; }
.site-header__cta {     padding: 10px 20px;
    font-size: 15px;
    border-radius: 11px;
    white-space: nowrap;
    position: absolute;
    right: 24px;
    z-index: 50;
    border: solid 2px !important;
    border-color: #A8691A !important;
    color: #A8691A;
   /* font-weight: 400;*/
    letter-spacing: 0em;
}

.site-header__cta:hover { background: linear-gradient(110deg, #C98E2A 0%, #A36914 35%, #7E4B0B 100%); color: var(--white); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle__bar { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 5.2 Hero — split asimétrico con foto en duotono */
.hero { position: relative; overflow: hidden; background: #0B1620; padding: 0; }
.hero--cyber { background: #07050A; }

.hero__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .04; z-index: 2;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Líneas de escaneo tipo VHS/CRT vieja */
.hero__scanlines {
  position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: .5;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .04) 0px, rgba(255, 255, 255, .04) 1px, transparent 1px, transparent 3px);
  animation: scanRoll 9s linear infinite;
}
@keyframes scanRoll { 0% { background-position: 0 0; } 100% { background-position: 0 120px; } }
.hero__scanlines { display: none; }

@keyframes glitchBurst {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-5px, 2px); }
  40% { transform: translate(4px, -2px); }
  60% { transform: translate(-3px, 1px); }
  80% { transform: translate(2px, -1px); }
  100% { transform: translate(0, 0); }
}
.hero--cyber.is-glitching .hero__inner { animation: none; }

.hero__inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: stretch; min-height: 620px; padding: 0; max-width: none; width: 100%;
  perspective: 1400px;
}
.hero__inner--text-only { grid-template-columns: 1fr; min-height: 0; }

.hero__text {
  display: flex; flex-direction: column; justify-content: center;
  width: 100%; max-width: var(--container); margin: 0 auto;
  padding: 100px 9px 96px;
  position: relative; z-index: 1;
}

/* Formas fluidas del hero: iluminación ambiente de fondo, integrada a toda la sección */
.hero__fluid-bg {
  position: absolute; inset: 0; overflow: hidden; z-index: 0;
}

.fluid__blob {
  position: absolute; border-radius: 50%; filter: blur(60px); mix-blend-mode: screen;
  will-change: transform;
}
.fluid__blob--1 {
  width: 40%; height: 68%; left: 2%; top: -8%;
  background: radial-gradient(circle, rgba(26, 196, 244, .75), transparent 70%);
  animation: fluidDrift1 10s ease-in-out infinite;
}
.fluid__blob--2 {
  width: 38%; height: 60%; right: -6%; top: 6%;
  background: radial-gradient(circle, rgba(26, 196, 244, .45), transparent 70%);
  animation: fluidDrift2 13s ease-in-out infinite;
}
.fluid__blob--3 {
  width: 34%; height: 55%; left: 48%; bottom: -14%;
  background: radial-gradient(circle, rgba(26, 196, 244, .55), transparent 70%);
  animation: fluidDrift3 11s ease-in-out infinite;
}
.fluid__blob--4 {
  width: 24%; height: 40%; right: 10%; bottom: 2%;
  background: radial-gradient(circle, rgba(26, 196, 244, .38), transparent 70%);
  animation: fluidDrift4 15s ease-in-out infinite;
}
@keyframes fluidDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(18%, 20%) scale(1.25); }
  66% { transform: translate(-14%, 26%) scale(.85); }
}
@keyframes fluidDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-26%, 22%) scale(1.3); }
}
@keyframes fluidDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(22%, -20%) scale(1.2); }
  70% { transform: translate(-16%, -6%) scale(.9); }
}
@keyframes fluidDrift4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18%, -24%) scale(1.35); }
}
@media (prefers-reduced-motion: reduce) {
  .fluid__blob { animation: none; }
}

.status {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0em; text-transform: uppercase;
  color: rgba(234, 243, 248, .78); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px; padding: 7px 14px 7px 11px; margin-bottom: 18px;
}
.status--cyber { border-color: rgba(26, 196, 244, .35); color: var(--cyan-light); }
.status i { display: none; }
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(26, 196, 244, .55); }
  70% { box-shadow: 0 0 0 9px rgba(26, 196, 244, 0); }
  100% { box-shadow: 0 0 0 0 rgba(26, 196, 244, 0); }
}
@keyframes pulseDotCyber {
  0% { box-shadow: 0 0 0 0 rgba(26, 196, 244, .6); }
  70% { box-shadow: 0 0 0 9px rgba(26, 196, 244, 0); }
  100% { box-shadow: 0 0 0 0 rgba(26, 196, 244, 0); }
}

.glitch-kicker {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0em;
  color: var(--cyan-light); margin: 0 0 16px; position: relative;
  text-shadow: 0 0 8px rgba(26, 196, 244, .5);
}
.glitch-kicker::after {
  content: "_"; animation: blinkCursor 1s steps(1) infinite;
}
@keyframes blinkCursor { 50% { opacity: 0; } }

.hero__title {
  font-size: 85px; line-height: .85; letter-spacing: 0em;
  font-weight: 500; color: var(--white); max-width: 12em;
}

/* Efecto glitch RGB-split sobre "27 años" */
.glitch-text {
  position: relative; display: inline-block; color: var(--cyan);
  text-shadow: 0 0 18px rgba(26, 196, 244, .4);
}
.glitch-text::before, .glitch-text::after {
  content: attr(data-text); position: absolute; left: 0; top: 0;
  width: 100%; height: 100%; overflow: hidden; background: transparent;
}
.glitch-text::before {
  color: var(--cyan); clip-path: polygon(0 2%, 100% 2%, 100% 40%, 0 40%);
  animation: glitchTop 3.4s infinite linear alternate-reverse;
}
.glitch-text::after {
  color: var(--cyan); clip-path: polygon(0 60%, 100% 60%, 100% 98%, 0 98%);
  animation: glitchBottom 2.8s infinite linear alternate-reverse;
}
@keyframes glitchTop {
  0%, 88% { transform: translate(0, 0); }
  90% { transform: translate(-3px, -1px); }
  92% { transform: translate(3px, 1px); }
  94% { transform: translate(-2px, 0); }
  96%, 100% { transform: translate(0, 0); }
}
@keyframes glitchBottom {
  0%, 85% { transform: translate(0, 0); }
  87% { transform: translate(3px, 1px); }
  89% { transform: translate(-3px, -1px); }
  91% { transform: translate(2px, 0); }
  93%, 100% { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .glitch-text::before, .glitch-text::after { animation: none; opacity: 0; }
  .glitch-kicker::after { animation: none; }
}

.hero__lead {
  font-size: 35px; line-height: 1; color: rgba(234, 243, 248, .68);
  max-width: 29em; margin-top: 26px;font-weight: 300
}

.hero__text .tag-list { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__text .tag {
  display: flex; align-items: center; gap: 8px;
  font-size: 11.5px; letter-spacing: 0em; text-transform: uppercase;
  color: rgba(234, 243, 248, .82); padding: 8px 13px; border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04);
}
.hero__text .tag::before { display: none; }
.hero__text .btn-group { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__text .btn--primary { border-radius: 11px; }
.hero__text .btn--ghost-light { border-radius: 11px; border-color: #D99A2B; color: #F0C25E; }
.hero__text .btn--ghost-light:hover { border-color: #F0C25E; color: #F7D78E; background: rgba(217, 154, 43, .12); }

/* Proyecto destacado: foto a sangre, tratamiento duotono cyan */
.hero__media {
  position: relative; overflow: hidden; background: #07050A;
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
  box-shadow: -30px 40px 90px -30px rgba(0, 0, 0, .55);
  display: flex;
  padding: clamp(18px, 3vw, 34px);
}
.hero__frame { flex: 1; }
.hero__media::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(320px circle at var(--sx, 50%) var(--sy, 40%), rgba(255, 255, 255, .18), transparent 55%);
  opacity: 0; transition: opacity .3s ease;
}
.hero__media:hover::before { opacity: 1; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, #07050A 0%, transparent 15%);
}

/* Frame interno: la foto se despega del borde, evita que se lea "a sangre y borrosa" */
.hero__frame { position: relative; width: 100%; height: 100%; overflow: hidden; border: 1px solid rgba(26, 196, 244, .22); }
.hero__frame::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  box-shadow: inset 0 0 60px 18px rgba(7, 5, 10, .65);
}
.hero__frame::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .1;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Esquinas tipo visor/reticle — refuerza el lenguaje técnico y encuadra la foto */
.hero__corner { position: absolute; z-index: 4; width: 20px; height: 20px; pointer-events: none; }
.hero__corner::before, .hero__corner::after { content: ""; position: absolute; background: var(--cyan); }
.hero__corner::before { width: 100%; height: 2px; }
.hero__corner::after { width: 2px; height: 100%; }
.hero__corner--tl { top: -1px; left: -1px; }
.hero__corner--tr { top: -1px; right: -1px; }
.hero__corner--tr::before, .hero__corner--tr::after { right: 0; }
.hero__corner--bl { bottom: -1px; left: -1px; }
.hero__corner--bl::before, .hero__corner--bl::after { bottom: 0; }
.hero__corner--br { bottom: -1px; right: -1px; }
.hero__corner--br::before, .hero__corner--br::after { bottom: 0; right: 0; }

.showcase { position: absolute; inset: 0; overflow: hidden; margin: 0; background: #07050A; }
.showcase__img {
  display: block; position: absolute; inset: clamp(28px, 6%, 56px);
  width: auto; height: auto;
  object-fit: cover; object-position: top center;
  animation: fadeIn .75s ease-in-out both;
}
.showcase__tag {
  position: absolute; left: 20px; top: 20px; z-index: 2;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0em; text-transform: uppercase;
  color: var(--cyan-light); background: rgba(5, 11, 17, .72); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; padding: 6px 11px;
  transform: translateZ(46px);
}
.showcase__caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 20px clamp(18px, 3vw, 28px); background: linear-gradient(0deg, rgba(5, 11, 17, .82), transparent);
  transform: translateZ(38px);
}
.showcase__sector {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0em;
  text-transform: uppercase; color: rgba(234, 243, 248, .74); margin-bottom: 4px;
}
.showcase__name { font-weight: 700; font-size: 16px; color: var(--white); }
.showcase__dots { display: flex; gap: 7px; }
.showcase__nav-dot {
  width: 22px; height: 3px; border-radius: 2px; border: none; padding: 0;
  background: rgba(255, 255, 255, .28); cursor: pointer;
  transition: background .3s ease, width .3s ease;
}
.showcase__nav-dot.is-active { background: var(--cyan); width: 34px; }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { min-height: 340px; }
  .hero__text { padding: 100px 22px 40px; }
}


/* Cinta de stack tecnológico */
.stack-strip {
  margin-top: 14px; overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .09); border-bottom: 1px solid rgba(255, 255, 255, .09);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.stack-strip__row { display: flex; gap: 0; padding: 15px 0; width: max-content; animation: slideStrip 34s linear infinite; }
.stack-strip__row span {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0em; text-transform: uppercase;
  color: rgba(234, 243, 248, .72); white-space: nowrap; padding-right: 24px;
}
.stack-strip__row span::before { content: "\25C6"; color: rgba(26, 196, 244, .6); margin-right: 24px; font-size: 8px; vertical-align: 2px; }
@keyframes slideStrip { to { transform: translateX(-50%); } }

/* 5.3 Stats */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0;
}
.stat { text-align: center; }
.stat__value { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--cyan-dark); }
.stat__label { font-size: 14.5px; color: rgba(16, 21, 26, .6); margin-top: 4px; }

/* 5.4 Servicios — mosaico compacto: destacados arriba, resto en grilla chica */
.services {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.service {
  grid-column: span 1; background: var(--white); padding: 22px 20px;
  position: relative;
  display: flex; flex-direction: column; gap: 8px; min-height: 168px;
}
.service__icon {
  width: 38px; height: 38px; margin-bottom: 4px;
  background: var(--ink-strong); color: var(--white);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.service__body { display: contents; }
.service__title { font-weight: 700; font-size: 15.5px; color: var(--ink-strong); }
.service__text {
  font-size: 15px; line-height: 1.35; color: var(--text-soft);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.service--feature {
  grid-column: span 2; min-height: 200px; padding: 30px 28px;
  flex-direction: row; align-items: center; gap: 22px;
}
.service--feature .service__icon { width: 54px; height: 54px; margin-bottom: 0; }
.service--feature .service__body { display: block; flex: 1; }
.service--feature .service__title { font-size: 20px; margin-bottom: 8px; }
.service--feature .service__text { -webkit-line-clamp: 3; font-size: 16.5px; margin-bottom: 14px; }
.service--feature-dark { background: var(--navy); }
.service--feature-dark .service__title { color: var(--white); }
.service--feature-dark .service__text { color: var(--on-dark); }
.service--feature-dark .service__icon { background: var(--cyan); color: var(--ink-strong); }
.service--feature-cyan { background: rgba(26, 196, 244, .08); }
.service--feature-cyan .service__title { color: var(--ink-strong); }
.service--feature-cyan .service__text { color: rgba(11, 22, 32, .75); }
.service--feature-cyan .service__icon { background: var(--ink-strong); color: var(--white); }
.service--feature-green { background: rgba(182, 255, 60, .12); }
.service--feature-green .service__title { color: var(--ink-strong); }
.service--feature-green .service__text { color: rgba(11, 22, 32, .75); }
.service--feature-green .service__icon { background: var(--accent-green); color: var(--ink-strong); }
.service__icon--dark { background: var(--ink-strong); color: var(--white); }

@media (max-width: 900px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service--feature { grid-column: span 2; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .service--feature { grid-column: span 1; }
}

.infra-strip {
  margin-top: 20px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 22px 28px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.infra-strip__label { font-size: 13px; font-weight: 700; color: var(--ink-strong); white-space: nowrap; }
.infra-strip__sep { color: rgba(16, 21, 26, .25); }
.infra-strip__text { font-size: 13.5px; color: rgba(16, 21, 26, .8); }

/* 5.5 Sectores */
.sectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark);
}
.sector { background: var(--navy); padding: 30px 24px 26px; position: relative; }
.sector--wide { grid-column: 1 / -1; }
.sector__title { font-weight: 700; font-size: 17px; color: var(--white); margin-bottom: 6px; }
.sector__text { font-size: 13px; color: var(--on-dark-soft); }

@media (max-width: 900px) {
  .sectors { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .sectors { grid-template-columns: 1fr; }
}

/* 5.6 Trabajos — fotos en duotono, mismo lenguaje visual que el hero */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 860px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }
.work-card {
  border: none; overflow: hidden; color: inherit; background: var(--white);
  transition: transform .25s ease;
}
.work-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--muted-bg); }
.work-card__media img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease);
}
.work-card:hover .work-card__media img { transform: scale(1.04); }
.work-card__body { padding: 20px; }
.work-card__sector {
  font-size: 12px; font-weight: 700; color: var(--cyan-dark);
  text-transform: uppercase; letter-spacing: 0px; margin-bottom: 6px;
}
.work-card__title { font-weight: 700; font-size: 16px; color: var(--ink-strong); }
.work-card__tags { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.tag--micro {
  font-size: 11px; padding: 3px 8px; border-radius: 4px;
  background: rgba(26, 196, 244, .15); color: var(--cyan-dark); font-weight: 600;
  border: 1px solid rgba(26, 196, 244, .3);
}
/*.work-card__tags span:nth-child(even),
.work-card__body div span:nth-child(even) {
  background: rgba(182, 255, 60, .2) !important; color: #4E8A00 !important;
}*/

/* 5.7 Productos propios */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.product { background: var(--white); border: none; padding: 32px; }
.product__logo { height: 44px; width: auto; display: block; margin-bottom: 18px; object-fit: contain; }
.product__kind {
  font-size: 12px; font-weight: 700; color: #4E8A00;
  text-transform: uppercase; letter-spacing: 0px; margin-bottom: 10px;
}
.product:nth-child(even) .product__kind { color: #4E8A00; }
.product__title { font-weight: 700; font-size: 22px; color: var(--ink-strong); margin-bottom: 10px; }
.product__text { font-size: 14.5px; line-height: 1.35; color: var(--text-soft); margin-bottom: 10px; }
.product__link { font-weight: 700; font-size: 13.5px; }

/* 5.8 Clientes — cinta continua, no grilla de logos en cajas */
.clients__title {
  text-align: center; font-size: 26px!important; font-weight: 400;
  color: var(--ink-strong); margin: 25px 0 8px;
}
.clients__note {
  text-align: center; font-size: 12.5px; color: rgba(16, 21, 26, .4);
  font-family: var(--font-mono); margin-bottom: 20px;
}
.clients-marquee {
  overflow: hidden;/* border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);*/
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients-marquee__row {
  display: flex; align-items: center; gap: 0; width: max-content;
  padding: 44px 0; animation: slideStrip 184s linear infinite;
}
.clients-marquee:hover .clients-marquee__row { animation-play-state: paused; }
.clients-marquee__row img {
  height: 70px; width: auto; object-fit: contain; margin-right: 72px;
  filter: grayscale(1); opacity: .6;
  transition: filter .25s ease, opacity .25s ease;
}
.clients-marquee__row img:hover { filter: none; opacity: 1; }

/* 5.9 RSE */
.partner {
  display: inline-flex; align-items: center; gap: 14px;
  /*background: var(--white);*/ border-radius: 10px; padding: 10px 18px; margin-top: 30px;
}
.partner__label {
  font-size: 11.5px; font-weight: 700; color: #333333;
  text-transform: uppercase; letter-spacing: 0px;
}
.partner__logo { height: 60px; width: auto; }
.pillars { flex: 1 1 265px; min-width: 280px; display: flex; flex-direction: column; gap: 14px; }
.pillar {
  display: flex; align-items: center; gap: 18px;
  padding: 19px 18px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius);
  background: linear-gradient(110deg, rgba(26, 196, 244, .10) 0%, rgba(255, 255, 255, .02) 60%);
  font-size: 17px; font-weight: 600; color: var(--white);
  transition: border-color .3s ease, transform .3s ease;
}
.pillar__icon {
  flex: none; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: var(--radius-sm); color: var(--cyan-light);
  background: rgba(26, 196, 244, .12); border: 1px solid rgba(26, 196, 244, .35);
}
.pillar:hover { border-color: rgba(26, 196, 244, .5); transform: translateX(6px); }

/* 5.10 RRHH */
.section--careers .tag-list { margin-bottom: 28px; }
.section--careers .h2 { color: var(--ink-strong); }

/* 5.11 Contacto */
.contact-data { display: flex; flex-direction: column; gap: 16px; font-size: 15px; margin-top: 28px; }
.contact-data > div { display: flex; align-items: center; gap: 14px; }
.contact-data dt {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(26, 196, 244, .1); color: var(--cyan-deep);
}
.contact-data > div:nth-child(even) dt { background: rgba(182, 255, 60, .14); color: #4E8A00; }
.contact-data__icon { display: block; }
.contact-data dd { color: var(--ink); font-weight: 600; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.contact-form {
  background: var(--muted-bg); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 12.5px; font-weight: 600; color: rgba(16, 21, 26, .8); }
.field__input {
  padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--white);
  font-size: 14.5px; font-family: inherit; color: var(--ink);
  resize: vertical; transition: border-color .2s ease, box-shadow .2s ease;
}
.field__input:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(26, 196, 244, .18);
}
textarea.field__input:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(182, 255, 60, .2);
}
.field__input::placeholder { color: rgba(16, 21, 26, .35); }
.contact-form .btn--primary { background: linear-gradient(110deg, #D9A03A 0%, #B87A1C 35%, #93590F 100%); color: var(--white); /*text-shadow: 0 1px 1px rgba(80, 45, 5, .35); */}
.contact-form .btn--primary:hover { background: linear-gradient(110deg, #C98E2A 0%, #A36914 35%, #7E4B0B 100%); color: var(--white); }

#rrhh .btn--dark { background: linear-gradient(110deg, #D9A03A 0%, #B87A1C 35%, #93590F 100%); color: var(--white); /*text-shadow: 0 1px 1px rgba(80, 45, 5, .35); */}
#rrhh .btn--dark:hover { background: linear-gradient(110deg, #C98E2A 0%, #A36914 35%, #7E4B0B 100%); color: var(--white); }

.form-success {
  background: var(--muted-bg); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px; text-align: center;
}
.form-success__title { font-size: 17px; font-weight: 700; color: var(--ink-strong); margin-bottom: 8px; }
.form-success__text { font-size: 14.5px; color: rgba(16, 21, 26, .6); }

/* 5.12 Footer */
.site-footer { background: var(--ink-strong); padding: 48px 0 32px; }
.site-footer__top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line-dark); padding-bottom: 28px; margin-bottom: 20px;
}
.site-footer__brand { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--white); }
.site-footer__nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer__nav a { color: var(--on-dark); font-size: 13.5px; }
.site-footer__nav a:hover { color: var(--cyan); }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer__copy { font-size: 12.5px; color: rgba(255, 255, 255, .45); }
.social { display: flex; gap: 10px; }
.social__link {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); color: var(--on-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  transition: background .2s ease, color .2s ease;
}
.social__link:hover { background: var(--cyan); color: var(--ink-strong); }
.social__link:nth-child(even):hover { background: var(--accent-green); }

/* 6. Animaciones --------------------------------------------------------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes dropIn {
  0%   { opacity: 0; transform: translateY(-42px) scale(.92); }
  60%  { opacity: 1; transform: translateY(4px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.anim-fade-up { animation: fadeUp .7s ease both; }
.anim-delay-1 { animation-delay: .1s; }
.anim-delay-2 { animation-delay: .15s; }
.anim-delay-3 { animation-delay: .2s; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim-fade-up, .brand__logo, .showcase__img { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__glow, .btn { transition: none; }
  .hero__glow { display: none; }
}

/* 7. Responsive ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .service--feature { flex: 1 1 100%; min-width: 0; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-header__cta { display: none; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .25);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav__cta {
    display: block; margin-top: 12px; text-align: center;
    background: linear-gradient(180deg, #D9A03A 0%, #B87A1C 55%, #93590F 100%); color: var(--white); text-shadow: 0 1px 1px rgba(80, 45, 5, .35); font-weight: 700;
    border-radius: var(--radius-sm); padding: 12px 20px;
  }
  .main-nav__cta:hover { background: linear-gradient(180deg, #C98E2A 0%, #A36914 55%, #7E4B0B 100%); color: var(--white); }
  .brand__logo { width: 56px; height: 56px; }
  .site-header__inner { position: relative; }
}

@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .section--about { padding: 24px 0 72px; }
  .hero { padding: 60px 0 0; }
  .panel__top { grid-template-columns: 1fr; }
  .panel__copy { padding: 30px 24px; }
  .panel__shot { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .09); }
  .section-head { margin-bottom: 40px; }
  .split { gap: 36px; }
  .stats { gap: 28px; padding: 28px 0; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase__caption { padding: 13px 18px; }
  .panel__data { grid-template-columns: 1fr; }
  .kpi { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .btn { width: 100%; }
  .btn-group { flex-direction: column; }
  .service, .service--feature { padding: 24px; }
}

/* =========================================================
   EMPRESA - FOTO
========================================================= */

.about-visual {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
}


/* Contenedor de la fotografía */

.about-photo {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
}


/* Fotografía */

.about-photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform .6s ease;
}


/* Detalle azul muy sutil sobre la foto */

.about-photo::after {
    content: "";

    position: absolute;
    inset: 0;

 /*   background:
        linear-gradient(
            135deg,
            rgba(26,196,244,.08),
            transparent 55%
        );*/

    pointer-events: none;
}


/* Responsive */

@media (max-width: 991px) {

    .about-visual,
    .about-photo {
        min-height: 430px;
    }

}


@media (max-width: 767px) {

    .about-visual,
    .about-photo {
        min-height: 350px;
    }

}

/* =========================================================
   EMPRESA - VISUAL NOTEBOOK
========================================================= */

.about-visual {
    position: relative;
    min-height: 500px;
    overflow: hidden;
   /* background: #eef8fb;*/
}



/* =========================================================
   VALORES
========================================================= */

.about-values {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    margin-top: 35px;
}


.about-value {
    padding: 0 22px;

    text-align: center;

    border-right:
        1px solid rgba(12,134,173,.14);
}

.about-value:first-child {
    padding-left: 0;
}

.about-value:last-child {
    border-right: 0;
    padding-right: 0;
}


.about-value__icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f1f8fc;
}


.about-value__icon svg {
    width: 30px;
    height: 30px;

    fill: none;

    stroke: #0C86AD;

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.about-value h3 {
    margin: 0 0 6px;

    font-size: 18px;
    font-weight: 600;

    color: #111827;
}


.about-value p {
    margin: 0;

    font-size: 15px;
    line-height: 1.35;

    color: #64748b;
	padding: 0 25px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .about-visual {
        min-height: 430px;
    }

    .about-laptop {
        width: 68%;
        left: 8%;
    }

    .about-values {
        margin-top: 28px;
    }

}


@media (max-width: 767px) {

    .about-visual {
        min-height: 380px;

        margin-bottom: 35px;
    }

    .about-laptop {
        width: 78%;
        left: 8%;
        bottom: 9%;
    }

    .about-arc {
        width: 390px;
        height: 500px;

        left: -120px;
        top: -50px;

        border-right-width: 20px;
    }

    .about-dots--top {
        top: 20px;
        left: 15px;
    }

    .about-dots--bottom {
        right: 15px;
        bottom: 15px;
    }

    .about-values {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .about-value,
    .about-value:first-child,
    .about-value:last-child {
        padding: 0 0 22px;

        border-right: 0;

        border-bottom:
            1px solid rgba(12,134,173,.12);
    }

    .about-value:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

}

/* Quiénes somos: foto alineada al texto, valores a todo el ancho */
.split--about { align-items: stretch; }
.split--about .about-visual { position: relative; align-self: stretch; height: auto; min-height: 380px; }
.split--about .about-photo { position: absolute; inset: 0; height: auto; min-height: 0; }
.split--about .about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
#empresa .about-values { margin-top: 56px; }
@media (max-width: 991px) {
  .split--about .about-visual { min-height: 380px; }
}

/* Logo: entrada desde arriba */
@keyframes logoDrop {
  0%   { opacity: 0; transform: translateY(-140px); }
  70%  { opacity: 1; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Quiénes somos: ilustración animada */
.about-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.about-art__tile, .about-art__dots { mix-blend-mode: multiply; transform-box: view-box; }
.about-art__tile { animation: artFloat 6s ease-in-out infinite; }
.about-art__dots { animation: artBlink 2.8s ease-in-out infinite; }
@keyframes artFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes artBlink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  .brand__logo, .about-art__tile, .about-art__dots { animation: none; }
}

/* Qué hacemos: destacados 2 por fila, servicios 3 por fila */
@media (min-width: 901px) {
  .services { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .service { grid-column: span 2; }
  .service--feature { grid-column: span 3; }
}

/* Cinta de clientes arrastrable */
.clients-marquee { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.clients-marquee.is-dragging { cursor: grabbing; }
.clients-marquee__row.is-js { animation: none; will-change: transform; }

/* Productos propios: sin contenedores, logo junto al título */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px 72px; background: none; border: 0; margin-top: 16px; }
.product { background: none; border: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; }
.product__head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.product__head .product__logo { height: 56px; width: 56px; margin: 0; object-fit: contain; mix-blend-mode: multiply; flex: none; transition: transform .4s ease; }
.product:hover .product__head .product__logo { transform: translateY(-3px); }
.product__head .product__kind { margin-bottom: 4px; }
.product__head .product__title { margin-bottom: 0; }
.product__kind, .product:nth-child(even) .product__kind { color: var(--cyan-dark); font-family: var(--font-mono); letter-spacing: 0em; font-size: 11.5px; }
.product__title { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.05; }
.product__text { font-size: 16px; line-height: 1.35; max-width: 57ch; margin-bottom: 18px; letter-spacing: 0em }
.product__link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; border-bottom: 1.5px solid var(--cyan); color: var(--ink-strong); transition: gap .3s ease, color .3s ease; }
.product__link:hover { gap: 14px; color: var(--cyan-dark); }

/* Contacto: íconos y enlaces en turquesa */
.contact-data dt, .contact-data > div:nth-child(even) dt { background: rgba(26, 196, 244, .1); color: var(--cyan-deep); }
.contact-data dd, .contact-data dd a { color: var(--cyan-deep); }
.contact-data dd a:hover { color: var(--cyan); }

/* Sectores: sin cuadrícula, ícono + título + texto */
.sectors { gap: 44px 56px; background: none; border: 0; margin-top: 8px; }
.sector { background: none; padding: 0; display: flex; flex-direction: column; align-items: flex-start; }
.sector__icon {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 18px;
  border-radius: 50%; color: var(--cyan-light);
  background: radial-gradient(circle, rgba(26, 196, 244, .18), rgba(26, 196, 244, .04) 70%);
  box-shadow: inset 0 0 0 1px rgba(26, 196, 244, .35);
  transition: box-shadow .35s ease, transform .35s ease;
}
.sector:hover .sector__icon { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(26, 196, 244, .7), 0 0 24px rgba(26, 196, 244, .25); }
.sector__title { font-size: 19px; margin-bottom: 8px; }
.sector__text { font-size: 15px; line-height: 1.5; max-width: 32ch; }

.sector { flex-direction: row; align-items: flex-start; gap: 18px; }
.sector__icon { flex: none; margin-bottom: 0; }
.sector__body { min-width: 0; padding-top: 4px; }

/* Qué hacemos: destacados separados de la grilla de servicios */
.services--features { margin-bottom: 32px; }
@media (max-width: 900px) { .services--features { margin-bottom: 24px; } }

/* Experiencia aplicada: más aire debajo de los tags */
.work-card__body { padding-top: 10px; padding-bottom: 28px; }

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 900px) {
  .site-header__inner { justify-content: center; padding: 18px 20px; min-height: 76px; }
  .brand { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); z-index: 60; }
  .brand__logo { width: 88px; height: 88px; bottom: 0; }
  .nav-toggle { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); padding: 12px; }
  .nav-toggle__bar { width: 24px; }
  .main-nav { padding: 8px 20px 20px; }
  .main-nav a { font-size: 16px; padding: 14px 0; }
}
@media (max-width: 760px) {
  .hero__text { padding: 56px 20px 48px; }
  .hero__title { font-size: clamp(44px, 12vw, 58px); line-height: .92; max-width: none; }
  .hero__lead { font-size: clamp(18px, 5vw, 22px); line-height: 1.3; margin-top: 18px; }
  .hero__text .btn-group { margin-top: 26px; gap: 10px; }
  .h2 { font-size: clamp(26px, 7.4vw, 32px); line-height: 1.15; }
  .section-head .lead, .lead { font-size: 16px; line-height: 1.45; }
  .eyebrow { font-size: 12px; }
  .btn { font-size: 15px; padding: 13px 22px; }
  .site-header__cta, .main-nav__cta { font-size: 15px; }
  .stat__value { font-size: 28px; }
  .product__title { font-size: 24px; }
  .product__text, .work-card__title { font-size: 15.5px; }
  .service__title { font-size: 17px; }
  .service__text, .sector__text { font-size: 14.5px; line-height: 1.5; }
}
@media (max-width: 420px) {
  .hero__text .btn-group { flex-direction: column; align-items: stretch; }
  .hero__text .btn { width: 100%; text-align: center; }
  .btn { padding: 14px 20px; text-align: center; }
}

/* Quiénes somos: animación sutil sobre la foto (la imagen no se modifica) */
.about-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; overflow: visible; }
.about-fx__dot { filter: drop-shadow(0 0 10px rgba(26, 196, 244, 1)) drop-shadow(0 0 4px rgba(255, 255, 255, .9)); }
.about-fx__ring {
  fill: none; stroke: #ffffff; stroke-width: 2.5; opacity: 0;
  transform-box: fill-box; transform-origin: center;
  animation: aboutRing 4.8s cubic-bezier(.25, .6, .3, 1) infinite;
}
.about-fx__ring--late { animation-delay: 2.4s; }
@keyframes aboutRing {
  0%   { opacity: 0; transform: scale(1); }
  12%  { opacity: .95; }
  70%  { opacity: 0; transform: scale(2.3); }
  100% { opacity: 0; transform: scale(2.3); }
}
.about-sheen {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .42) 48%, rgba(255, 255, 255, .1) 54%, transparent 62%);
  background-size: 260% 100%; background-repeat: no-repeat;
  -webkit-mask: url(../images/quienes-equipo.png) center / cover no-repeat;
          mask: url(../images/quienes-equipo.png) center / cover no-repeat;
  mix-blend-mode: soft-light;
  animation: aboutSheen 8s ease-in-out infinite;
}
@keyframes aboutSheen {
  0%, 18% { background-position: 130% 0; }
  58%, 100% { background-position: -30% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .about-sheen, .about-fx__ring { animation: none; }
  .about-fx__dot { display: none; }
}

/* Botones: sin desplazamiento en hover */
.btn, .btn:hover, .btn:active, .site-header__cta:hover, .main-nav__cta:hover { transform: none !important; }

/* WhatsApp flotante: vidrio esmerilado */
.wa-float {
  position: fixed; right: 22px; bottom: 90px; z-index: 90;
  display: flex; align-items: center; gap: 0; height: 58px; min-width: 58px; padding: 0 16px;
  border-radius: 999px; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, rgba(37, 211, 102, .38), rgba(18, 140, 126, .30));
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: 0 10px 30px rgba(10, 30, 45, .22), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: gap .35s ease, background .35s ease, box-shadow .35s ease;
  animation: waIn .7s cubic-bezier(.22, 1, .36, 1) 1.2s both;
}
.wa-float__icon { flex: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .25)); }
.wa-float__label {
  max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: max-width .4s ease, opacity .3s ease;
}
.wa-float:hover, .wa-float:focus-visible {
  gap: 10px; color: #fff;
  background: linear-gradient(135deg, rgba(37, 211, 102, .62), rgba(18, 140, 126, .55));
  box-shadow: 0 14px 34px rgba(18, 140, 126, .35), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 120px; opacity: 1; }
.wa-float:focus-visible { outline: 2px solid #25D366; outline-offset: 3px; }
.wa-float__ring {
  position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  border: 1.5px solid rgba(37, 211, 102, .55);
  animation: waPulse 3.2s ease-out 2s infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
@keyframes waIn { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .wa-float { right: 16px; bottom: 80px; height: 54px; min-width: 54px; padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) { .wa-float, .wa-float__ring { animation: none; } }


.grecaptcha-badge {
  width: 70px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  left: -400px !important;
  bottom: 20px;
}
.grecaptcha-badge:hover {
  width: 256px !important;
}

/* Volver arriba: debajo del WhatsApp */
.to-top {
  position: fixed; right: 31px; bottom: 26px; z-index: 90;
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  color: #fff; text-decoration: none;
  background: rgba(10, 30, 50, .38);
  -webkit-backdrop-filter: blur(12px) saturate(150%); backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: 0 8px 22px rgba(10, 30, 45, .2), inset 0 1px 0 rgba(255, 255, 255, .25);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s, background .3s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: rgba(26, 196, 244, .55); color: #fff; }
.to-top:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
@media (max-width: 760px) { .to-top { right: 23px; bottom: 20px; } }
