/* =========================================================
   YENTAL GROUP WEB
   Guia rapida:
   - Edita textos en index.html.
   - Edita estilo, colores, tamanos e interlineados aqui.
   - Cada seccion tiene su bloque con nombre claro.
========================================================= */

/* =========================================================
   1. TIPOGRAFIA LOCAL: URBANIST
========================================================= */

@font-face {
  font-family: "Urbanist";
  src: url("assets/fonts/urbanist-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Urbanist";
  src: url("assets/fonts/urbanist-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Urbanist";
  src: url("assets/fonts/urbanist-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Urbanist";
  src: url("assets/fonts/urbanist-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

/* =========================================================
   2. CONTROLES RAPIDOS
   Cambia estos valores para ajustar la web facilmente.
========================================================= */

:root {
  /* Colores principales */
  --color-text-main: #1f1d1f;
  --color-text-muted: #64646b;
  --color-line: #dedff0;
  --color-background: #fbfbff;
  --color-background-soft: #f0f2ff;
  --color-blue: #5568ff;
  --color-blue-dark: #2f3ed8;
  --color-navy: #14172f;
  --color-black: #111111;
  --color-white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(36, 44, 130, 0.16);

  /* Operaciones: colores de las tarjetas del carrusel */
  --operations-card-1: #6d7bff;
  --operations-card-2: #25215f;
  --operations-card-3-a: rgba(109, 123, 255, 0.78);
  --operations-card-3-b: rgba(20, 23, 47, 0.78);
  --operations-card-4: #aeb6ff;
  --operations-card-4-text: #14172f;

  /* Home banner: overlay del video */
  --home-overlay-start: 0.68;
  --home-overlay-middle: 0.42;
  --home-overlay-end: 0;
  --home-overlay-mobile-start: 0.72;
  --home-overlay-mobile-end: 0.14;

  /* Home banner: textos */
  --home-title-size: clamp(42px, 5.5vw, 82px);
  --home-title-weight: 800;
  --home-title-line-height: 1;
  --home-text-size: clamp(18px, 1.45vw, 24px);
  --home-text-weight: 500;
  --home-text-line-height: 1.28;
  --home-text-gap: 26px;
  --home-text-width-desktop: 60%;

  /* Seccion "Lo que hacemos" */
  --about-title-size: clamp(30px, 4vw, 50px);
  --about-title-weight: 800;
  --about-title-line-height: 1.05;
  --about-text-size: 18px;
  --about-text-weight: 400;
  --about-text-line-height: 1.6;
  --about-text-color: #64646b;
  --about-text-width: 560px;
  --about-text-top-space: 42px;

  /* Titulos y textos generales */
  --section-title-size: clamp(30px, 4vw, 50px);
  --section-title-line-height: 1.05;
  --section-text-size: 18px;
  --section-text-line-height: 1.5;
  --card-text-line-height: 1.45;
}

/* =========================================================
   3. BASE GENERAL
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: visible;
  color: var(--color-text-main);
  background: var(--color-background);
  font-family: "Urbanist", Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

main,
.site-footer {
  overflow-x: clip;
}

a {
  color: inherit;
}

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

h2 {
  margin-bottom: 18px;
  font-size: var(--section-title-size);
  font-weight: 800;
  line-height: var(--section-title-line-height);
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
}

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--color-blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading p,
.company-section p,
.contact-section p {
  color: var(--color-text-muted);
  font-size: var(--section-text-size);
  line-height: var(--section-text-line-height);
}

/* =========================================================
   4. HEADER / MENU
========================================================= */

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 18px clamp(22px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(222, 223, 240, 0.84);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 138px;
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(14px, 2.1vw, 28px);
  color: rgba(31, 29, 31, 0.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(31, 29, 31, 0.16);
  border-radius: 50%;
  background: var(--color-white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--color-text-main);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* =========================================================
   5. HOME BANNER
========================================================= */

.home-banner {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: stretch;
  padding: 124px clamp(22px, 3vw, 58px) 48px;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(85, 104, 255, 0.38), transparent 34%),
    linear-gradient(135deg, var(--color-navy) 0%, #25215f 48%, var(--color-blue) 100%);
}

.home-banner-video,
.home-banner-overlay {
  position: absolute;
  inset: 0;
}

.home-banner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.home-banner-video-mobile {
  display: none;
}

.home-banner-overlay {
  background: linear-gradient(
    90deg,
    rgba(5, 7, 12, var(--home-overlay-start)) 0%,
    rgba(5, 7, 12, var(--home-overlay-middle)) 32%,
    rgba(5, 7, 12, var(--home-overlay-end)) 72%
  );
}

.home-banner-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-white);
}

.home-banner-text-block {
  width: min(60vw, 980px);
  max-width: var(--home-text-width-desktop);
  display: grid;
  gap: var(--home-text-gap);
}

.home-banner-kicker {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.home-banner-title {
  margin-bottom: 0;
  max-width: 100%;
  font-size: var(--home-title-size);
  font-weight: var(--home-title-weight);
  line-height: var(--home-title-line-height);
  letter-spacing: 0;
}

.home-banner-paragraph {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: var(--home-text-size);
  font-weight: var(--home-text-weight);
  line-height: var(--home-text-line-height);
}

/* =========================================================
   6. SECCION: LO QUE HACEMOS
========================================================= */

.about-section {
  padding: clamp(84px, 10vw, 132px) clamp(20px, 5vw, 64px);
  background: var(--color-white);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
}

.about-title {
  font-size: var(--about-title-size);
  font-weight: var(--about-title-weight);
  line-height: var(--about-title-line-height);
}

.about-text {
  max-width: var(--about-text-width);
  margin-top: var(--about-text-top-space);
  color: var(--about-text-color);
  font-size: var(--about-text-size);
  font-weight: var(--about-text-weight);
  line-height: var(--about-text-line-height);
}

/* =========================================================
   7. SECCION: OPERACIONES
========================================================= */

.operations-section {
  padding: clamp(84px, 10vw, 132px) clamp(20px, 5vw, 64px);
  background: var(--color-navy);
  color: var(--color-white);
}

.operations-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 60px);
}

.operations-heading {
  max-width: 760px;
}

.operations-heading .section-kicker {
  color: #aeb6ff;
}

.operations-title {
  color: var(--color-white);
}

.operations-text {
  max-width: 520px;
  margin: 0 0 8px;
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--section-text-size);
  line-height: var(--section-text-line-height);
}

.operations-slider {
  display: flex;
  min-height: clamp(330px, 36vw, 430px);
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.operations-slide {
  position: relative;
  flex: 0.72;
  min-width: 128px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 2.5vw, 30px);
  border: 0;
  border-radius: 8px;
  color: var(--color-white);
  background: var(--operations-card-1);
  cursor: pointer;
  scroll-snap-align: start;
  overflow: hidden;
  transition: flex 360ms ease, background 360ms ease, color 360ms ease;
}

.operations-slide + .operations-slide {
  margin-left: 8px;
}

.operations-slide:nth-child(2) {
  background: var(--operations-card-2);
}

.operations-slide:nth-child(3) {
  color: var(--color-white);
  background:
    linear-gradient(180deg, rgba(20, 23, 47, 0.04), rgba(20, 23, 47, 0.58)),
    linear-gradient(135deg, rgba(109, 123, 255, 0.18), rgba(20, 23, 47, 0.34)),
    url("assets/operations-port.jpg");
  background-position: center bottom;
  background-size: cover;
}

.operations-slide:nth-child(4) {
  color: var(--operations-card-4-text);
  background: var(--operations-card-4);
}

.operations-slide.is-active {
  flex: 2.55;
  color: var(--color-white);
  background: var(--operations-card-1);
}

.operations-slide:nth-child(2).is-active {
  background: var(--operations-card-2);
}

.operations-slide:nth-child(3).is-active {
  background:
    linear-gradient(180deg, rgba(20, 23, 47, 0.04), rgba(20, 23, 47, 0.58)),
    linear-gradient(135deg, rgba(109, 123, 255, 0.18), rgba(20, 23, 47, 0.34)),
    url("assets/operations-port.jpg");
  background-position: center bottom;
  background-size: cover;
}

.operations-slide:nth-child(4).is-active {
  color: var(--operations-card-4-text);
  background: var(--operations-card-4);
}

.operations-slide:focus-visible {
  outline: 3px solid rgba(85, 104, 255, 0.35);
  outline-offset: 4px;
}

.operations-slide-number {
  position: absolute;
  right: clamp(18px, 2.6vw, 34px);
  bottom: clamp(12px, 1.8vw, 18px);
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(72px, 10vw, 142px);
  font-weight: 400;
  line-height: 0.75;
  pointer-events: none;
}

.operations-slide:nth-child(3) .operations-slide-number {
  color: rgba(255, 255, 255, 0.9);
}

.operations-slide:nth-child(4) .operations-slide-number {
  color: rgba(20, 23, 47, 0.38);
}

.operations-slide-content {
  position: relative;
  z-index: 1;
  width: min(100%, 540px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.operations-slide.is-active .operations-slide-content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 120ms;
}

.operations-slide-kicker {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.operations-slide h3 {
  max-width: 420px;
  color: inherit;
  font-size: clamp(30px, 3.7vw, 48px);
  line-height: 1.08;
}

.operations-slide p {
  max-width: 390px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.5;
}

.operations-slide:nth-child(4) .operations-slide-kicker,
.operations-slide:nth-child(4) p {
  color: rgba(20, 23, 47, 0.68);
}

.operations-slide:not(.is-active) .operations-slide-kicker,
.operations-slide:not(.is-active) h3,
.operations-slide:not(.is-active) p {
  pointer-events: none;
}

/* =========================================================
   8. SECCION: SERVICIOS
========================================================= */

.services-section {
  padding: clamp(64px, 9vw, 108px) clamp(20px, 5vw, 64px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: 0 10px 28px rgba(14, 32, 38, 0.05);
}

.service-card p {
  color: var(--color-text-muted);
  line-height: var(--card-text-line-height);
}

.icon {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--color-blue);
  font-size: 13px;
  font-weight: 800;
}

/* =========================================================
   9. SECCION: SECTORES
========================================================= */

.sectors-section {
  padding: clamp(64px, 9vw, 108px) clamp(20px, 5vw, 64px);
  background: var(--color-background-soft);
}

.sectors-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
}

.sector-list {
  display: grid;
  gap: 24px;
}

.sector-list div {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(23, 33, 38, 0.14);
}

.sector-list p {
  color: var(--color-text-muted);
  line-height: var(--card-text-line-height);
}

/* =========================================================
   10. SECCION: EMPRESA / TRAYECTORIA
========================================================= */

.company-section {
  padding: clamp(64px, 9vw, 108px) clamp(20px, 5vw, 64px);
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
}

.stats-panel {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 8px;
  background: var(--color-blue);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.stats-panel div {
  display: grid;
  gap: 4px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.stats-panel div:last-child {
  border-bottom: 0;
}

.stats-panel strong {
  color: var(--color-white);
  font-size: clamp(36px, 6vw, 54px);
  line-height: 1;
}

.stats-panel span {
  color: rgba(255, 255, 255, 0.82);
}

/* =========================================================
   11. SECCION: PROCESO
========================================================= */

.process-section {
  padding: clamp(64px, 9vw, 108px) clamp(20px, 5vw, 64px);
  background: var(--color-white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 26px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--color-white);
  background: var(--color-blue);
  font-weight: 800;
}

.steps p {
  color: var(--color-text-muted);
  line-height: var(--card-text-line-height);
}

/* =========================================================
   12. CONTACTO
========================================================= */

.contact-section {
  padding: clamp(64px, 9vw, 108px) clamp(20px, 5vw, 64px);
  color: var(--color-white);
  background:
    linear-gradient(90deg, rgba(20, 23, 47, 0.9), rgba(85, 104, 255, 0.92)),
    var(--color-blue);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-section .section-kicker {
  color: #dfe3ff;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  font: inherit;
  line-height: 1.35;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.54);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.16);
}

.contact-form .button {
  width: fit-content;
  min-width: 220px;
  min-height: 54px;
  margin-top: 8px;
  color: var(--color-navy);
  background: #e8ebff;
  box-shadow: 0 16px 38px rgba(20, 23, 47, 0.24);
}

.contact-form .button:hover {
  color: var(--color-white);
  background: var(--color-navy);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 18px 44px rgba(20, 23, 47, 0.34);
  transform: translateY(-2px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1),
    background 260ms ease,
    color 260ms ease,
    border-color 260ms ease;
}

.button.primary {
  color: var(--color-white);
  background: var(--color-blue);
}

.button.secondary {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.1);
}

.button.outline {
  color: var(--color-blue-dark);
  border-color: var(--color-blue);
  background: transparent;
}

.contact-section .button.outline {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.48);
}

/* =========================================================
   13. ANIMACIONES DE ENTRADA
========================================================= */

.reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(58px) scale(0.985);
  transition:
    opacity 1100ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1100ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 1100ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal.reveal-left {
  transform: translateX(-54px) scale(0.985);
}

.reveal.reveal-right {
  transform: translateX(54px) scale(0.985);
}

.reveal.reveal-scale {
  transform: translateY(38px) scale(0.94);
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate(0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   14. FOOTER
========================================================= */

.site-footer {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 64px);
  color: var(--color-text-muted);
  background: var(--color-white);
  border-top: 1px solid var(--color-line);
  font-size: 14px;
}

.site-footer img {
  width: 128px;
  height: auto;
}

.site-footer a {
  color: var(--color-blue);
  text-decoration: none;
  font-weight: 700;
}

/* =========================================================
   15. RESPONSIVE: TABLET
========================================================= */

@media (max-width: 1080px) {
  .site-header {
    position: fixed;
    align-items: center;
    flex-direction: row;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 18px;
    right: 18px;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(31, 29, 31, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav a {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(31, 29, 31, 0.08);
  }

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

  .nav-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .home-banner {
    min-height: 88vh;
    padding-top: 104px;
  }

  .home-banner-text-block {
    width: min(78vw, 760px);
    max-width: 78%;
  }

  .home-banner-title {
    font-size: clamp(42px, 8vw, 68px);
    line-height: 0.98;
  }

  .about-layout,
  .sectors-layout,
  .company-layout,
  .contact-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .about-text {
    max-width: none;
    margin-top: 0;
  }

  .operations-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .operations-text {
    max-width: 720px;
    padding-left: 0;
    border-left: 0;
  }

  .operations-slider {
    display: flex;
    gap: 14px;
    min-height: 0;
    padding: 0 0 18px;
    overflow-x: auto;
    overflow-y: hidden;
    background: transparent;
    box-shadow: none;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .operations-slide {
    flex: 0 0 min(72vw, 460px);
    min-width: min(72vw, 460px);
    min-height: 330px;
    margin-left: 0;
    scroll-snap-align: start;
  }

  .operations-slide + .operations-slide {
    margin-left: 0;
  }

  .operations-slide.is-active {
    flex: 0 0 min(72vw, 460px);
  }

  .operations-slide-content,
  .operations-slide.is-active .operations-slide-content {
    opacity: 1;
    transform: none;
    transition: none;
  }

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

/* =========================================================
   16. RESPONSIVE: MOVIL
========================================================= */

@media (max-width: 620px) {
  :root {
    --mobile-page-margin: 30px;
    --about-text-line-height: 1.44;
    --section-text-line-height: 1.46;
  }

  .site-header {
    padding-left: var(--mobile-page-margin);
    padding-right: var(--mobile-page-margin);
  }

  .brand-logo {
    width: 124px;
  }

  .nav {
    gap: 12px;
    font-size: 13px;
  }

  .home-banner {
    min-height: 92vh;
    padding: 54px var(--mobile-page-margin) 26px;
  }

  .home-banner-video {
    object-position: center top;
  }

  .home-banner-video-desktop {
    display: none;
  }

  .home-banner-video-mobile {
    display: block;
  }

  .about-section,
  .operations-section,
  .services-section,
  .sectors-section,
  .company-section,
  .process-section,
  .contact-section {
    padding-top: 54px;
    padding-bottom: 54px;
    padding-left: var(--mobile-page-margin);
    padding-right: var(--mobile-page-margin);
  }

  .about-section,
  .operations-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading p,
  .company-section p,
  .contact-section p {
    line-height: var(--section-text-line-height);
  }

  .about-layout,
  .operations-layout,
  .sectors-layout,
  .company-layout,
  .contact-grid,
  .steps {
    gap: 18px;
  }

  .operations-layout {
    margin-bottom: 30px;
  }

  .about-title,
  .operations-title,
  .section-heading h2 {
    margin-bottom: 0;
  }

  .about-text,
  .operations-text {
    margin-top: 0;
    line-height: var(--about-text-line-height);
  }

  .about-heading,
  .operations-heading {
    margin-bottom: 0;
  }

  .home-banner-overlay {
    background: linear-gradient(
      90deg,
      rgba(5, 7, 12, var(--home-overlay-mobile-start)) 0%,
      rgba(5, 7, 12, var(--home-overlay-mobile-end)) 100%
    );
  }

  .home-banner-kicker {
    font-size: 11px;
  }

  .home-banner-text-block {
    width: 100%;
    max-width: 100%;
    gap: 18px;
  }

  .home-banner-title {
    font-size: clamp(34px, 9.8vw, 48px);
    line-height: 1;
  }

  .home-banner-paragraph {
    margin-top: 16px;
    font-size: 17px;
    font-weight: 500;
  }

  .operations-section {
    min-height: 0;
    overflow: hidden;
  }

  .operations-slider {
    display: flex;
    gap: 18px;
    min-height: 0;
    height: auto;
    width: calc(100% + var(--mobile-page-margin));
    margin-right: calc(var(--mobile-page-margin) * -1);
    margin-bottom: 0;
    padding: 8px var(--mobile-page-margin) 18px 0;
    overflow-x: auto;
    overflow-y: hidden;
    background: transparent;
    box-shadow: none;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .operations-slider::-webkit-scrollbar {
    display: none;
  }

  .reveal.reveal-left,
  .reveal.reveal-right {
    transform: translateY(28px) scale(0.99);
  }

  .reveal,
  .reveal.reveal-scale {
    filter: none;
    transform: translateY(28px) scale(0.99);
    transition:
      opacity 760ms cubic-bezier(0.16, 1, 0.3, 1),
      transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .operations-slide,
  .operations-slide + .operations-slide {
    position: relative;
    inset: auto;
    flex: 0 0 min(82vw, 350px);
    width: min(82vw, 350px);
    min-width: min(82vw, 350px);
    min-height: 330px;
    margin-left: 0;
    padding: 24px;
    border-radius: 18px;
    background-clip: padding-box;
    scroll-snap-align: start;
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.22);
    pointer-events: auto;
    opacity: 1;
    transform: none;
    transition: box-shadow 240ms ease;
  }

  .operations-slide.is-active {
    flex: 0 0 min(82vw, 350px);
    width: min(82vw, 350px);
    min-height: 330px;
    transform: none;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
  }

  .operations-slide.is-before,
  .operations-slide.is-after-1,
  .operations-slide.is-after-2,
  .operations-slide.is-after-3 {
    opacity: 1;
    transform: none;
  }

  .operations-slide-content {
    width: min(100%, 330px);
    padding-top: 86px;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .operations-slide.is-active .operations-slide-content {
    padding-top: 86px;
  }

  .operations-slide-number {
    top: 20px;
    right: 20px;
    bottom: auto;
    font-size: 64px;
    transition: color 240ms ease;
  }

  .operations-slide h3 {
    max-width: 320px;
    font-size: clamp(28px, 8.6vw, 38px);
    line-height: 1.1;
  }

  .operations-slide p {
    max-width: 310px;
    font-size: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form .button {
    width: 100%;
  }

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

  .service-card {
    min-height: auto;
  }

  .site-footer {
    padding-left: var(--mobile-page-margin);
    padding-right: var(--mobile-page-margin);
  }
}
