/* ============================================================
   CANGRI METAL — estilo industrial: acero oscuro + naranja de seguridad
   ============================================================ */

:root {
  --bg-0: #0a0d12;
  --bg-1: #10141b;
  --bg-2: #171d26;
  --panel: #1c2430;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #eef1f5;
  --muted: #9aa6b5;
  --accent: #ff7a1a;
  --accent-2: #ffb02e;
  --accent-soft: rgba(255, 122, 26, .12);
  --danger: #ff4747;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px -12px rgba(0, 0, 0, .55);
  --container: 1200px;
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.65;
  overflow-x: clip;
}
@supports not (overflow: clip) {
  body { overflow-x: hidden; }
}

::selection { background: var(--accent); color: #fff; }

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: #2b3543; border-radius: 8px; border: 2px solid var(--bg-0); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

section { scroll-margin-top: 96px; }

/* ---------- accesibilidad ---------- */
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  background: var(--accent); color: #fff; font-weight: 600;
  padding: 10px 18px; border-radius: 8px; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ============================================================
   Animaciones de aparición
   ============================================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1) var(--d, 0s),
              transform .7s cubic-bezier(.22, .61, .36, 1) var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
}

html.shot { scroll-behavior: auto; }
html.shot .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
html.shot .hero { min-height: 760px; }
html.shot .hero__bg img { animation: none; }

/* ============================================================
   Tipografía, kickers y títulos
   ============================================================ */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 13px/1 var(--font-display);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.kicker::before {
  content: '';
  width: 34px; height: 8px;
  border-radius: 2px;
  background: repeating-linear-gradient(
    -45deg, var(--accent) 0 6px, transparent 6px 12px);
}

.section__head { max-width: 720px; margin-bottom: 52px; }
.section__head.center { margin-inline: auto; text-align: center; }
.section__head.center .kicker { justify-content: center; }

.section__title {
  font: 700 clamp(30px, 4.4vw, 46px)/1.08 var(--font-display);
  text-transform: uppercase;
  letter-spacing: .01em;
}
.section__title span { color: var(--accent); }

.section__lead { color: var(--muted); margin-top: 14px; font-size: 17px; }

.section { padding: 96px 0; }
.section--alt {
  background: var(--bg-1) radial-gradient(800px 420px at 85% -10%, rgba(255, 122, 26, .06), transparent);
}

/* ============================================================
   Botones
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 15px/1 var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 16px 26px;
  border-radius: 10px;
  transition: transform .18s, box-shadow .18s, background .18s, border-color .18s;
  border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; }

.btn--accent {
  background: linear-gradient(135deg, var(--accent), #ff9435);
  color: #fff;
  box-shadow: 0 10px 26px -8px rgba(255, 122, 26, .55);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -8px rgba(255, 122, 26, .65); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-2); transform: translateY(-2px); }

.btn--sm { padding: 11px 18px; font-size: 13.5px; border-radius: 9px; }
.btn--block { width: 100%; justify-content: center; }

/* ============================================================
   Topbar
   ============================================================ */
