/* ═══════════════════════════════════════════════
   ACTIONPLAST — Landing single-page (rewrite)
   General Sans + Instrument Serif italic (accent words).
   Navy #1B3A5C · Gray-soft #F1F3F5 · White.
   ═══════════════════════════════════════════════ */

:root {
  --navy: #1B3A5C;
  --navy-deep: #142E48;
  --gray-soft: #F1F3F5;
  --navy-gradient: radial-gradient(ellipse 140% 130% at 15% 25%, #23446C 0%, #1B3A5C 90%);
  --white: #FFFFFF;
  --black: #0A0A0A;
  --text-muted: #5C6470;
  --border: #E8E6E1;
  --lime: #4FB2D6;
  --lime-dark: #2E8FB8;

  --nav-h: 80px;
  --max-w: 1240px;
  --pad-x: 40px;
  --sec-pad-y: 120px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

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

body {
  font-family: 'General Sans', 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* -------- TYPO -------- */

.wordmark {
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 15px;
  color: var(--navy);
}
.wordmark--white { color: var(--white); font-size: 20px; font-weight: 700; letter-spacing: 0.02em; }

.eyebrow {
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.55;
  margin: 0 0 24px;
}
.eyebrow--center { text-align: center; }
.eyebrow--light { color: rgba(79, 178, 214, 0.85); opacity: 1; }

.section-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--black);
  margin: 0 0 20px;
}
.section-title em {
  font-family: 'Manrope', sans-serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--lime);
}
.section-title--light em { color: var(--lime); }
.section-title--sm { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.05; }
.section-title--light { color: var(--white); }
.section-title--center { text-align: center; }

.section-sub {
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: var(--black);
  opacity: 0.65;
  max-width: 620px;
  margin: 16px 0 0;
}
.section-sub--light { color: var(--white); opacity: 0.7; }
.section-sub--center { margin-left: auto; margin-right: auto; text-align: center; }

.section-body {
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(10, 10, 10, 0.75);
  margin: 0 0 20px;
}

/* -------- BUTTONS -------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease;
  cursor: pointer;
  white-space: nowrap;
  align-self: flex-start;
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow { transition: transform .3s ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: rgba(255,255,255,0.9); }

.btn--navy { background: var(--navy); color: var(--white); padding: 16px 28px; }
.btn--navy:hover { background: var(--navy-deep); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn--outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7); }

/* ═══ CTA sólido premium (pill contemporáneo con círculo flecha) ═══ */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 8px 8px 8px 24px;
  border-radius: 14px;
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1), transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  align-self: flex-start;
}
.cta-label { display: inline-block; }
.cta-arrow {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 300ms ease;
}
.cta-arrow svg { transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1); }

