/* ================================================
   SYS Ingeniería y Servicios SAS — v2.1
   Paleta oficial brandbook:
     Verde    #29CF8D  (R:41  G:207 B:141)
     Teal     #00A99D  (R:0   G:169 B:157) — stop degradado
     Gris     #4D4D4D  (R:77  G:77  B:77)
   Degradado: #29CF8D → #00A99D
   Fuentes:   Univia Pro (display) · Gotham (body)
   ================================================ */

/* ═══ FONTS ═══ */
@font-face {
  font-family: "Univia Pro";
  src: url("assets/fonts/UniviaPro-Black.woff2") format("woff2"),
       url("assets/fonts/UniviaPro-Black.woff") format("woff");
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Univia Pro";
  src: url("assets/fonts/UniviaPro-Bold.woff2") format("woff2"),
       url("assets/fonts/UniviaPro-Bold.woff") format("woff");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Univia Pro";
  src: url("assets/fonts/UniviaPro-Medium.woff2") format("woff2"),
       url("assets/fonts/UniviaPro-Medium.woff") format("woff");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Univia Pro";
  src: url("assets/fonts/UniviaPro-Regular.woff2") format("woff2"),
       url("assets/fonts/UniviaPro-Regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("assets/fonts/Gotham-Bold.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("assets/fonts/Gotham-Medium.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("assets/fonts/Gotham-Book.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("assets/fonts/Gotham-Light.otf") format("opentype");
  font-weight: 300; font-style: normal; font-display: swap;
}

/* ═══ VARIABLES — PALETA OFICIAL ═══ */
:root {
  /* Paleta brandbook */
  --green:  #29CF8D;               /* Verde principal R41 G207 B141 */
  --teal:   #00A99D;               /* Verde teal R0  G169 B157 */
  --gray-b: #4D4D4D;               /* Gris R77 G77 B77 */

  /* Derivados */
  --green-d: #1EB87C;
  --teal-d:  #008C83;
  --green-g: rgba(41, 207, 141, 0.12);
  --teal-g:  rgba(0, 169, 157, 0.15);

  /* Degradado oficial */
  --grad: linear-gradient(135deg, #29CF8D 0%, #00A99D 100%);
  --grad-h: linear-gradient(135deg, #29CF8D 0%, #00A99D 50%, #007A74 100%);

  /* Fondos oscuros */
  --navy:   #07121F;
  --navy-2: #0B1D2E;
  --navy-3: #0F2438;

  /* Superficies claras */
  --white: #FFFFFF;
  --off:   #F2FCF8;               /* Off-white con tinte verde muy suave */

  /* Bordes */
  --bd: rgba(255, 255, 255, 0.07);
  --bl: rgba(0,   0,   0,   0.07);
  --bg: rgba(41,  207, 141, 0.2);

  /* Texto */
  --tx: #0D1C2E;
  --tm: #4D4D4D;                  /* Gris oficial brandbook */
  --tl: rgba(255, 255, 255, 0.62);

  /* Fonts */
  --fd: "Univia Pro", "Arial Black", sans-serif;
  --fb: "Gotham", Arial, Helvetica, sans-serif;
}

/* ═══ RESET ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--fb); font-weight: 400;
  color: var(--tx); background: var(--white);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 10px 40px;
  transition: background 0.35s, padding 0.35s, box-shadow 0.35s;
}
.navbar::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2.5px;
  background: var(--grad);
  opacity: 0; transition: opacity 0.35s;
}
.navbar.scrolled::after { opacity: 1; }
.navbar.scrolled {
  background: rgba(7, 18, 31, 0.97);
  backdrop-filter: blur(18px);
  padding: 6px 40px;
  box-shadow: 0 1px 0 var(--bd);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 97px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--fb); font-weight: 500; font-size: 0.8rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.2s;
  position: relative; padding-bottom: 3px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--grad);
  transition: width 0.28s ease;
}
.nav-links a:not(.btn-nav):hover { color: var(--white); }
.nav-links a:not(.btn-nav):hover::after { width: 100%; }

.btn-nav {
  background: var(--grad) !important;
  color: var(--white) !important;
  padding: 10px 24px; border-radius: 6px; font-weight: 700 !important;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.btn-nav::after { display: none !important; }
.btn-nav:hover {
  opacity: 0.88; transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(41, 207, 141, 0.35) !important;
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); transition: all 0.3s;
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh;
  background: linear-gradient(145deg, var(--navy) 0%, #081826 55%, var(--navy-3) 100%);
  display: flex; flex-direction: column;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }

/* Video de fondo */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 1;
}
/* Overlay — oscurece solo lo necesario para que el texto sea legible */
.hero-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    145deg,
    rgba(7, 18, 31, 0.55) 0%,
    rgba(7, 18, 31, 0.35) 50%,
    rgba(7, 18, 31, 0.50) 100%
  );
}

/* Orbs con colores de la paleta oficial */
.orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.orb-blue {
  width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(41, 207, 141, 0.22) 0%, rgba(0, 169, 157, 0.1) 50%, transparent 70%);
  top: -200px; right: -160px;
  animation: orbFloat 12s ease-in-out infinite;
}
.orb-green {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(0, 169, 157, 0.14) 0%, transparent 70%);
  bottom: 80px; left: -80px;
  animation: orbFloat 16s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-40px) scale(1.07); }
}