.topbar {
  background: #05070a;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  position: relative;
  z-index: 60;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 7px;
}
.topbar__legal {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar__legal svg { width: 15px; height: 15px; color: #38d982; flex: none; }
.topbar__links { display: flex; align-items: center; gap: 14px; flex: none; }
.topbar__links a:hover { color: var(--accent-2); }
.topbar__tel strong { color: var(--text); }
.topbar__sep { width: 1px; height: 14px; background: var(--line-strong); }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 18, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.header.scrolled {
  background: rgba(10, 13, 18, .95);
  border-bottom-color: var(--line);
}
.header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 10px, transparent 10px 20px);
  opacity: .55;
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  padding: 2px;
  background: #262b22;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font: 800 22px/1 var(--font-display);
  letter-spacing: .04em;
  color: #fff;
}
.brand__name em { color: var(--accent); font-style: normal; }
.brand__tag {
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__link {
  position: relative;
  font: 600 14.5px/1 var(--font-display);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #cdd6e0;
  padding: 10px 12px;
  border-radius: 8px;
  transition: color .18s, background .18s;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nav__link.is-active { color: var(--accent-2); }
.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.nav__cta { margin-left: 10px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
}
.burger span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - 76px - 36px);
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg img { animation: none; }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(160deg, rgba(6, 9, 13, .92) 0%, rgba(6, 9, 13, .62) 45%, rgba(6, 9, 13, .85) 100%),
    radial-gradient(900px 500px at 18% 30%, rgba(255, 122, 26, .16), transparent 65%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(720px 420px at 30% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(720px 420px at 30% 40%, #000, transparent 75%);
}

.hero__content { padding-block: 90px; max-width: 860px; }
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 13px/1 var(--font-display);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid rgba(255, 176, 46, .35);
  background: rgba(255, 176, 46, .08);
  padding: 9px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.hero__title {
  font: 800 clamp(38px, 6.4vw, 74px)/1.02 var(--font-display);
  text-transform: uppercase;
  letter-spacing: .005em;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .5);
}
.hero__title span { color: var(--accent-2); }
.hero__hl {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 4px;
}
.hero__lead {
  max-width: 620px;
  color: #ccd4de;
  font-size: clamp(16px, 1.6vw, 19px);
  margin-top: 22px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 44px;
  color: #c3ccd7;
  font-size: 14.5px;
}
.hero__badges li { display: flex; align-items: center; gap: 9px; }
.hero__badges svg { width: 17px; height: 17px; color: var(--accent); flex: none; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 20px;
  display: flex;
  justify-content: center;
}
.hero__scroll span {
  width: 4px; height: 8px;
  background: var(--accent);
  border-radius: 4px;
  margin-top: 7px;
  animation: scrolldot 1.6s ease-in-out infinite;
}
@keyframes scrolldot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, #151a22, #10141b);
  overflow: hidden;
  padding-block: 15px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marquee 42s linear infinite;
  align-items: center;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font: 700 17px/1 var(--font-display);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #8d99a8;
  white-space: nowrap;
}
.marquee__track i {
  color: var(--accent);
  font-style: normal;
  font-size: 10px;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   Nosotros
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.about__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about__media img {
  width: 100%; height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.22, .61, .36, 1);
}
.about__media:hover img { transform: scale(1.05); }
.about__media::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(transparent, rgba(5, 8, 12, .8));
}
.about__stamp {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(8, 11, 15, .82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 12px 18px;
}
.about__stamp-num {
  font: 800 30px/1 var(--font-display);
  color: var(--accent-2);
}
.about__stamp-txt {
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.about__body p { color: var(--muted); font-size: 16.5px; }
.about__body p + p { margin-top: 16px; }
.about__body strong { color: var(--text); font-weight: 600; }

.about__quote {
  margin-top: 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.about__quote > p {
  color: #d5dbe3 !important;
  font-size: 17px !important;
  font-style: italic;
}
.about__quote footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}
.about__quote footer img {
  width: 52px; height: 65px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--accent);
}
.about__quote footer strong { display: block; font-size: 15px; }
.about__quote footer span { font-size: 13px; color: var(--accent-2); letter-spacing: .04em; }

/* ============================================================
   Servicios
   ============================================================ */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.srv {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s, background .25s;
}
.srv::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.srv:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 26, .35);
  box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .6);
}
.srv:hover::before { transform: scaleX(1); }

.srv__icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  color: var(--accent-2);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 122, 26, .25);
  border-radius: 13px;
  margin-bottom: 18px;
  transition: background .25s, transform .25s;
}
.srv__icon svg { width: 26px; height: 26px; }
.srv:hover .srv__icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(-6deg) scale(1.06);
}

.srv h3 {
  font: 700 19px/1.15 var(--font-display);
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 8px;
}
.srv p { color: var(--muted); font-size: 14.5px; }

.services__note {
  margin-top: 36px;
  text-align: center;
  color: var(--muted);
}
.services__note strong { color: var(--text); }
.services__note a { color: var(--accent-2); font-weight: 600; }
.services__note a:hover { text-decoration: underline; }

/* ============================================================
   Galería
   ============================================================ */
/* Galería — masonry por cuadrícula con spans calculados por JS */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  grid-auto-rows: 10px;
}
.gitem {
  grid-row-end: span var(--s, 22);
}
html:not(.js) .gallery { display: block; columns: 3; column-gap: 16px; }
html:not(.js) .gitem { margin-bottom: 16px; }
html:not(.js) .gitem img { height: auto; object-fit: initial; }
.gitem {
  position: relative;
  display: block;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: zoom-in;
}
.gitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.22, .61, .36, 1), filter .35s;
}
.gitem:hover img { transform: scale(1.06); filter: brightness(.75); }