/* -- Variante navy -- */
.cta-navy {
  background: linear-gradient(135deg, #1B3A5C 0%, #24466F 100%);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(27, 58, 92, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.cta-navy .cta-arrow {
  background: rgba(79, 178, 214, 0.15);
  border: 1px solid rgba(79, 178, 214, 0.3);
  color: var(--lime);
}
.cta-navy:hover {
  background: linear-gradient(135deg, #24466F 0%, #2D5385 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(27, 58, 92, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.cta-navy:hover .cta-arrow { background: rgba(79, 178, 214, 0.25); border-color: rgba(79, 178, 214, 0.45); }
.cta-navy:hover .cta-arrow svg { transform: translateX(3px); }

/* -- Variante blanco -- */
.cta-white {
  background: linear-gradient(135deg, #FFFFFF 0%, #F1F3F5 100%);
  border-color: rgba(10, 10, 10, 0.06);
  color: var(--navy);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.cta-white .cta-arrow {
  background: rgba(27, 58, 92, 0.08);
  border: 1px solid rgba(27, 58, 92, 0.06);
  color: var(--navy);
}
.cta-white:hover {
  background: linear-gradient(135deg, #FFFFFF 0%, #E8ECEF 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 1);
}
.cta-white:hover .cta-arrow { background: rgba(27, 58, 92, 0.14); }
.cta-white:hover .cta-arrow svg { transform: translateX(3px); }

/* -------- NAVBAR -------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(10, 10, 10, 0.06);
}
.nav__inner {
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 60px;
}
.nav__logo { justify-self: start; display: flex; align-items: center; }
.nav__logo .wordmark { color: var(--navy); }
.nav__logo-img {
  height: 64px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
}
.nav__links a {
  font-weight: 500;
  font-size: 13.5px;
  color: rgba(10, 10, 10, 0.7);
  transition: color 200ms ease, opacity 200ms ease;
}
.nav__links a:hover { color: var(--black); opacity: 1; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
  transition: background 250ms ease, border-color 250ms ease;
  justify-self: end;
}
.nav__cta svg { width: 14px; height: 14px; }
.nav__cta:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 6px;
  justify-self: end;
}
.nav__burger span {
  width: 20px; height: 1.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: background .3s ease, transform .3s ease, opacity .3s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--white); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--white); }

.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  background: var(--navy);
  z-index: 90;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.7,.05,.25,1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  color: var(--white);
  padding: 40px;
}
.mobile-menu__links a {
  font-weight: 500;
  font-size: clamp(24px, 5.5vw, 30px);
}
.mobile-menu__cta {
  margin-top: 20px;
  background: var(--white);
  color: var(--navy);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
}

/* ═══════════════ HERO — imagen full-bleed + overlay oscuro ═══════════════ */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #0F1928;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 25, 40, 0.85) 0%, rgba(15, 25, 40, 0.55) 40%, rgba(15, 25, 40, 0.35) 70%, rgba(15, 25, 40, 0.4) 100%),
    linear-gradient(180deg, rgba(15, 25, 40, 0.2) 0%, transparent 30%, transparent 70%, rgba(15, 25, 40, 0.3) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 96px 40px 60px 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1240px;
  margin: 0 auto;
}
.hero-content::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -80px;
  transform: translateY(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle at 30% 50%, rgba(15, 25, 40, 0.5) 0%, transparent 65%);
  z-index: -1;
  pointer-events: none;
  filter: blur(40px);
}

.hero__title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 0;
  max-width: 560px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}
.hero__title em {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.03em;
  color: var(--white);
}
.hero__sub {
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1vw, 15px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 440px;
  margin: 20px 0 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 32px;
}

/* Outline blanco transparente sobre imagen oscura */
.btn--outline-dark {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  padding: 12px 24px;
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  transition: background .3s ease, border-color .3s ease;
}
.btn--outline-dark:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
}


/* ═══════════════ CLIENTES ═══════════════ */

.clientes {
  background: var(--white);
  padding: 100px 40px;
}
.clientes__inner {
  max-width: 1240px;
  margin: 0 auto;
}
.clientes__head {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-bottom: 60px;
}
.clientes__title {
  max-width: 780px;
  text-align: center;
  margin: 0;
}
.clientes__sub {
  max-width: 620px;
  margin-top: 12px;
  text-align: center;
}

.clientes-marquee-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}
.clientes-marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  padding: 20px 0;
}
.clientes-marquee-track {
  display: flex;
  gap: 80px;
  flex-shrink: 0;
  padding-right: 80px;
  align-items: center;
}
.clientes-marquee-left .clientes-marquee-track {
  animation: marquee-left 45s linear infinite;
}
.clientes-marquee-right .clientes-marquee-track {
  animation: marquee-right 50s linear infinite;
}
.clientes-marquee:hover .clientes-marquee-track {
  animation-play-state: paused;
}
@keyframes marquee-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.clientes-marquee-track img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(1) brightness(0.4) contrast(1.1);
  opacity: 0.65;
  transition: opacity 300ms ease, filter 300ms ease;
}
.clientes-marquee-track img:hover {
  filter: grayscale(1) brightness(0) contrast(1.2);
  opacity: 1;
}

/* ═══════════════ MANIFIESTO + STATS ═══════════════ */