/* Patrón hexagonal honeycomb — alusivo a moléculas de hidrocarburo */
.hero-hex {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 2L54 16.5V47.5L28 62L2 47.5V16.5Z' fill='none' stroke='%2329CF8D' stroke-opacity='0.05' stroke-width='1'/%3E%3Cpath d='M28 62L28 100M54 47.5L56 47.5M2 47.5L0 47.5' fill='none' stroke='%2329CF8D' stroke-opacity='0.03' stroke-width='1'/%3E%3Cpath d='M28 100L54 84.5M28 100L2 84.5' fill='none' stroke='%2329CF8D' stroke-opacity='0.03' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 100px;
  animation: hexDrift 60s linear infinite;
}
@keyframes hexDrift {
  from { background-position: 0 0; }
  to   { background-position: 56px 100px; }
}

/* Silueta corporativa — torre de perforación */
.hero-pumpjack {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  right: 4%;
  width: min(416px, 36vw);
  height: min(624px, 90vh);
  pointer-events: none;
  overflow: visible;
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(41, 207, 141, 0.45));
}
/* Mecanismo de cuatro barras real: la manivela gira a velocidad constante y
   arrastra —mediante la biela (pitman)— el balancín y el vástago. Las cuatro
   animaciones son de 8s lineales para permanecer acopladas fotograma a fotograma
   (keyframes derivados de la cinemática del enlace). Las opacidades se controlan
   con atributos de presentación en el SVG, generando profundidad por capas. */

