:root {
  --navy: #002C6F;
  --navy-2: #003585;
  --blue: #009EE2;
  --cyan: #33B5EA;
  --ice: #F0F6FB;
  --ice-2: #E2F1FA;
  --white: #FFFFFF;
  --ink: #00183E;
  --muted: #4A6A8A;
  --line: rgba(0, 158, 226, .16);
  --line-soft: rgba(255, 255, 255, .10);
  --shadow: 0 24px 70px rgba(0, 24, 62, .12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
.container { width: min(1120px, 90vw); margin: 0 auto; }

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(0, 24, 62, .94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 158, 226, .18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  letter-spacing: -.4px;
}

.logo-brand {
  width: 224px;
  height: 46px;
  flex: 0 0 auto;
}

.logo-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.logo-brand-color {
  width: 236px;
  height: 50px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--blue);
  display: grid;
  place-items: center;
}

.brand-mark svg { width: 20px; height: 20px; }
.brand em { color: var(--blue); font-style: normal; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: rgba(255, 255, 255, .68); font-size: 14px; transition: color .2s; }
.nav-links a:hover { color: var(--cyan); }

.nav-cta,
.btn-primary {
  border: 0;
  border-radius: 9px;
  background: var(--blue);
  color: var(--navy);
  font-weight: 700;
  padding: 11px 20px;
  cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s;
}

.nav-cta:hover,
.btn-primary:hover {
  background: var(--cyan);
  transform: translateY(-1px);
  box-shadow: 0 12px 34px rgba(0, 158, 226, .28);
}

.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line-soft);
  color: var(--white);
  border-radius: 8px;
  width: 42px;
  height: 42px;
}

.hero {
  min-height: 100vh;
  padding: 128px 5% 118px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 540px);
  gap: 4vw;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--navy);
}

.hero-video iframe,
.hero-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(130vw, 231.12vh);
  height: max(73.13vw, 130vh);
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
  object-fit: cover;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 24, 62, .94) 0%, rgba(0, 44, 111, .76) 46%, rgba(0, 44, 111, .32) 100%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .05;
  background-image:
    linear-gradient(rgba(255, 255, 255, .7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .7) 1px, transparent 1px);
  background-size: 62px 62px;
}

.hero-content { position: relative; z-index: 2; max-width: 720px; }

.hero-brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  min-height: 360px;
  width: 100%;
  transform: translateX(-2vw);
}

.hero-brand img {
  width: min(520px, 42vw);
  height: auto;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, .34));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  border: 1px solid rgba(0, 158, 226, .28);
  background: rgba(0, 158, 226, .11);
  border-radius: 24px;
  padding: 7px 15px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 26px;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgba(0, 158, 226, .12);
}

h1 {
  font-family: 'Syne', sans-serif;
  color: var(--white);
  font-size: clamp(40px, 6vw, 74px);
  line-height: 1.02;
  letter-spacing: -2.5px;
  margin-bottom: 24px;
}

h1 .accent { color: var(--cyan); }
h1 .soft { color: rgba(255, 255, 255, .62); display: block; }

.hero p {
  max-width: 590px;
  color: rgba(255, 255, 255, .70);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 38px;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-secondary {
  border: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .86);
  background: transparent;
  border-radius: 9px;
  padding: 13px 22px;
  transition: border .2s, color .2s, transform .2s;
}
.btn-secondary:hover { border-color: rgba(51, 181, 234, .58); color: var(--cyan); transform: translateY(-1px); }

.hero-stats {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, .04);
  border-top: 1px solid rgba(255, 255, 255, .10);
}

.stat { padding: 25px 5%; border-right: 1px solid rgba(255, 255, 255, .08); }
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-family: 'Syne', sans-serif;
  color: var(--cyan);
  font-size: 30px;
  line-height: 1;
  margin-bottom: 7px;
}
.stat span { color: rgba(255, 255, 255, .55); font-size: 12px; }

.section { padding: 96px 0; }
.section.ice { background: var(--ice); }
.section.navy { background: var(--navy); color: var(--white); }
.section.about-white { background: var(--white); color: var(--ink); }
.section-head { margin-bottom: 46px; max-width: 670px; }
.tag {
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 10px;
}
h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
}
.lead { color: var(--muted); line-height: 1.72; font-weight: 300; font-size: 16px; }
.navy .lead { color: rgba(255, 255, 255, .66); }
.about-white .lead { color: var(--muted); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  display: block;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  min-height: 260px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.service-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  padding: 12px 16px;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.service-link::after { content: '->'; margin-left: 7px; transition: transform .2s; }
.service-card:hover .service-link::after { transform: translateX(4px); }
.service-card:hover .service-link {
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(0, 44, 111, .18);
  transform: translateY(-1px);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(0, 158, 226, .35); }
.service-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-media {
  height: 178px;
  margin: -8px -8px 28px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ice);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  filter: saturate(.95) contrast(1.05);
  transition: transform .45s ease, filter .45s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.1);
}