.manifesto {
  background: var(--gray-soft);
  padding: var(--sec-pad-y) 0;
}
.manifesto__title {
  max-width: 620px;
  margin: 0 auto;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--black);
  text-align: center;
}
.manifesto__title em {
  font-family: 'Manrope', sans-serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--lime-dark);
}
.manifesto__divider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 72px 0 56px;
  color: var(--navy);
  opacity: 0.35;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat {
  background: var(--white);
  border-radius: 8px;
  padding: 40px 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  text-align: center;
}
.stat--dark {
  background: var(--navy);
  color: var(--white);
}
.stat__num {
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(44px, 4.5vw, 60px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: inherit;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.stat__num::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  align-self: flex-end;
  margin-bottom: 8px;
  margin-left: 4px;
  flex-shrink: 0;
}
.stat--dark .stat__num { color: var(--white); }
.stat__unit {
  font-size: 0.5em;
  font-weight: 500;
  opacity: 0.8;
}
.stat__label {
  margin-top: 12px;
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: inherit;
  opacity: 0.65;
}
.stat--dark .stat__label { color: var(--white); opacity: 0.75; }

/* ═══════════════ NOSOTROS ═══════════════ */

.nosotros {
  background: var(--white);
  padding: var(--sec-pad-y) 0;
}
.nosotros__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.nosotros__image {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  background: var(--gray-soft);
}
.nosotros__image img { width: 100%; height: 100%; object-fit: cover; }

/* Card glass flotante en la imagen de Nosotros */
.nosotros-stat-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  padding: 18px 22px;
  background: rgba(15, 25, 40, 0.55);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 220px;
  transition: transform 300ms ease;
  z-index: 2;
}
.nosotros-stat-card:hover { transform: translateY(-2px); }
.nosotros-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.nosotros-stat-content { display: flex; flex-direction: column; gap: 2px; }
.nosotros-stat-label {
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nosotros-stat-value {
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 500;
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: 2px;
}
.nosotros-stat-desc {
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  margin-top: 2px;
}

/* ═══ Matricería (timeline compacto, 2 cols) ═══ */
.matriceria {
  margin: 120px 0;
  background: var(--gray-soft);
  border-radius: 20px;
  padding: 80px;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02), 0 8px 24px rgba(27, 58, 92, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.matriceria__intro { display: flex; flex-direction: column; gap: 32px; }
.matriceria__lead { max-width: 380px; margin: 0; }
.matriceria__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.matriceria__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
}
.matriceria__item {
  padding: 20px 0;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.matriceria__item-head { display: flex; flex-direction: column; }
.matriceria__item-title { margin: 4px 0 0; font-size: 15px; }
.matriceria__item-desc { max-width: 100%; margin: 0; font-size: 13px; }

/* Industrias */
.industrias {
  margin-top: 100px;
}
.industrias .eyebrow { margin-bottom: 20px; }
.industrias__grid {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(10,10,10,0.08);
}
.industria {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 8px;
  border-bottom: 1px solid rgba(10,10,10,0.08);
  border-right: 1px solid rgba(10,10,10,0.08);
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--black);
}
.industria:nth-child(3n) { border-right: 0; }
.industria svg {
  width: 24px;
  height: 24px;
  color: var(--navy);
  flex-shrink: 0;
}

/* ═══════════════ SERVICIOS ═══════════════ */

.servicios {
  background: var(--gray-soft);
  padding: var(--sec-pad-y) 0;
}
.servicios__head {
  text-align: center;
  margin-bottom: 80px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.servicios__title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 3.8vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--black);
}
.servicios__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
/* First row: 3 cards each spanning 2 cols → fills 6 */
.servicios__grid > .servicio:nth-child(1),
.servicios__grid > .servicio:nth-child(2),
.servicios__grid > .servicio:nth-child(3) { grid-column: span 2; }
/* Second row: 2 cards each spanning 3 cols → fills 6 en total */
.servicios__grid > .servicio:nth-child(4),
.servicios__grid > .servicio:nth-child(5) { grid-column: span 3; }
/* En las cards anchas, la descripción respira mejor con max-width */
.servicios__grid > .servicio:nth-child(4) .servicio__desc,
.servicios__grid > .servicio:nth-child(5) .servicio__desc { max-width: 380px; }
/* Imágenes de la segunda fila más panorámicas para no ser tan altas */
.servicios__grid > .servicio:nth-child(4) .servicio__media,
.servicios__grid > .servicio:nth-child(5) .servicio__media { aspect-ratio: 21/9; }
.servicio {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02), 0 8px 24px rgba(27, 58, 92, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 400ms cubic-bezier(0.16, 1, 0.3, 1), border-color 400ms ease;
  color: var(--black);
}
.servicio:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03), 0 16px 40px rgba(27, 58, 92, 0.09);
}
.servicio--dark {
  background: var(--white);
  color: var(--black);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 12px 32px rgba(27, 58, 92, 0.08);
}
.servicio--dark:hover {
  border-color: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04), 0 20px 48px rgba(27, 58, 92, 0.14);
}
.servicio--dark .servicio__title { color: var(--black); }
.servicio__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-soft);
}
.servicio__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.servicio:hover .servicio__media img { transform: scale(1.03); }
.servicio__body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.servicio__label {
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.5;
  margin: 0;
}
.servicio--dark .servicio__label { color: rgba(255, 255, 255, 0.6); opacity: 1; }
.servicio__title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: inherit;
  margin: 10px 0 12px;
}
.servicio__desc {
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: rgba(10, 10, 10, 0.6);
  margin: 0;
  flex: 1;
}
.servicio--dark .servicio__desc { color: rgba(10, 10, 10, 0.6); }