/* Balancín (walking beam) — pivota sobre el rodamiento silla (150,116) */
.pj-beam {
  transform-origin: 150px 116px;
  animation: beamRock 8s linear infinite;
}
/* Biela / pitman — perno de manivela (195,227.6) → cola del balancín */
.pj-pitman {
  transform-origin: 195px 227.6px;
  animation: pjPitman 8s linear infinite;
}
/* Vástago pulido — sube y baja siguiendo la cabeza de caballo */
.pj-rod {
  animation: pjRod 8s linear infinite;
}
/* Manivela + contrapeso — giran alrededor del cigüeñal (206,231) */
.pj-crank {
  transform-origin: 206px 231px;
  animation: crankSpin 8s linear infinite;
}
@keyframes crankSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes beamRock {
  0% { transform: rotate(0.00deg); }
  4.167% { transform: rotate(-2.15deg); }
  8.333% { transform: rotate(-4.18deg); }
  12.5% { transform: rotate(-5.91deg); }
  16.667% { transform: rotate(-7.20deg); }
  20.833% { transform: rotate(-7.93deg); }
  25% { transform: rotate(-8.05deg); }
  29.167% { transform: rotate(-7.55deg); }
  33.333% { transform: rotate(-6.49deg); }
  37.5% { transform: rotate(-4.97deg); }
  41.667% { transform: rotate(-3.12deg); }
  45.833% { transform: rotate(-1.08deg); }
  50% { transform: rotate(1.01deg); }
  54.167% { transform: rotate(3.00deg); }
  58.333% { transform: rotate(4.79deg); }
  62.5% { transform: rotate(6.26deg); }
  66.667% { transform: rotate(7.34deg); }
  70.833% { transform: rotate(7.96deg); }
  75% { transform: rotate(8.10deg); }
  79.167% { transform: rotate(7.76deg); }
  83.333% { transform: rotate(6.94deg); }
  87.5% { transform: rotate(5.68deg); }
  91.667% { transform: rotate(4.04deg); }
  95.833% { transform: rotate(2.11deg); }
  100% { transform: rotate(0.00deg); }
}
@keyframes pjRod {
  0% { transform: translateY(0.00px); }
  4.167% { transform: translateY(4.33px); }
  8.333% { transform: translateY(8.36px); }
  12.5% { transform: translateY(11.77px); }
  16.667% { transform: translateY(14.27px); }
  20.833% { transform: translateY(15.69px); }
  25% { transform: translateY(15.91px); }
  29.167% { transform: translateY(14.94px); }
  33.333% { transform: translateY(12.89px); }
  37.5% { transform: translateY(9.92px); }
  41.667% { transform: translateY(6.27px); }
  45.833% { transform: translateY(2.19px); }
  50% { transform: translateY(-2.04px); }
  54.167% { transform: translateY(-6.13px); }
  58.333% { transform: translateY(-9.81px); }
  62.5% { transform: translateY(-12.86px); }
  66.667% { transform: translateY(-15.09px); }
  70.833% { transform: translateY(-16.39px); }
  75% { transform: translateY(-16.69px); }
  79.167% { transform: translateY(-15.97px); }
  83.333% { transform: translateY(-14.26px); }
  87.5% { transform: translateY(-11.64px); }
  91.667% { transform: translateY(-8.26px); }
  95.833% { transform: translateY(-4.30px); }
  100% { transform: translateY(0.00px); }
}
@keyframes pjPitman {
  0% { transform: translate(0.00px,0.00px) rotate(0.00deg); }
  4.167% { transform: translate(1.26px,-2.73px) rotate(-0.56deg); }
  8.333% { transform: translate(3.18px,-5.03px) rotate(-1.55deg); }
  12.5% { transform: translate(5.63px,-6.76px) rotate(-2.88deg); }
  16.667% { transform: translate(8.45px,-7.80px) rotate(-4.42deg); }
  20.833% { transform: translate(11.44px,-8.07px) rotate(-6.05deg); }
  25% { transform: translate(14.40px,-7.56px) rotate(-7.63deg); }
  29.167% { transform: translate(17.12px,-6.31px) rotate(-9.07deg); }
  33.333% { transform: translate(19.43px,-4.39px) rotate(-10.27deg); }
  37.5% { transform: translate(21.16px,-1.93px) rotate(-11.17deg); }
  41.667% { transform: translate(22.20px,0.88px) rotate(-11.76deg); }
  45.833% { transform: translate(22.47px,3.87px) rotate(-12.00deg); }
  50% { transform: translate(21.96px,6.83px) rotate(-11.88deg); }
  54.167% { transform: translate(20.70px,9.56px) rotate(-11.42deg); }
  58.333% { transform: translate(18.78px,11.86px) rotate(-10.63deg); }
  62.5% { transform: translate(16.33px,13.60px) rotate(-9.55deg); }
  66.667% { transform: translate(13.51px,14.63px) rotate(-8.23deg); }
  70.833% { transform: translate(10.52px,14.91px) rotate(-6.74deg); }
  75% { transform: translate(7.56px,14.40px) rotate(-5.18deg); }
  79.167% { transform: translate(4.84px,13.14px) rotate(-3.65deg); }
  83.333% { transform: translate(2.53px,11.22px) rotate(-2.25deg); }
  87.5% { transform: translate(0.80px,8.77px) rotate(-1.10deg); }
  91.667% { transform: translate(-0.24px,5.95px) rotate(-0.29deg); }
  95.833% { transform: translate(-0.51px,2.96px) rotate(0.09deg); }
  100% { transform: translate(0.00px,0.00px) rotate(0.00deg); }
}