.service-card h3,
.project-card h3,
.mini-card h3 { font-family: 'Syne', sans-serif; font-size: 19px; line-height: 1.2; margin-bottom: 10px; }
.service-card h3 { font-size: clamp(25px, 2.2vw, 32px); letter-spacing: -.7px; }
.service-card p,
.mini-card p { color: var(--muted); line-height: 1.65; font-size: 14px; }
.service-list { display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 18px; }
.service-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.service-list span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex: 0 0 auto;
}

.home-main { display: flex; flex-direction: column; }
.home-main .hero { order: 0; }
.home-main #nosotros { order: 1; }
.home-main #servicios { order: 2; }
.home-main #proyectos { order: 3; }
.home-main #empresas { order: 4; }
.home-main .clients-band { order: 5; }
.home-main #contacto { order: 6; }

.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; }
.about-heading { grid-column: 1 / -1; max-width: 980px; }
.about-heading h2 { max-width: 100%; text-align: justify; text-align-last: left; }
.about-copy { min-width: 0; }
.about-copy h2 { margin-bottom: 24px; }
.about-copy .lead { margin-bottom: 0; text-align: justify; }
.about-points { display: grid; gap: 14px; margin-top: 28px; }
.about-point { display: flex; gap: 12px; color: var(--muted); line-height: 1.65; font-weight: 300; }
.about-point::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--cyan);
  flex: 0 0 auto;
}
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mission-vision { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 34px; }
.metric {
  background: rgba(0, 158, 226, .06);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 25px;
  min-height: 150px;
}
.metric.highlight { background: rgba(0, 158, 226, .12); border-color: rgba(0, 158, 226, .32); }
.metric b { display: block; font-family: 'Syne', sans-serif; color: var(--cyan); font-size: 34px; margin-bottom: 8px; }
.metric span { color: var(--muted); font-size: 13px; line-height: 1.5; }

.about-video {
  position: relative;
  min-height: 460px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
  background: #050F1A;
}

.about-video iframe,
.about-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.project-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0 0 32px;
}

.project-category {
  min-height: 94px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(0, 44, 111, .94), rgba(0, 158, 226, .78)),
    var(--navy);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform .2s, box-shadow .2s;
}

.project-category:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 44, 111, .18);
}

.portfolio-slider {
  position: relative;
  margin-top: 54px;
}

.portfolio-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 24px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 4px 2px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.portfolio-track::-webkit-scrollbar { display: none; }

.portfolio-slide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 18px;
  min-height: 430px;
  scroll-snap-align: start;
}

.portfolio-stack {
  display: grid;
  gap: 18px;
}

.portfolio-card {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 8px;
  padding: 24px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 44, 111, .88), rgba(0, 158, 226, .58)),
    var(--card-bg) center / cover no-repeat;
  box-shadow: 0 22px 54px rgba(0, 44, 111, .16);
  isolation: isolate;
  transition: transform .24s ease, box-shadow .24s ease;
}

.portfolio-card-large { min-height: 430px; }
.portfolio-card-small { min-height: 206px; }

.portfolio-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 24, 62, .08) 0%, rgba(0, 24, 62, .86) 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 26px);
}

.portfolio-card:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 70px rgba(0, 44, 111, .22);
}

.portfolio-card small {
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 6px;
  background: rgba(255, 255, 255, .13);
  padding: 7px 13px;
  color: rgba(255, 255, 255, .92);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.portfolio-card small {
  display: inline-flex;
  width: fit-content;
  border: 0;
  background: rgba(0, 158, 226, .26);
  color: var(--cyan);
  margin-bottom: 28px;
}

.portfolio-card h3 {
  max-width: 440px;
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
  margin-bottom: 10px;
}

.portfolio-card-small h3 { font-size: clamp(18px, 1.7vw, 24px); }

.portfolio-card p {
  max-width: 520px;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  line-height: 1.55;
}

.portfolio-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.portfolio-nav {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  transition: background .2s, color .2s, transform .2s;
}

.portfolio-nav:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-1px);
}