.servicio__cta {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--lime-dark);
  transition: color 300ms ease;
}
.servicio:hover .servicio__cta { color: var(--lime); }
.servicio--dark .servicio__cta {
  border-top-color: rgba(10, 10, 10, 0.08);
  color: var(--lime-dark);
}
.servicio--dark:hover .servicio__cta { color: var(--lime); }
.servicio__cta-label { transition: transform 350ms ease-out; }
.servicio__cta-arrow { transition: transform 350ms ease-out; }
.servicio:hover .servicio__cta-label { transform: translateX(-4px); }
.servicio:hover .servicio__cta-arrow { transform: translateX(4px); }


/* ═══════════════ PROYECTOS ═══════════════ */

.proyectos {
  background: var(--white);
  padding: 120px 0;
}
.proyectos__head { text-align: center; max-width: 780px; margin: 0 auto; }
.proyectos__head .section-sub { margin: 16px auto 0; }

.proyectos__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
}
.proyectos-tab {
  padding: 10px 20px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(10, 10, 10, 0.12);
  color: rgba(10, 10, 10, 0.65);
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
  white-space: nowrap;
}
.proyectos-tab:hover {
  border-color: rgba(10, 10, 10, 0.3);
  background: rgba(10, 10, 10, 0.02);
}
.proyectos-tab.is-active {
  background: #0F1928;
  border-color: #0F1928;
  color: var(--white);
}

.proyectos__desc {
  text-align: center;
  max-width: 620px;
  margin: 24px auto 0;
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(10, 10, 10, 0.55);
  min-height: 1.5em;
}

.proyectos__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.proyecto-card {
  position: relative;
  padding: 32px 28px;
  background: rgba(15, 25, 40, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(15, 25, 40, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  cursor: pointer;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 400ms cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--white);
  text-decoration: none;
  font-family: inherit;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
  grid-column: span 2;
  width: 100%;
}
.proyecto-card:nth-child(4) { grid-column: 2 / span 2; }
.proyecto-card:nth-child(5) { grid-column: 4 / span 2; }

@media (max-width: 900px) {
  .proyectos__grid { grid-template-columns: 1fr; }
  .proyecto-card,
  .proyecto-card:nth-child(4),
  .proyecto-card:nth-child(5) { grid-column: auto; }
}
.proyecto-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(15, 25, 40, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.proyecto-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.proyecto-card > * { position: relative; z-index: 1; }

.proyecto-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.proyecto-card-body { display: flex; flex-direction: column; flex: 1; }
.proyecto-card-label {
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  margin: 0;
}
.proyecto-card-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 6px 0 0;
}
.proyecto-card-desc {
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  margin: 10px 0 0;
  flex: 1;
}
.proyecto-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 20px;
  transition: color 300ms ease;
}
.proyecto-card-arrow {
  display: inline-block;
  transition: transform 300ms ease;
}
.proyecto-card:hover .proyecto-card-cta { color: rgba(255, 255, 255, 1); }
.proyecto-card:hover .proyecto-card-arrow { transform: translate(3px, -3px); }

.proyecto-card.is-hidden { display: none; }