/* Contenido */
.hero-inner {
  flex: 1; position: relative; z-index: 2;
  display: flex; align-items: center;
  max-width: 1240px; margin: 0 auto;
  padding: 160px 40px 60px; width: 100%;
}
.hero-content { max-width: 760px; }
.hero-content > * { opacity: 0; animation: fadeUp 0.9s ease forwards; }

.hero-tags {
  display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
  animation-delay: 0.05s;
}
.hero-tags span {
  font-family: var(--fb); font-weight: 500; font-size: 0.7rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.dot-sep { color: var(--teal) !important; font-size: 1rem !important; letter-spacing: 0 !important; }

.hero-content h1 {
  font-family: var(--fd); font-weight: 900;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.02; letter-spacing: -0.025em; color: var(--white);
  margin-bottom: 24px; animation-delay: 0.15s;
  overflow-wrap: break-word;
}
/* Acento con degradado oficial */
.hero-content h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.07rem; color: var(--tl);
  max-width: 580px; line-height: 1.78; margin-bottom: 44px;
  animation-delay: 0.28s;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; animation-delay: 0.42s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ═══════════════════════════════════════
   SHARED SECTION STYLES
═══════════════════════════════════════ */
.section { padding: 100px 40px; }
.bg-off   { background: var(--off); }
.bg-white { background: var(--white); }
.bg-navy  { background: var(--navy-2); }
.bg-dark  { background: var(--navy); }
.section-inner { max-width: 1240px; margin: 0 auto; }

.sec-head { margin-bottom: 56px; }
.sec-head.center { text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }

/* Eyebrow con acento de paleta */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--fb); font-weight: 600; font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; display: inline-block;
  width: 26px; height: 2px;
  background: var(--grad);
  flex-shrink: 0;
}
.eyebrow-green { color: var(--green); }
.eyebrow-blue  { color: var(--teal); }

/* Headings */
h2 {
  font-family: var(--fd); font-weight: 900;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.1; letter-spacing: -0.02em; color: var(--tx);
}
h2.white { color: var(--white); }