.projects-feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; margin-bottom: 18px; }
.project-card {
  display: block;
  position: relative;
  min-height: 330px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: -2;
  transition: transform .35s;
}
.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 24, 62, .88), rgba(0, 44, 111, .18));
  z-index: -1;
}
.project-card:hover img { transform: scale(1.05); }
.project-info { position: absolute; left: 24px; right: 24px; bottom: 24px; color: var(--white); }
.badge {
  display: inline-flex;
  background: rgba(0, 158, 226, .25);
  color: var(--cyan);
  border: 1px solid rgba(51, 181, 234, .24);
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 10px;
}
.project-info p { color: rgba(255, 255, 255, .72); font-size: 13px; line-height: 1.55; }
.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.projects-grid .project-card { min-height: 245px; }

.project-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tab {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 9px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s, color .2s, border .2s;
}
.tab.active,
.tab:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.mini-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0, 44, 111, .10); border-color: rgba(0, 158, 226, .35); }
.mini-card small { display: block; color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 9px; }

.experience { columns: 2; column-gap: 34px; color: rgba(255, 255, 255, .72); line-height: 1.7; }
.experience li { break-inside: avoid; margin: 0 0 9px 18px; }

.companies-section {
  background: #EEF6FC;
  color: var(--ink);
}

.companies-head { max-width: 620px; }
.companies-head .tag {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 4.8vw, 58px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -1.6px;
  text-transform: none;
  margin-bottom: 10px;
}
.companies-head h2 {
  color: var(--ink);
  font-size: clamp(36px, 4.8vw, 58px);
  line-height: 1.05;
  letter-spacing: -1.6px;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.company-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid rgba(0, 158, 226, .16);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(0, 44, 111, .07);
  transform-origin: center;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.company-card:hover {
  border-color: rgba(0, 158, 226, .32);
  box-shadow: 0 28px 64px rgba(0, 44, 111, .13);
  transform: scale(1.025);
  z-index: 2;
}

.company-accent { height: 4px; background: linear-gradient(90deg, var(--navy), var(--blue)); }
.company-accent.cyan { background: linear-gradient(90deg, var(--blue), var(--cyan)); }

.company-pill {
  align-self: flex-start;
  margin: 28px 28px 14px;
  border-radius: 4px;
  background: rgba(0, 44, 111, .10);
  color: var(--navy);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.company-pill.cyan { background: rgba(0, 158, 226, .14); color: var(--blue); }
.company-logo {
  width: min(220px, calc(100% - 56px));
  height: 54px;
  object-fit: contain;
  object-position: left center;
  margin: 0 28px 22px;
}

.company-card p {
  color: #315B86;
  font-size: 15px;
  line-height: 1.7;
  padding: 24px 28px 0;
  border-top: 1px solid rgba(0, 158, 226, .16);
}

.company-link {
  margin: auto 28px 24px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.company-link:hover { color: var(--blue); }

.clients-band {
  padding: 76px 0;
  background: var(--white);
  overflow: hidden;
}

.clients-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.clients-heading h2 {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--ink);
}

.clients-marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ice);
}

.clients-marquee::before,
.clients-marquee::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 12vw;
  pointer-events: none;
}

.clients-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--ice), rgba(240, 246, 251, 0));
}

.clients-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--ice), rgba(240, 246, 251, 0));
}

.clients-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 24px 18px;
  animation: clients-scroll 34s linear infinite;
}

.clients-track span {
  min-width: 190px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 44, 111, .14);
  border-radius: 8px;
  background: var(--white);
  padding: 14px 22px;
}

.clients-track img {
  max-width: 145px;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .78;
  transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}

.clients-track span:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.04);
}

.clients-marquee:hover .clients-track {
  animation-play-state: paused;
}

@keyframes clients-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.company-hero {
  position: relative;
  padding: 150px 0 84px;
  background:
    linear-gradient(135deg, rgba(0, 24, 62, .96), rgba(0, 44, 111, .90)),
    radial-gradient(circle at 78% 20%, rgba(0, 158, 226, .28), transparent 34%);
  color: var(--white);
  overflow: hidden;
}

.company-hero::after {
  content: '';
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 360px;
  background: rgba(51, 181, 234, .10);
  transform: rotate(-8deg);
}

.company-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: center;
}

.company-hero-logo {
  display: grid;
  place-items: center;
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  padding: 36px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .24);
}

.company-hero-logo img {
  width: 100%;
  max-height: 110px;
  object-fit: contain;
}