/* ═══ Carrusel de piezas realizadas (bajo cards de proyectos) ═══ */
.proyectos-carousel {
  position: relative;
  margin-top: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.proyectos-carousel__viewport {
  flex: 1;
  overflow: hidden;
  border-radius: 16px;
}
.proyectos-carousel__track {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.proyectos-carousel__slide {
  flex: 0 0 calc((100% - 40px) / 3);
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: #f4f4f4;
}
.proyectos-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.proyectos-carousel__arrow {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(15, 25, 40, 0.12);
  background: #fff;
  color: #0F1928;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
  box-shadow: 0 4px 12px rgba(15, 25, 40, 0.08);
}
.proyectos-carousel__arrow:hover {
  background: #0F1928;
  color: #fff;
  transform: scale(1.05);
}
.proyectos-carousel__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  background: #fff;
  color: #0F1928;
}

/* ═══════════════ CONTACTO ═══════════════ */

.contacto {
  background: var(--white);
  padding: var(--sec-pad-y) 0;
}
.contacto__head { margin-bottom: 80px; max-width: 780px; }

.contacto__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: start;
  margin-top: 0;
}
.contacto__submit { margin-top: 32px; }

.form { display: flex; flex-direction: column; gap: 28px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field > span {
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.55;
}
.field input, .field textarea {
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 14px 0;
  font: inherit;
  font-family: 'General Sans', 'Inter', sans-serif;
  font-size: 16px;
  color: var(--black);
  background: transparent;
  outline: none;
  transition: border-color .2s ease;
  width: 100%;
  resize: vertical;
}
.field input:focus, .field textarea:focus { border-bottom: 1.5px solid var(--navy); }
.field.has-error input, .field.has-error textarea { border-bottom-color: #C0392B; }

/* ═══ Contacto cards (compactadas) ═══ */
.contacto__cards { display: flex; flex-direction: column; gap: 16px; }

.contact-card {
  border-radius: 16px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
}
.contact-card__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.contact-card__head { display: flex; align-items: center; gap: 8px; }
.contact-card__label {
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.5;
}
.contact-card__title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--navy);
  margin-top: 4px;
}
.contact-card__title--email {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  word-break: break-word;
}
.contact-card__cta { padding: 12px 18px; font-size: 13px; white-space: nowrap; }