.gitem__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 42px 18px 16px;
  text-align: left;
  color: #fff;
  background: linear-gradient(transparent, rgba(4, 6, 10, .88));
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.gitem__cap strong {
  display: block;
  font: 700 17px/1.1 var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.gitem__cap { font-size: 13px; color: #b9c2cd; }
.gitem:hover .gitem__cap { opacity: 1; transform: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 7, 10, .94);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s, visibility .28s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__figure {
  max-width: min(1100px, 88vw);
  text-align: center;
}
.lightbox__figure img {
  max-height: 78vh;
  max-width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  transform: scale(.96);
  transition: transform .28s;
}
.lightbox.open .lightbox__figure img { transform: scale(1); }
.lightbox__figure figcaption {
  margin-top: 16px;
  color: #cdd6e0;
  font-size: 15px;
}
.lightbox__close, .lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font-size: 20px;
  transition: background .2s, border-color .2s;
}
.lightbox__close:hover, .lightbox__nav:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.lightbox__close { top: 22px; right: 24px; transform: none; font-size: 30px; }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

/* ============================================================
   Proceso
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--bg-0);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform .25s, border-color .25s;
}
.step:hover { transform: translateY(-5px); border-color: rgba(255, 122, 26, .4); }
.step__num {
  font: 800 46px/1 var(--font-display);
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 12px;
}
.step::after {
  content: '→';
  position: absolute;
  top: 34px;
  right: -14px;
  color: #3a4553;
  font-size: 18px;
  z-index: 1;
}
.step:last-child::after { content: none; }
.step h3 {
  font: 700 18px/1.2 var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.step p { color: var(--muted); font-size: 14.5px; }

/* ============================================================
   Seguridad
   ============================================================ */
.seguridad {
  position: relative;
  background:
    radial-gradient(700px 400px at 90% 10%, rgba(255, 122, 26, .07), transparent),
    linear-gradient(180deg, #10141b, #0a0d12);
  overflow: hidden;
}
.seguridad::before {
  content: '';
  position: absolute;
  left: -60px; top: -60px;
  width: 320px; height: 320px;
  background: repeating-linear-gradient(-45deg, rgba(255, 176, 46, .1) 0 14px, transparent 14px 28px);
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.seguridad__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.kicker--on { color: var(--accent-2); }
.checklist { display: grid; gap: 14px; margin-top: 10px; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #cbd3dd;
  font-size: 15.5px;
  background: rgba(255, 255, 255, .025);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  transition: border-color .2s, background .2s, transform .2s;
}
.checklist li:hover {
  border-color: rgba(255, 122, 26, .35);
  background: rgba(255, 122, 26, .05);
  transform: translateX(4px);
}
.checklist svg {
  width: 19px; height: 19px;
  color: var(--accent);
  flex: none;
  margin-top: 3px;
}
.seguridad__body .btn { margin-top: 30px; }

.seguridad__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.seguridad__media::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: calc(var(--radius-lg) - 8px);
  z-index: 2;
  pointer-events: none;
}
.seguridad__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 20%;
}

/* ============================================================
   Labor social
   ============================================================ */
.social {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.social__logo {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 26px;
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
}
.social__logo img {
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.social__logo h3 {
  font: 700 24px/1.1 var(--font-display);
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #fff;
  margin-bottom: 8px;
}
.social__logo h3 span, .social__logo h3 { color: #fff; }
.social__logo p { color: var(--muted); font-size: 15.5px; }

.social__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.social__photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.22, .61, .36, 1);
}
.social__photo:hover img { transform: scale(1.05); }
.social__photo figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 18px 14px;
  font-size: 14px;
  color: #cfd6df;
  background: linear-gradient(transparent, rgba(4, 6, 10, .9));
}
.social__note {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(255, 122, 26, .12), rgba(255, 176, 46, .05));
  border: 1px solid rgba(255, 122, 26, .3);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: grid;
  align-content: center;
  gap: 14px;
}
.social__note p { color: #dcdfe6; font-size: 15.5px; }
.social__flag strong { color: var(--accent-2); }

/* ============================================================
   Mercados
   ============================================================ */
.markets {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}
.markets li {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 12px 18px;
  transition: transform .25s, border-color .25s;
}
.markets li:hover { transform: translateY(-6px); border-color: rgba(255, 122, 26, .4); }
.markets img {
  width: 64px; height: 42px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .4);
}.markets span {
  font: 600 13.5px/1.2 var(--font-display);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.markets li:hover span { color: var(--text); }

/* ============================================================
   Contacto
   ============================================================ */
.contacto {
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(255, 122, 26, .08), transparent),
    var(--bg-1);
}
.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.contact__info { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ci {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform .22s, border-color .22s;
}
.ci:hover { transform: translateY(-4px); border-color: rgba(255, 122, 26, .35); }
.ci__icon {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  color: var(--accent-2);
  background: var(--accent-soft);
  border-radius: 11px;
  margin-bottom: 12px;
}
.ci__icon svg { width: 21px; height: 21px; }
.ci h3 {
  font: 700 15px/1.1 var(--font-display);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 6px;
}
.ci p { color: var(--muted); font-size: 14.5px; }
.ci p a { color: #d7dee7; }
.ci p a:hover { color: var(--accent-2); }

.map {
  grid-column: 1 / -1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 230px;
}
.map iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(1) invert(.92) contrast(.9) hue-rotate(180deg);
}

.contact__form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 38px);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field label {
  font: 600 13px/1 var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #aab5c2;
}
.field input, .field textarea {
  font: 500 15px/1.4 var(--font-body);
  color: var(--text);
  background: var(--bg-0);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 13px 15px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field input:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, .18);
}
.field input.error, .field textarea.error { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 71, 71, .15); }
.field textarea { resize: vertical; min-height: 120px; }