.company-hero h1 {
  margin-bottom: 18px;
}

.company-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, .72);
  font-size: 18px;
  line-height: 1.75;
}

.company-detail-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.company-detail-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 32px;
  box-shadow: var(--shadow);
}

.company-detail-card h3,
.company-copy h2 {
  font-family: 'Syne', sans-serif;
}

.company-detail-card h3 {
  margin-bottom: 18px;
  color: var(--navy);
}

.company-feature-list {
  display: grid;
  gap: 13px;
  list-style: none;
}

.company-feature-list li {
  display: flex;
  gap: 11px;
  color: var(--muted);
  line-height: 1.55;
}

.company-feature-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex: 0 0 auto;
}

.company-copy p {
  color: var(--muted);
  line-height: 1.75;
  margin-top: 18px;
}

.company-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.company-process span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ice);
  padding: 18px;
  color: var(--ink);
  font-weight: 700;
}

.contact-blue {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
}

.contact-blue .tag,
.contact-blue h2,
.contact-blue .lead { color: var(--white); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-items { display: grid; gap: 16px; margin-top: 30px; }
.contact-items,
.form {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .16);
}

.contact-items {
  padding: 24px;
  background: rgba(0, 24, 62, .52);
  color: var(--white);
}

.form {
  background: var(--white);
  color: var(--ink);
}

.contact-item { display: flex; gap: 13px; align-items: flex-start; }
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  display: grid;
  place-items: center;
  color: var(--cyan);
}

.contact-icon i {
  font-size: 18px;
  line-height: 1;
}

.contact-item b { display: block; font-size: 12px; letter-spacing: .8px; text-transform: uppercase; margin-bottom: 3px; }
.contact-item span,
.contact-item a { color: rgba(255, 255, 255, .82); font-size: 14px; line-height: 1.5; }
.form {
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .16);
}
.form h3 { font-family: 'Syne', sans-serif; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
label { color: var(--ink); font-size: 12px; text-transform: uppercase; letter-spacing: .6px; font-weight: 800; }
input,
select,
textarea {
  width: 100%;
  border: 1px solid #D8E6F0;
  border-radius: 9px;
  padding: 12px 14px;
  background: var(--ice);
  color: var(--ink);
  outline: 0;
}
input:focus,
select:focus,
textarea:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(0, 158, 226, .10); }
textarea { min-height: 118px; resize: vertical; }
.form button {
  width: 100%;
  color: var(--white);
  background: var(--navy);
  border: 0;
  border-radius: 9px;
  padding: 14px;
  font-weight: 800;
  cursor: pointer;
}

.whatsapp-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: #25D366;
  color: #062A16;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float i {
  font-size: 22px;
  line-height: 1;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(0, 0, 0, .28);
}

.inner-hero {
  position: relative;
  padding: 132px 0 72px;
  min-height: 520px;
  display: flex;
  align-items: end;
  background-image: var(--inner-bg, url('../img/arca-continental.jpg'));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
  overflow: hidden;
}

.inner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 24, 62, .95), rgba(0, 44, 111, .76), rgba(0, 44, 111, .38));
}

.inner-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .05;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .7) 1px, transparent 1px);
  background-size: 62px 62px;
}

.inner-hero .container {
  position: relative;
  z-index: 2;
  display: block;
}

.breadcrumb {
  display: inline-flex;
  gap: 8px;
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
  margin-bottom: 24px;
}

.breadcrumb a { color: var(--cyan); }
.inner-hero h1 { font-size: clamp(38px, 5vw, 64px); margin-bottom: 18px; }
.inner-hero p { color: rgba(255, 255, 255, .70); line-height: 1.75; font-size: 17px; font-weight: 300; max-width: 720px; }

.inner-hero-media { display: none; }

.inner-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.detail-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.detail-panel {
  position: sticky;
  top: 100px;
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}

.detail-panel h3 {
  font-family: 'Syne', sans-serif;
  margin-bottom: 16px;
}

.check-list {
  display: grid;
  gap: 11px;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.check-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex: 0 0 auto;
}

.detail-copy h2 { color: var(--ink); }
.detail-copy p { color: var(--muted); line-height: 1.78; margin-bottom: 18px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  min-height: 250px;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--navy);
  color: var(--white);
  text-align: left;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform .3s;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 24, 62, .84), rgba(0, 44, 111, .05));
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
}

.gallery-caption b {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  margin-bottom: 4px;
}

.gallery-caption span {
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
}