/* ── Botones ── */
.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--grad); color: var(--white);
  font-family: var(--fb); font-weight: 700; font-size: 0.84rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 15px 32px; border-radius: 6px;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  opacity: 0.88; transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(41, 207, 141, 0.3);
}
.btn-outline {
  display: inline-flex; align-items: center;
  border: 1.5px solid rgba(41, 207, 141, 0.35); color: var(--green);
  font-family: var(--fb); font-weight: 500; font-size: 0.84rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 15px 32px; border-radius: 6px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-outline:hover {
  border-color: var(--teal); color: var(--white);
  background: rgba(0, 169, 157, 0.15);
}
.btn-dark {
  display: inline-flex; align-items: center;
  background: var(--navy); color: var(--white);
  font-family: var(--fb); font-weight: 700; font-size: 0.84rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 15px 32px; border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
}
.btn-dark:hover { background: var(--navy-3); transform: translateY(-2px); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════
   NOSOTROS
═══════════════════════════════════════ */
/* Encabezado about */
.about-header { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.about-header h2 { margin-bottom: 16px; }
.about-intro { color: var(--tm); font-size: 1rem; line-height: 1.7; }

/* Estadísticas */
.about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--bl);
  border: 1px solid var(--bl); border-radius: 14px;
  overflow: hidden; margin-bottom: 52px;
}
.about-stat {
  background: var(--white); padding: 32px 24px; text-align: center;
}
.stat-num {
  display: block; font-family: var(--fd); font-weight: 900; font-size: 2.6rem;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; margin-bottom: 10px;
}
.stat-label { font-size: 0.78rem; color: var(--tm); font-weight: 500; letter-spacing: 0.02em; }

/* Tarjetas Misión / Visión */
.mv-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 52px;
}
.mv-card {
  background: var(--white); border: 1px solid var(--bl);
  border-radius: 14px; padding: 36px 32px; position: relative; overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.mv-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad);
}
.mv-card:hover { transform: translateY(-4px); box-shadow: 0 10px 36px var(--teal-g); }
.mv-card-icon {
  width: 48px; height: 48px; border-radius: 10px; margin-bottom: 20px;
  background: var(--green-g); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.mv-card-icon svg { width: 22px; height: 22px; }
.mv-label {
  font-family: var(--fd); font-weight: 700; font-size: 0.66rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 12px; display: block;
}
.mv-card p { color: var(--tm); font-size: 0.9rem; line-height: 1.82; }

/* Valores */
.about-values { margin-bottom: 40px; }
.values-heading {
  font-family: var(--fd); font-weight: 700; font-size: 0.66rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 20px;
}
.values-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.val-chip {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 14px; background: var(--white);
  border: 1px solid var(--bl); border-radius: 12px; cursor: default; text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.val-chip:hover {
  border-color: var(--teal); transform: translateY(-4px);
  box-shadow: 0 6px 24px var(--teal-g);
}
.val-chip:hover .val-icon { background: var(--grad); color: var(--white); }
.val-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: var(--green-g); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, color 0.25s;
}
.val-icon svg { width: 20px; height: 20px; }
.val-chip span { font-family: var(--fd); font-weight: 700; font-size: 0.82rem; color: var(--tx); }

/* CTA about */
.about-cta { text-align: center; }

/* ═══════════════════════════════════════
   MASCOTA
═══════════════════════════════════════ */
.mascota-grid {
  display: grid; grid-template-columns: 400px 1fr; gap: 80px; align-items: center;
}
.mascota-img { display: flex; justify-content: center; }
.mascota-img img {
  height: 560px; width: auto; object-fit: contain;
  filter: drop-shadow(0 0 48px rgba(41, 207, 141, 0.18));
  transition: filter 0.4s;
}
.mascota-img img:hover { filter: drop-shadow(0 0 72px rgba(0, 169, 157, 0.3)); }
.mascota-info h2 { margin-bottom: 20px; }
.mascota-desc { color: var(--tl); font-size: 1rem; line-height: 1.8; margin-bottom: 28px; }
.mascota-vals { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.mascota-vals li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.68); font-size: 0.9rem; }
.check-g {
  width: 24px; height: 24px; flex-shrink: 0;
  background: var(--grad);
  color: var(--white); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 900;
}
.motto {
  font-family: var(--fd); font-weight: 700; font-size: 1.05rem;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════
   SERVICIOS
═══════════════════════════════════════ */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px; overflow: hidden;
}
.svc-card {
  background: rgba(255,255,255,0.025); padding: 38px 30px;
  border-bottom: 2px solid transparent;
  transition: background 0.25s, border-color 0.25s; cursor: default;
}
.svc-card:hover {
  background: rgba(41, 207, 141, 0.05);
  border-bottom-color: var(--teal);
}
.svc-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px;
}
.svc-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  color: var(--green); transition: color 0.3s;
}
.svc-card:hover .svc-icon { color: var(--teal); }
.svc-n {
  display: block; font-family: var(--fd); font-weight: 900; font-size: 0.68rem;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.16em; margin-bottom: 0;
}
.svc-card h3 {
  font-family: var(--fd); font-weight: 700; font-size: 1.05rem;
  color: var(--white); margin-bottom: 10px; line-height: 1.3;
}
.svc-card p { font-size: 0.84rem; color: rgba(255,255,255,0.42); line-height: 1.72; }