.form-hint { margin-top: 14px; font-size: 13px; color: var(--muted); }
.form-hint a { color: var(--accent-2); }
.form-ok { margin-top: 12px; color: #38d982; font-weight: 600; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: #05070a;
  border-top: 1px solid var(--line);
}
.footer::before {
  content: '';
  display: block;
  height: 3px;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 10px, transparent 10px 20px);
  opacity: .55;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-block: 56px 40px;
}
.footer__brand p { color: var(--muted); font-size: 14.5px; margin-top: 18px; max-width: 300px; }
.footer__brand .brand { display: inline-flex; }

.footer h4 {
  font: 700 14px/1 var(--font-display);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer__nav { display: grid; gap: 9px; justify-items: start; }
.footer__nav a, .footer__contact a {
  color: var(--muted);
  font-size: 14.5px;
  transition: color .18s, transform .18s;
}
.footer__nav a:hover, .footer__contact a:hover { color: var(--accent-2); transform: translateX(3px); }
.footer__contact { display: grid; gap: 9px; justify-items: start; }
.footer__contact span { color: var(--muted); font-size: 14.5px; }

.footer__bar { border-top: 1px solid var(--line); padding-block: 18px; }
.footer__bar-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #6f7a87;
  font-size: 12.5px;
}

/* ============================================================
   Botones flotantes
   ============================================================ */
.totop, .float-wa {
  position: fixed;
  right: 22px;
  z-index: 90;
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: transform .22s, box-shadow .22s, opacity .3s, visibility .3s;
}
.totop {
  bottom: 88px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  color: var(--text);
  opacity: 0;
  visibility: hidden;
}
.totop.show { opacity: 1; visibility: visible; }
.totop:hover { transform: translateY(-4px); border-color: var(--accent); color: var(--accent-2); }
.totop svg { width: 20px; height: 20px; }

.float-wa {
  bottom: 24px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .55);
  animation: waPulse 2.6s infinite;
}
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 26px; height: 26px; }
@keyframes waPulse {
  0% { box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .55), 0 0 0 0 rgba(37, 211, 102, .45); }
  70% { box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .55), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .55), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .services, .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { content: none; }
  .markets { grid-template-columns: repeat(4, 1fr); }
  .nav__link { padding: 10px 8px; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 480px; margin-inline: auto; }
  .seguridad__grid { grid-template-columns: 1fr; }
  .seguridad__media { max-width: 480px; margin-inline: auto; }
  .gallery { columns: 2; }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .hero__content { padding-block: 66px; }

  .burger { display: flex; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: min(84vw, 340px);
    height: 100dvh;
    padding: 96px 22px 30px;
    background: rgba(10, 13, 18, .97);
    backdrop-filter: blur(16px);
    border-left: 1px solid var(--line);
    transform: translateX(105%);
    transition: transform .32s cubic-bezier(.22, .61, .36, 1);
    overflow-y: auto;
  }
  .nav.open { transform: none; }
  .nav__link { padding: 14px 12px; font-size: 17px; border-radius: 10px; }
  .nav__link.is-active::after { display: none; }
  .nav__link.is-active { background: var(--accent-soft); }
  .nav__cta { margin: 16px 0 0; justify-content: center; }
  .nav::before {
    content: '';
    position: absolute;
    top: 26px; left: 22px;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: #262b22 url('../img/logo.jpg') center/cover;
  }
}

@media (max-width: 620px) {
  .container { padding-inline: 18px; }
  .topbar__links a:first-child { display: none; }
  .topbar__sep { display: none; }
  .services, .steps, .markets, .form-row, .contact__info, .social { grid-template-columns: 1fr; }
  .social__logo { grid-template-columns: 1fr; text-align: center; }
  .social__logo img { max-width: 180px; margin-inline: auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero__badges { gap: 10px 16px; font-size: 13.5px; }
  .hero__actions .btn { flex: 1; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bar-inner { justify-content: center; text-align: center; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__close { right: 8px; }
  .map { height: 190px; }
}

@media (max-width: 900px) and (min-width: 621px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