/* Card 1 — WhatsApp navy con gradient interno */
.contact-card--dark {
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(27, 58, 92, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.contact-card--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 20%, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.contact-card--dark > * { position: relative; z-index: 1; }
.contact-card--dark svg { color: var(--white); }
.contact-card--dark .contact-card__label { color: var(--white); opacity: 0.55; }
.contact-card--dark .contact-card__title { color: var(--white); }

/* Card 2 — Email glass negro (mismo tratamiento que hero glass + proyectos cards) */
.contact-card--cream {
  background: rgba(15, 25, 40, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(15, 25, 40, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.contact-card--cream::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 20%, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.contact-card--cream > * { position: relative; z-index: 1; }
.contact-card--cream svg { color: var(--white); opacity: 0.85; }
.contact-card--cream .contact-card__label { color: rgba(255, 255, 255, 0.55); }
.contact-card--cream .contact-card__title { color: var(--white); }

/* CTA card WhatsApp — pill blanco sólido sobre navy */
.cta-card-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--white);
  color: var(--navy);
  border-radius: 999px;
  font-family: 'General Sans', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.cta-card-whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.cta-card-whatsapp svg {
  width: 14px;
  height: 14px;
  stroke: var(--navy);
  stroke-width: 2;
  transition: transform 300ms ease-out;
}
.cta-card-whatsapp:hover svg { transform: translateX(3px); }

/* CTA card Email — pill glass translúcida sobre negro */
.cta-card-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-radius: 999px;
  font-family: 'General Sans', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 300ms cubic-bezier(0.16, 1, 0.3, 1), border-color 300ms, transform 300ms;
  backdrop-filter: blur(10px);
}
.cta-card-email:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}
.cta-card-email svg {
  width: 14px;
  height: 14px;
  stroke: var(--white);
  stroke-width: 2;
  transition: transform 300ms ease-out;
}
.cta-card-email:hover svg { transform: translateX(3px); }

/* Mapa achicado */
.map {
  width: 100%;
  height: 200px;
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: 16px;
  filter: grayscale(0.15) contrast(1.02);
  overflow: hidden;
}

/* Fila horizontal dirección + horario + tel */
.contact-meta {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.8fr;
  gap: 24px;
}
.contact-meta li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.4;
  color: var(--black);
}
.contact-meta svg { color: var(--navy); flex-shrink: 0; margin-top: 2px; }
.contact-meta a { color: var(--black); transition: color .2s ease; }
.contact-meta a:hover { color: var(--navy); }

/* ═══════════════ UNITE ═══════════════ */

.unite {
  background: var(--navy-gradient);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.unite::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/></svg>");
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}
.unite > .container { position: relative; z-index: 1; }
/* Split 2 cols */
.unite__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
.unite__col-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.unite__col-left .eyebrow {
  color: var(--white);
  opacity: 0.55;
  margin: 0;
}
.unite__title {
  font-size: clamp(36px, 3.8vw, 52px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  max-width: 460px;
  margin: 0 !important;
}
.unite__intro {
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 440px;
  margin: 0;
}
.unite__divider {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 8px 0;
}
.unite__pillars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.unite__pillars li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.unite__pillars svg {
  color: var(--white);
  flex-shrink: 0;
  margin-top: 2px;
}
.unite__pillar-body { display: flex; flex-direction: column; gap: 2px; }
.unite__pillar-label {
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(79, 178, 214, 0.85);
  opacity: 1;
}
.unite__pillar-text {
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}
.unite__closing {
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
  max-width: 400px;
  margin: 8px 0 0;
}
.unite__col-right { min-width: 0; }
.unite__col-right .form--dark { max-width: 100%; margin: 0; }
.unite__col-right .form--dark .cta { align-self: flex-start; margin: 12px 0 0; }

.form--dark { max-width: 720px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 20px; }
.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field--dark > span { color: var(--white); opacity: 0.55; }
.field--dark input, .field--dark textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 14px 0;
}
.field--dark input::placeholder,
.field--dark textarea::placeholder { color: rgba(255,255,255,0.5); }
.field--dark input:focus,
.field--dark textarea:focus { border-bottom: 1.5px solid var(--white); }
.field--full { grid-column: 1 / -1; }

.upload { padding: 0; }
.upload__label {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 20px 24px;
  cursor: pointer;
  color: var(--white);
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  transition: background .2s ease, border-color .2s ease;
}
.upload__label:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.4); }

.form--dark .btn { margin: 12px auto 0; padding: 16px 32px; }
.form--dark .cta { margin: 12px auto 0; align-self: center; }

/* ═══════════════ FOOTER ═══════════════ */

.footer {
  background: var(--navy-deep);
  color: var(--white);
  padding: 80px 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer__tag {
  margin: 16px 0 0;
  font-size: 14px;
  opacity: 0.6;
  line-height: 1.55;
  max-width: 240px;
}
.footer__logo-img {
  height: 64px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer__head {
  font-family: 'General Sans', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.4;
  margin: 0 0 20px;
}
.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__links a, .footer__links li {
  font-size: 14px;
  color: var(--white);
  opacity: 0.75;
  transition: opacity .2s ease;
}
.footer__links a:hover { opacity: 1; }
.footer__links--icon a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: var(--white);
  opacity: 0.4;
  flex-wrap: wrap;
}
.footer__bottom > span,
.footer__bottom > a { opacity: 1; }
.footer__credit {
  color: var(--white);
  transition: opacity .2s ease;
}
.footer__credit:hover { text-decoration: underline; }

/* ═══════════════ TOAST ═══════════════ */

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--navy);
  color: var(--white);
  padding: 16px 24px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  box-shadow: 0 10px 40px rgba(20, 46, 72, 0.25);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 1000;
  max-width: 380px;
}
.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------- BR HELPERS -------- */
.br-mobile { display: none; }

/* ═══════════════════════════════════════════════
   MOBILE — Breakpoint 900px
   ═══════════════════════════════════════════════ */