/* ═══════════════════════════════════════
   PROYECTOS
═══════════════════════════════════════ */
.proj-card {
  background: var(--white); border-radius: 14px; padding: 44px;
  border: 1px solid var(--bl);
  box-shadow: 0 6px 40px var(--teal-g);
}
.proj-card-top {
  display: flex; align-items: center; gap: 20px; margin-bottom: 18px; flex-wrap: wrap;
}
.proj-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-g); color: var(--teal-d);
  border: 1px solid rgba(41, 207, 141, 0.3);
  font-family: var(--fb); font-weight: 700; font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px;
}
.pulse-dot {
  width: 7px; height: 7px; background: var(--green);
  border-radius: 50%; animation: pulse 1.8s ease-in-out infinite; flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.7); }
}
.proj-client {
  font-family: var(--fd); font-weight: 700; font-size: 0.7rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--tm);
}
.proj-title {
  font-family: var(--fd); font-weight: 900;
  font-size: clamp(1.1rem, 1.9vw, 1.5rem);
  color: var(--tx); line-height: 1.32; margin-bottom: 32px;
  letter-spacing: -0.01em; max-width: 880px;
}
.proj-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.proj-img { border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; }
.proj-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.48s ease; display: block;
}
.proj-img:hover img { transform: scale(1.06); }