.service-cta {
  margin-top: 40px;
  padding: 32px;
  border-radius: 18px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.service-cta h3 { font-family: 'Syne', sans-serif; margin-bottom: 6px; }
.service-cta p { color: rgba(255, 255, 255, .62); line-height: 1.6; }

.project-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.project-list-card {
  display: block;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--navy);
  color: var(--white);
}

.project-list-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.project-list-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 24, 62, .86), rgba(0, 44, 111, .10));
}

.project-list-card:hover img { transform: scale(1.04); }
.project-list-info { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px; }
.project-list-info h3 { font-family: 'Syne', sans-serif; font-size: 18px; margin-bottom: 6px; }
.project-list-info p { color: rgba(255, 255, 255, .70); font-size: 13px; line-height: 1.5; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 12, 31, .88);
  backdrop-filter: blur(10px);
}

.lightbox.open { display: flex; }
.lightbox-inner {
  width: min(1100px, 94vw);
  max-height: 92vh;
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  background: #050F1A;
}

.lightbox-caption {
  color: var(--white);
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  cursor: pointer;
}

.site-popup {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 12, 31, .82);
  backdrop-filter: blur(12px);
}

.site-popup[hidden] { display: none; }

.site-popup-card {
  position: relative;
  width: min(520px, 94vw);
  border-radius: 20px;
  padding: 34px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(0, 158, 226, .18);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .32);
  text-align: center;
}

.site-popup-card img {
  width: min(390px, 82vw);
  height: auto;
  margin: 0 auto 18px;
}

.site-popup-kicker {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.site-popup-card h2 {
  font-size: clamp(25px, 4vw, 34px);
  margin-bottom: 14px;
}

.site-popup-card p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.site-popup-card strong { color: var(--navy); }
.site-popup-note { font-size: 14px; }

.site-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--ice);
  color: var(--ink);
  cursor: pointer;
}

.site-popup-action {
  margin-top: 10px;
  border: 0;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  padding: 13px 24px;
  cursor: pointer;
}

footer { background: #050F1A; color: var(--white); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-logo { margin-bottom: 14px; width: 250px; height: 56px; }
.footer-grid p,
.footer-grid a { color: rgba(255, 255, 255, .43); font-size: 13px; line-height: 1.7; }
.footer-grid h4 { font-family: 'Syne', sans-serif; font-size: 13px; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; color: rgba(255, 255, 255, .28); font-size: 12px; padding-top: 24px; }

.reveal { opacity: 1; transform: none; }
.js-enabled .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.js-enabled .reveal.on { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: rgba(0, 24, 62, .98);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 16px 5%; border-top: 1px solid rgba(255, 255, 255, .07); }
  .menu-btn { display: grid; place-items: center; }
  .nav-cta { display: none; }
  .logo-brand { width: 188px; height: 42px; }
  .hero { grid-template-columns: 1fr; }
  .hero-brand { min-height: 220px; justify-content: center; transform: none; }
  .hero-brand img { width: min(360px, 78vw); }
  .services-grid,
  .about-grid,
  .projects-feature,
  .inner-hero .container,
  .detail-grid,
  .company-grid,
  .company-hero .container,
  .company-detail-grid,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .detail-panel { position: static; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .project-list { grid-template-columns: repeat(2, 1fr); }
  .company-hero-logo { min-height: 170px; }
  .company-process { grid-template-columns: 1fr; }
  .portfolio-slide { grid-template-columns: 1fr; min-height: auto; }
  .portfolio-stack { grid-template-columns: repeat(2, 1fr); }
  .portfolio-card-large { min-height: 360px; }
  .portfolio-card-small { min-height: 250px; }
  .service-cta { align-items: flex-start; flex-direction: column; }
  .hero { padding-bottom: 120px; }
  .projects-grid,
  .project-category-grid,
  .catalog { grid-template-columns: repeat(2, 1fr); }
  .experience { columns: 1; }
}

@media (max-width: 620px) {
  .hero { min-height: auto; padding-top: 112px; padding-bottom: 96px; }
  .hero-brand { display: none; }
  .services-grid,
  .projects-grid,
  .project-category-grid,
  .catalog,
  .gallery-grid,
  .project-list,
  .metrics,
  .service-list,
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .portfolio-stack { grid-template-columns: 1fr; }
  .portfolio-card-large,
  .portfolio-card-small { min-height: 320px; }
  .footer-bottom { flex-direction: column; }
  .logo-brand { width: 156px; height: 38px; }
  .footer-logo { width: 210px; height: 48px; }
}