@media (max-width: 900px) {
  :root {
    --sec-pad-y: 72px;
    --pad-x: 20px;
  }

  .br-mobile { display: inline; }

  /* Nav */
  :root { --nav-h: 56px; }
  .nav__inner { padding: 12px 20px; grid-template-columns: auto auto; gap: 20px; }
  .nav__logo .wordmark { font-size: 14px; }
  .nav__logo-img { height: 48px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  /* CTA móvil: full-width con flecha al final */
  .cta { padding: 8px 8px 8px 20px; width: 100%; justify-content: space-between; align-self: stretch; }

  /* Hero: imagen full-bleed con contenido superpuesto */
  .hero { height: 100vh; }
  .hero-bg { object-position: 85% center; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(15, 25, 40, 0.8) 0%, rgba(15, 25, 40, 0.65) 100%);
  }
  .hero-content { padding: 88px 20px 20px 20px; max-width: 100%; }
  .hero-content::before { display: none; }
  .hero__title { font-size: clamp(32px, 8vw, 46px); max-width: 100%; }
  .hero__sub { max-width: 100%; }
  .hero__ctas { flex-direction: column; align-items: stretch; margin-top: 24px; gap: 10px; }
  .hero__ctas .btn, .hero__ctas .cta, .hero__ctas .btn--outline-dark { width: 100%; }
  .hero__ctas .btn--outline-dark { text-align: center; }

  /* Manifesto */
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 20px; }

  /* Nosotros */
  .nosotros__grid { grid-template-columns: 1fr; gap: 40px; }
  .nosotros-stat-card {
    bottom: 16px;
    left: 16px;
    padding: 14px 18px;
    min-width: 180px;
    gap: 12px;
  }
  .nosotros-stat-icon { width: 36px; height: 36px; }
  .nosotros-stat-value { font-size: 20px; }
  .matriceria {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
    margin: 72px 0;
  }
  .matriceria__list { grid-template-columns: 1fr; gap: 0; }
  .matriceria__item {
    gap: 8px;
    padding: 20px 0;
  }
  .matriceria__item-desc { max-width: 100%; }
  .industrias { margin-top: 64px; }
  .industrias__grid { grid-template-columns: 1fr 1fr; }
  .industria:nth-child(3n) { border-right: 1px solid rgba(10,10,10,0.08); }
  .industria:nth-child(2n) { border-right: 0; }

  /* Servicios */
  .servicios__head { margin-bottom: 48px; }
  .servicios__grid { grid-template-columns: 1fr; }
  .servicios__grid > .servicio { grid-column: auto !important; }

  /* Proyectos */
  .proyectos { padding: 72px 0; }
  .proyectos__filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 20px 8px;
    margin-left: -20px;
    margin-right: -20px;
    scrollbar-width: none;
  }
  .proyectos__filters::-webkit-scrollbar { display: none; }
  .proyecto-card { padding: 24px 22px; min-height: 220px; }
  .proyecto-card-icon { width: 44px; height: 44px; }

  /* Carrusel: 2 slides en mobile */
  .proyectos-carousel { margin-top: 48px; gap: 8px; }
  .proyectos-carousel__track { gap: 12px; }
  .proyectos-carousel__slide { flex: 0 0 calc((100% - 12px) / 2); }
  .proyectos-carousel__arrow { width: 40px; height: 40px; }

  /* Contacto */
  .contacto__grid { grid-template-columns: 1fr; gap: 48px; }
  .form__row { grid-template-columns: 1fr; }
  .contact-card {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 16px;
  }
  .contact-card__cta { justify-self: stretch; text-align: center; justify-content: center; }
  .map { height: 180px; }
  .contact-meta { grid-template-columns: 1fr; gap: 12px; }

  /* Unite */
  .unite { padding: 48px 0; }
  .unite__grid { grid-template-columns: 1fr; gap: 40px; }
  .unite__title { font-size: clamp(30px, 7vw, 42px) !important; max-width: 100%; }
  .unite__intro, .unite__closing { max-width: 100%; }
  .form__grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  /* Toast */
  .toast { right: 20px; left: 20px; max-width: none; }

  /* Clientes */
  .clientes { padding: 64px 20px; }
  .clientes__head { margin-bottom: 40px; }
  .clientes-marquee-track { gap: 48px; padding-right: 48px; }
  .clientes-marquee-track img { height: 32px; min-width: 88px; }
}

@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; }
  .industrias__grid { grid-template-columns: 1fr; }
  .industria { border-right: 0 !important; }
}