/* ═══════════════════════════════════════
   SECTORES
═══════════════════════════════════════ */
.sectors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.sectors-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sv-logo {
  grid-column: 1 / -1;
  background: rgba(255,255,255,0.04); border: 1px solid var(--bd);
  border-radius: 12px; padding: 40px;
  display: flex; align-items: center; justify-content: center;
}
.sv-logo img { max-height: 72px; width: auto; }
.sv-block { border-radius: 12px; padding: 28px 22px; }
.sv-block strong {
  display: block; font-family: var(--fd); font-weight: 900;
  font-size: 1.4rem; line-height: 1.1; margin-bottom: 6px;
}
.sv-block p { font-size: 0.8rem; opacity: 0.85; line-height: 1.5; }
/* Bloques con degradado oficial */
.sv-green { background: var(--grad); color: var(--white); }
.sv-blue  {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(41,207,141,0.22);
  color: var(--white);
}
.sv-blue strong {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sectors-text h2 { margin-bottom: 32px; }
.sector-list { list-style: none; display: flex; flex-direction: column; gap: 24px; }
.sector-list li {
  display: flex; gap: 16px; align-items: flex-start;
  transition: transform 0.25s;
}
.sector-list li:hover { transform: translateX(5px); }
.check-b {
  width: 28px; height: 28px; flex-shrink: 0; margin-top: 2px;
  background: var(--grad); color: var(--white);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 0.78rem; font-weight: 900;
}
.sector-list strong {
  display: block; font-family: var(--fd); font-weight: 700;
  font-size: 0.95rem; color: var(--white); margin-bottom: 4px;
}
.sector-list p { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.65; }

/* ═══════════════════════════════════════
   CERTIFICACIONES
═══════════════════════════════════════ */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-card {
  text-align: center; padding: 36px 20px;
  background: var(--white); border: 1px solid var(--bl);
  border-radius: 12px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.cert-card:hover {
  border-color: var(--teal); transform: translateY(-5px);
  box-shadow: 0 10px 36px var(--teal-g);
}
.cert-logo {
  display: block;
  max-height: 110px; width: auto; max-width: 170px;
  margin: 0 auto 20px;
  object-fit: contain;
  transition: transform 0.3s;
}
.cert-card:hover .cert-logo { transform: scale(1.05); }
.cert-logo-svg {
  display: block;
  width: 110px; height: 110px;
  margin: 0 auto 20px;
  transition: transform 0.3s;
}
.cert-card:hover .cert-logo-svg { transform: scale(1.05); }
.cert-card strong {
  display: block; font-family: var(--fd); font-weight: 900;
  font-size: 1.1rem; color: var(--tx); margin-bottom: 6px;
}
.cert-card span { font-size: 0.8rem; color: var(--tm); line-height: 1.5; }

/* ═══════════════════════════════════════
   CTA / CONTACTO
═══════════════════════════════════════ */
.cta-section {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, var(--navy) 0%, #061A14 100%);
  padding: 110px 40px;
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.orb-cta {
  position: absolute;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(41,207,141,0.16) 0%, rgba(0,169,157,0.08) 40%, transparent 70%);
  top: -200px; right: -100px; border-radius: 50%; filter: blur(70px);
}
.cta-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(41,207,141,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,207,141,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
}
.cta-inner {
  max-width: 780px; margin: 0 auto;
  text-align: center; position: relative; z-index: 1;
}
.cta-inner h2 { margin: 12px 0 20px; }
.cta-sub {
  color: rgba(255,255,255,0.48); font-size: 1rem;
  line-height: 1.72; margin-bottom: 44px;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer { background: #040C17; border-top: 1px solid var(--bd); }
/* Línea degradada en la parte superior del footer */
.footer::before {
  content: ''; display: block; height: 2px; background: var(--grad);
}
.footer-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 64px 40px 40px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px;
}
.footer-brand img { height: 97px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,0.3); font-size: 0.87rem; line-height: 1.7; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col strong {
  font-family: var(--fd); font-weight: 700; font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 4px;
}
.footer-col a, .footer-col span { color: rgba(255,255,255,0.35); font-size: 0.84rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { max-width: 1240px; margin: 0 auto; padding: 22px 40px; border-top: 1px solid var(--bd); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { color: rgba(255,255,255,0.18); font-size: 0.76rem; letter-spacing: 0.03em; }
.footer-credit { font-size: 0.72rem !important; color: rgba(255,255,255,0.12) !important; }
.footer-credit a { color: rgba(255,255,255,0.22); text-decoration: none; transition: color 0.2s; }
.footer-credit a:hover { color: var(--green); }

/* ═══════════════════════════════════════
   WHATSAPP FLOTANTE
═══════════════════════════════════════ */
.wa-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}
.wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}
.wa-btn svg { width: 32px; height: 32px; position: relative; z-index: 1; }

/* Anillo pulsante */
.wa-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: #25D366; opacity: 0;
  animation: waRing 2.4s ease-out infinite;
}
@keyframes waRing {
  0%   { transform: scale(1);   opacity: 0.55; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* Tooltip */
.wa-tooltip {
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%);
  background: #111; color: #fff;
  font-family: var(--fb); font-size: 0.75rem; font-weight: 500;
  white-space: nowrap; padding: 6px 12px; border-radius: 6px;
  pointer-events: none; opacity: 0;
  transition: opacity 0.2s ease;
}
.wa-tooltip::after {
  content: '';
  position: absolute; left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #111;
}
.wa-btn:hover .wa-tooltip { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .wa-ring { animation: none; }
}

/* ═══════════════════════════════════════
   WHATSAPP — MODAL DE SELECCIÓN
═══════════════════════════════════════ */
.wa-modal {
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.wa-modal.open { display: flex; }
.wa-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(7, 18, 31, 0.6);
  backdrop-filter: blur(4px);
  animation: waFade 0.25s ease;
}
.wa-modal-card {
  position: relative; z-index: 1;
  width: 100%; max-width: 380px;
  background: var(--white); border-radius: 18px;
  padding: 34px 24px 24px;
  box-shadow: 0 24px 70px rgba(7, 18, 31, 0.4);
  animation: waPop 0.28s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.wa-modal-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  border-radius: 18px 18px 0 0; background: #25D366;
}
.wa-modal-close {
  position: absolute; top: 12px; right: 14px;
  background: none; border: none; cursor: pointer;
  font-size: 1.7rem; line-height: 1; color: var(--tm);
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.wa-modal-close:hover { background: rgba(0, 0, 0, 0.05); color: var(--tx); }
.wa-modal-head { text-align: center; margin-bottom: 22px; }
.wa-modal-logo {
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.wa-modal-logo svg { width: 30px; height: 30px; }
.wa-modal-head p {
  font-family: var(--fd); font-weight: 700; font-size: 1.12rem;
  color: var(--tx); margin-bottom: 6px;
}
.wa-modal-head > span { font-size: 0.85rem; color: var(--tm); line-height: 1.5; }
.wa-modal-options { display: flex; flex-direction: column; gap: 12px; }
.wa-option {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--bl);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.wa-option:hover {
  border-color: #25D366; background: rgba(37, 211, 102, 0.06);
  transform: translateY(-2px);
}
.wa-option-icon {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px;
  background: rgba(37, 211, 102, 0.12); color: #25D366;
  display: flex; align-items: center; justify-content: center;
}
.wa-option-icon svg { width: 22px; height: 22px; }
.wa-option-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.wa-option-text strong {
  font-family: var(--fd); font-weight: 700; font-size: 1rem; color: var(--tx);
}
.wa-option-text small { font-size: 0.76rem; color: var(--tm); }
.wa-option-arrow { color: #25D366; font-size: 1.15rem; flex-shrink: 0; }

@keyframes waFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes waPop {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-modal-backdrop, .wa-modal-card { animation: none; }
}

/* ═══════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-content > *, .orb-blue, .orb-green, .hero-hex, .pj-beam, .pj-rod, .pj-pitman, .pj-crank {
    animation: none !important; opacity: 1 !important;
  }
  .reveal { transition: none !important; }
  * { scroll-behavior: auto !important; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — 1024px
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .sectors-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .mv-cards { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .mascota-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .mascota-img img { height: 400px; }
  .mascota-vals { text-align: left; display: inline-flex; flex-direction: column; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — 900px
═══════════════════════════════════════ */
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .proj-gallery { grid-template-columns: 1fr 1fr; }
  .proj-img:last-child { grid-column: 1 / -1; }
  .sectors-visual { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — 880px (mobile nav)
═══════════════════════════════════════ */
@media (max-width: 880px) {
  .nav-links {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(7, 18, 31, 0.98);
    flex-direction: column; justify-content: center; gap: 28px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 90;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
  .btn-nav { padding: 14px 32px !important; }
  .nav-toggle { display: flex; z-index: 91; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ═══════════════════════════════════════
   RESPONSIVE — 640px
═══════════════════════════════════════ */
@media (max-width: 640px) {
  .navbar { padding: 16px 24px; }
  .navbar.scrolled { padding: 12px 24px; }
  .nav-logo img { height: 58px; }
  .footer-brand img { height: 72px; }
  .hero-inner { padding: 120px 24px 40px; }
  .section { padding: 72px 24px; }
  .cta-section { padding: 72px 24px; }

  .hero-content h1 { font-size: clamp(1.9rem, 9vw, 2.7rem); }
  .hero-tags { flex-wrap: wrap; gap: 8px 10px; margin-bottom: 22px; }
  .hero-tags span { font-size: 0.64rem; letter-spacing: 0.12em; }
  .hero-sub { font-size: 1rem; margin-bottom: 32px; }
  .hero-pumpjack { opacity: 0.28; }

  .svc-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .proj-gallery { grid-template-columns: 1fr; }
  .proj-img:last-child { grid-column: auto; }
  .proj-card { padding: 28px 20px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .mv-cards { grid-template-columns: 1fr; }
  .sectors-visual { grid-template-columns: 1fr; }

  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta a { justify-content: center; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions a { justify-content: center; }

  .footer-inner { grid-template-columns: 1fr; padding: 48px 24px 32px; gap: 32px; }
  .footer-bottom { padding: 20px 24px; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — 420px
═══════════════════════════════════════ */
@media (max-width: 420px) {
  .nav-logo img { height: 52px; }
  .hero-inner { padding: 104px 20px 40px; }
  .hero-content h1 { font-size: clamp(1.75rem, 8.5vw, 2.2rem); }
  .hero-tags span { font-size: 0.6rem; letter-spacing: 0.1em; }

  .section { padding: 60px 20px; }
  .cta-section { padding: 60px 20px; }

  .stat-num { font-size: 2.1rem; }
  .about-stat { padding: 24px 14px; }
  .proj-card { padding: 24px 16px; }
  .cert-card { padding: 28px 16px; }
  .svc-card { padding: 28px 20px; }
  .mascota-img img { height: 260px; }

  .wa-btn { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .wa-btn svg { width: 28px; height: 28px; }
}
