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

:root {
  --navy:   #0d1b2a;
  --navy2:  #162436;
  --navy3:  #1e3250;
  --grey1:  #f4f5f6;
  --grey2:  #dde1e7;
  --grey3:  #8e99a8;
  --grey4:  #4a5568;
  --white:  #ffffff;
  --accent: #2563a8;
  --accent2:#3b7dd8;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--white);
  color: var(--navy);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px;
  height: 72px;
  background: rgba(13,27,42,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 27px;
  letter-spacing: 3px;
  color: var(--white);
}
.nav-logo span { color: var(--accent2); }

.nav-logo-img {
  height: 44px; width: auto; display: block;
  filter: invert(1) brightness(10);
  opacity: 0.90; flex-shrink: 0;
}
.nav-logo-wrap {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
}

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--grey2); text-decoration: none;
  transition: color .25s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--white); background: var(--accent);
  border: none; padding: 10px 24px;
  cursor: pointer; transition: background .25s;
}
.nav-cta:hover { background: var(--accent2); }

.nav-right { display: flex; align-items: center; gap: 12px; }

/* ── LANG DROPDOWN ── */
.lang-dropdown { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 7px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--grey2);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 13px; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.lang-btn:hover { background: rgba(255,255,255,0.11); border-color: rgba(255,255,255,0.35); color: var(--white); }
.lang-caret { transition: transform .25s; opacity: .6; }
.lang-dropdown.open .lang-caret { transform: rotate(180deg); opacity: 1; }
.lang-menu {
  display: none; position: absolute;
  top: calc(100% + 8px); right: 0;
  min-width: 148px; background: var(--navy2);
  border: 1px solid rgba(255,255,255,0.12);
  list-style: none; overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
  z-index: 200; animation: dropDown .2s ease-out both;
}
.lang-dropdown.open .lang-menu { display: block; }
@keyframes dropDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lang-item {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--grey3); padding: 11px 16px;
  cursor: pointer; transition: background .18s, color .18s;
}
.lang-item:hover { background: rgba(255,255,255,0.07); color: var(--white); }
.lang-item.active { color: var(--white); background: rgba(37,99,168,0.3); }
.lang-item.active::after { content: '✓'; margin-left: auto; font-size: 12px; color: var(--accent2); }
.lang-flag { font-size: 15px; line-height: 1; }

/* ── HERO ── */
#hero {
  position: relative; min-height: 115vh;
  display: flex; align-items: flex-end;
  padding: 0 60px 160px;
  background: var(--navy); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(130% 120% at 72% 16%, #17324e 0%, #10233b 40%, #0b1626 72%, #0a1421 100%);
}

/* ── LIQUID AURORA (concepto de 21st, adaptado a la marca) ── */
.hero-aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-aurora::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(92% 82% at 26% 60%, transparent 42%, rgba(8,17,30,.60) 100%);
}
.aurora-blob { position: absolute; border-radius: 50%; filter: blur(82px); will-change: transform; }
.aurora-blob.b1 { width: 46vw; height: 46vw; left: -8vw; top: -10vw; opacity: .55;
  background: radial-gradient(circle at 32% 32%, #3b7dd8, transparent 66%);
  animation: auroraA 22s ease-in-out infinite alternate; }
.aurora-blob.b2 { width: 44vw; height: 44vw; right: -10vw; top: 4vw; opacity: .5;
  background: radial-gradient(circle at 60% 42%, #2563a8, transparent 64%);
  animation: auroraB 26s ease-in-out infinite alternate; }
.aurora-blob.b3 { width: 40vw; height: 40vw; left: 28vw; bottom: -18vw; opacity: .5;
  background: radial-gradient(circle at 50% 50%, #4f93e6, transparent 62%);
  animation: auroraC 19s ease-in-out infinite alternate; }
.aurora-blob.b4 { width: 30vw; height: 30vw; right: 20vw; bottom: -6vw; opacity: .42;
  background: radial-gradient(circle at 50% 50%, #274a7c, transparent 68%);
  animation: auroraA 30s ease-in-out infinite alternate-reverse; }
@keyframes auroraA { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(6vw,4vw) scale(1.2); } }
@keyframes auroraB { 0% { transform: translate(0,0) scale(1.06); } 100% { transform: translate(-6vw,3vw) scale(.88); } }
@keyframes auroraC { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-5vw,-6vw) scale(1.24); } }
.hero-watermark {
  width: 440px; height: 440px;
  pointer-events: none;
  flex-shrink: 0;
}
.hero-watermark img {
  width: 100%; height: 100%; object-fit: contain;
  filter: brightness(0) invert(1) !important;
  opacity: 0.9;
  animation: none !important;
}
.hero-content { position: relative; z-index: 5; max-width: 520px; }
.hero-tag {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px;
  letter-spacing: 4px;
  margin-bottom: 20px;
  line-height: 0.85;
  opacity: 0; animation: fadeUp .8s .4s ease-out forwards;
}
.hero-tag-blue {
  color: var(--accent2);
  display: block;
}
.hero-tag-white {
  color: var(--white);
  display: block;
  font-size: 27px;
  letter-spacing: 3px;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 7vw, 100px);
  line-height: 1.0; color: var(--white);
  letter-spacing: 2px;
  opacity: 0; animation: fadeUp .9s .6s ease-out forwards;
}
.hero-title em { font-style: normal; color: var(--accent2); }
.hero-sub {
  margin-top: 28px; font-size: 17px; font-weight: 300;
  line-height: 1.7; color: var(--grey2); max-width: 520px;
  opacity: 0; animation: fadeUp .9s .8s ease-out forwards;
}
.hero-actions {
  margin-top: 44px;
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .9s 1s ease-out forwards;
  position: relative; z-index: 5;
}
.btn-primary {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--white); background: var(--accent);
  border: none; padding: 14px 36px; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: background .25s, transform .2s;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); }
.btn-outline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--white); background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 14px 36px; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: border-color .25s, color .25s;
}
.btn-outline:hover { border-color: var(--white); }
.hero-stats {
  position: absolute;
  bottom: 44px; left: 0; right: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px 60px;
  background: rgba(13,27,42,0.7);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.08);
  gap: 0;
  opacity: 0; animation: fadeUp .9s 1.2s ease-out forwards;
  z-index: 2;
}
.stat {
  text-align: center;
  position: relative;
  padding: 0 24px;
}
.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: rgba(255,255,255,0.15);
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 46px;
  line-height: 1; color: var(--white); letter-spacing: 2px;
}
.stat-num span { color: var(--accent2); }
.stat-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--grey3);
  margin-top: 4px;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SERVICES ── */
#servicios { background: var(--grey1); padding: 120px 60px; }
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .95; color: var(--navy);
  letter-spacing: 1px; margin-bottom: 64px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 3px;
}
.service-card {
  background: var(--white);
  padding: 28px 22px;
  border-top: 3px solid transparent;
  transition: border-color .3s, transform .3s, box-shadow .3s, background .3s;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.service-card:hover {
  border-color: var(--accent);
  background: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(37,99,168,.35);
}
.service-card:hover .service-icon {
  color: var(--white);
}
.service-card:hover h3 {
  color: var(--white);
}
.service-icon {
  width: 38px; height: 38px; margin-bottom: 14px;
  color: var(--accent); display: block;
  flex-shrink: 0;
}
.service-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px; font-weight: 700;
  letter-spacing: 0.5px; color: var(--navy);
  line-height: 1.3;
}
.service-card p {
  font-size: 14px; font-weight: 300;
  line-height: 1.6; color: var(--grey4);
  margin-top: 6px;
}

/* ── PORTAFOLIO ── */
#portafolio { background: var(--navy); padding: 120px 60px; }
#portafolio .section-label { color: var(--accent2); }
#portafolio .section-title { color: var(--white); }
.portfolio-filters {
  display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 48px;
}
.filter-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--grey3); background: transparent;
  border: 1px solid rgba(255,255,255,.12);
  padding: 8px 20px; cursor: pointer; transition: all .25s;
}
.filter-btn.active, .filter-btn:hover {
  color: var(--white); background: var(--accent); border-color: var(--accent);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 240px; gap: 8px;
}
.portfolio-item { position: relative; overflow: hidden; cursor: pointer; }
.portfolio-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.portfolio-item:nth-child(2) { grid-column: span 5; grid-row: span 1; }
.portfolio-item:nth-child(3) { grid-column: span 5; grid-row: span 1; }
.portfolio-item:nth-child(4) { grid-column: span 4; grid-row: span 2; }
.portfolio-item:nth-child(5) { grid-column: span 4; grid-row: span 1; }
.portfolio-item:nth-child(6) { grid-column: span 4; grid-row: span 1; }
.portfolio-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease; filter: brightness(.85);
}
.portfolio-item:hover img { transform: scale(1.06); filter: brightness(.6); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,.9) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; opacity: 1;
}
.portfolio-overlay .po-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 6px;
  opacity: 0; transform: translateY(10px); transition: all .35s;
}
.portfolio-overlay .po-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px; letter-spacing: 1px; color: var(--white);
  transform: translateY(6px); transition: transform .35s;
}
.portfolio-overlay .po-loc {
  font-size: 13px; color: var(--grey3); margin-top: 4px;
  opacity: 0; transform: translateY(8px); transition: all .35s .05s;
}
.portfolio-item:hover .po-tag,
.portfolio-item:hover .po-loc { opacity: 1; transform: translateY(0); }
.portfolio-item:hover .po-title { transform: translateY(0); }

/* ── AREAS ── */
#areas {
  background: var(--navy2);
  padding: 80px 60px;
  position: relative;
  z-index: 1;
}
#areas .section-label { color: var(--accent2); }
#areas .section-title { color: var(--white); margin-bottom: 40px; }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.area-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--grey2);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 16px;
  text-align: center;
  transition: background .3s, color .3s, transform .3s, box-shadow .3s, opacity .4s;
  opacity: 1;
  transform: translateY(0);
}
.area-tag.animate-in {
  opacity: 1;
  transform: translateY(0);
}
.area-tag.visible {
  opacity: 1;
  transform: translateY(0);
}
.area-tag:hover {
  background: rgba(37,99,168,0.45);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(37,99,168,0.3);
  border-color: rgba(59,125,216,0.5);
}

/* map pin pulse on section label */
#areas .section-label::before {
  content: "● ";
  color: var(--accent2);
  animation: pinPulse 1.5s ease-in-out infinite;
}
@keyframes pinPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* LIGHTBOX */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.92);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw; max-height: 88vh; object-fit: contain;
  border: 1px solid rgba(255,255,255,.08);
}
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px; font-weight: 300;
  color: var(--white); cursor: pointer;
  background: none; border: none; transition: color .2s;
}
.lightbox-close:hover { color: var(--accent2); }
.lightbox-caption {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); text-align: center;
}
.lightbox-caption h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px; letter-spacing: 2px; color: var(--white);
}
.lightbox-caption p { font-size: 13px; color: var(--grey3); letter-spacing: 1px; }

/* ── NOSOTROS ── */
#nosotros { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.about-image { position: relative; overflow: hidden; background: var(--grey2); }
.about-image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.9) grayscale(20%);
}
.about-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 70%, var(--white));
}
.about-content {
  background: var(--white); padding: 100px 80px 100px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.about-content p {
  font-size: 16px; font-weight: 300; line-height: 1.8;
  color: var(--grey4); margin-bottom: 20px;
}
.about-values {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-top: 36px;
}
.value-item {
  padding: 20px; border-left: 3px solid var(--accent);
  background: var(--grey1);
}
.value-item h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--navy); margin-bottom: 6px;
}
.value-item p {
  font-size: 13px; font-weight: 300;
  color: var(--grey4); line-height: 1.5; margin: 0;
}

/* ── PROCESO ── */
#proceso { background: var(--grey1); padding: 120px 60px; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0; margin-top: 64px; position: relative;
}
.process-steps::before {
  content: ''; position: absolute;
  top: 28px; left: 0; right: 0;
  height: 2px; background: var(--grey2); z-index: 0;
}
.step { position: relative; z-index: 1; padding: 0 24px; text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-family: 'Bebas Neue', sans-serif; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; position: relative;
}
.step:first-child .step-num { background: var(--accent); }
.step h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--navy); margin-bottom: 10px;
}
.step p { font-size: 14px; font-weight: 300; color: var(--grey4); line-height: 1.6; }

/* ── CONTACTO ── */
#contacto { display: grid; grid-template-columns: 1fr 1fr; }
.contact-left {
  background: var(--navy); padding: 100px 80px;
  display: flex; flex-direction: column; justify-content: center;
}
.contact-left .section-label { color: var(--accent2); }
.contact-left .section-title { color: var(--white); margin-bottom: 24px; }
.contact-left > p {
  font-size: 16px; font-weight: 300; line-height: 1.8;
  color: var(--grey3); margin-bottom: 44px;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.ci { display: flex; align-items: flex-start; gap: 16px; }
.ci-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent2);
}
.ci-text h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--grey3); margin-bottom: 2px;
}
.ci-text p {
  font-size: 15px; font-weight: 300;
  color: var(--white); line-height: 1.4; margin: 0;
}
.ci-text a {
  color: var(--white); text-decoration: none;
  transition: color .2s;
}
.ci-text a:hover { color: var(--accent2); }
.contact-right {
  background: linear-gradient(155deg, #17293f 0%, #0e1d30 100%);
  border-left: 1px solid rgba(255,255,255,.07);
  padding: 100px 80px;
  display: flex; flex-direction: column; justify-content: center;
}
.contact-right h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px; letter-spacing: 1px;
  color: var(--white); margin-bottom: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--grey3);
}
.field input, .field select, .field textarea {
  font-family: 'Barlow', sans-serif; font-size: 15px; font-weight: 300;
  color: var(--white); background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.13); border-radius: 8px; padding: 13px 16px;
  outline: none; transition: border-color .2s, background .2s, box-shadow .2s; resize: none;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.38); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent2); background: rgba(255,255,255,.08);
  box-shadow: 0 0 0 3px rgba(59,125,216,.18);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238e99a8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field select option { color: #0d1b2a; background: #fff; }
.submit-btn {
  width: 100%; font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--white); background: var(--accent);
  border: none; border-radius: 8px; padding: 17px; cursor: pointer;
  transition: background .25s, box-shadow .25s, transform .1s; margin-top: 10px;
  box-shadow: 0 10px 28px rgba(37,99,168,.32);
}
.submit-btn:hover { background: var(--accent2); box-shadow: 0 12px 32px rgba(59,125,216,.42); }
.submit-btn:active { transform: translateY(1px); }

/* ── FOOTER ── */
footer {
  background: #080f18; padding: 48px 60px 32px;
  display: flex; flex-direction: column; gap: 32px;
}
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-logo { font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: 3px; color: var(--white); }
.footer-logo span { color: var(--accent2); }
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--grey3); text-decoration: none; transition: color .2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 13px; font-weight: 300; color: var(--grey4); }
.footer-bottom p strong { color: var(--grey3); font-weight: 500; }

@media (max-width: 900px) {
  nav { padding: 0 24px; }
  nav .nav-links { display: none; }
  #hero {
    padding: 120px 24px 60px; align-items: flex-start;
    flex-direction: column; justify-content: flex-end; min-height: 100vh;
  }
  .hero-content { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn-primary, .btn-outline { text-align: center; padding: 14px 20px; }
  .hero-stats {
    position: relative; bottom: auto; right: auto;
    display: flex; gap: 0; margin-top: 40px;
    width: 100%; justify-content: space-between;
    opacity: 1; animation: none;
  }
  .stat { text-align: left; }
  .stat-num { font-size: 34px; }
  .hero-watermark { width: 140px !important; height: 140px !important; opacity: 1 !important; }
  #servicios, #portafolio, #proceso, #areas { padding: 80px 24px; }
  #nosotros { padding: 0; }
  #contacto { padding: 0; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .portfolio-item { grid-column: span 1 !important; grid-row: span 1 !important; }
  #nosotros, #contacto { grid-template-columns: 1fr; }
  .about-image { min-height: 320px; }
  .about-image::after { display: none; }
  .about-content { padding: 60px 24px; }
  .contact-left, .contact-right { padding: 64px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { display: none; }
  .footer-top, .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  footer { padding: 40px 24px 28px; }
  .nav-logo { font-size: 16px; letter-spacing: 2px; }
  .nav-logo-img { height: 34px; }
  .areas-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }

  /* ── HERO MOBILE/TABLET ── */
  #hero {
    padding: 80px 20px 60px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
  }

  /* Logo + name: inline at top center, never behind anything */
  .hero-watermark-wrap {
    position: relative !important;
    top: auto !important; right: auto !important;
    transform: none !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    margin-bottom: 24px;
    z-index: 2;
  }
  .hero-watermark {
    width: 140px !important;
    height: 140px !important;
  }
  .hero-logo-text {
    font-size: 16px !important;
    letter-spacing: 3px !important;
    margin-top: 6px;
  }

  /* Content below logo */
  .hero-content {
    width: 100%;
    position: relative;
    z-index: 2;
    max-width: 100%;
    text-align: center;
  }
  .hero-title {
    font-size: clamp(38px, 10vw, 64px);
  }
  .hero-sub {
    font-size: 15px;
    max-width: 100%;
    margin: 16px auto 0;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 28px;
  }
  .btn-primary, .btn-outline { text-align: center; padding: 14px 20px; }

  /* Stats below content */
  .hero-stats {
    position: relative !important;
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 12px 0;
    padding: 16px 10px;
    opacity: 1; animation: none;
    background: rgba(13,27,42,0.5);
    border-radius: 4px;
  }
  .stat { text-align: center; padding: 0 12px; }
  .stat:not(:last-child)::after { display: none; }
  .stat-num { font-size: 30px; }
  .stat-label { font-size: 10px; }

  /* ── SERVICES MOBILE ── */
  #servicios, #portafolio, #proceso, #areas { padding: 60px 16px; }
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 2px;
  }
  .service-card { padding: 18px 14px; }
  .service-icon { width: 28px; height: 28px; }
  .service-card h3 { font-size: 13px; }

  /* ── GALLERY MOBILE ── */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }
  .gallery-grid .gal-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery-grid .gal-item:nth-child(2),
  .gallery-grid .gal-item:nth-child(3),
  .gallery-grid .gal-item:nth-child(4),
  .gallery-grid .gal-item:nth-child(5) { grid-column: span 1; }

  /* ── ABOUT MOBILE ── */
  #nosotros { grid-template-columns: 1fr; }
  .about-image { min-height: 240px; }
  .about-content { padding: 36px 20px; }
  .about-values { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* ── PROCESS MOBILE ── */
  .process-steps { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .process-steps::before { display: none; }

  /* ── CONTACT MOBILE ── */
  #contacto { grid-template-columns: 1fr; }
  .contact-left { padding: 48px 20px; }
  .contact-right { padding: 48px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* ── FOOTER MOBILE ── */
  .footer-links { display: none; }
  .footer-top { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-logo { font-size: 20px; }
  footer { padding: 36px 20px 24px; }
  .nav-logo { font-size: 15px; letter-spacing: 2px; }
  .nav-logo-img { height: 30px; }
  .areas-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}

/* ── TABLET ONLY (larger adjustments) ── */
@media (min-width: 600px) and (max-width: 900px) {
  .hero-watermark {
    width: 200px !important;
    height: 200px !important;
  }
  .hero-logo-text { font-size: 20px !important; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 190px;
  }
  .gallery-grid .gal-item:nth-child(1) { grid-column: span 2; }
  .about-values { grid-template-columns: 1fr 1fr; }
}

/* ── SMALL MOBILE ── */
@media (max-width: 400px) {
  .hero-title { font-size: 34px; }
  .hero-watermark { width: 110px !important; height: 110px !important; }
  .hero-logo-text { font-size: 13px !important; letter-spacing: 2px !important; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 26px; }
  .about-values { grid-template-columns: 1fr; }
}

/* ── GALLERY GRID ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 6px;
}
/* Row 1: 1 big (4col tall) + 2 stacked (2col each) */
.gallery-grid .gal-item:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gallery-grid .gal-item:nth-child(2) { grid-column: span 2; grid-row: span 1; }
.gallery-grid .gal-item:nth-child(3) { grid-column: span 2; grid-row: span 1; }
/* Row 2: 3 equal */
.gallery-grid .gal-item:nth-child(4) { grid-column: span 2; grid-row: span 1; }
.gallery-grid .gal-item:nth-child(5) { grid-column: span 2; grid-row: span 1; }
.gallery-grid .gal-item:nth-child(6) { grid-column: span 2; grid-row: span 1; }
/* Row 3: 2 wide + 1 narrow */
.gallery-grid .gal-item:nth-child(7)  { grid-column: span 2; grid-row: span 2; }
.gallery-grid .gal-item:nth-child(8)  { grid-column: span 4; grid-row: span 1; }
.gallery-grid .gal-item:nth-child(9)  { grid-column: span 2; grid-row: span 1; }
.gallery-grid .gal-item:nth-child(10) { grid-column: span 2; grid-row: span 1; }
/* Row 4: 3 equal */
.gallery-grid .gal-item:nth-child(11) { grid-column: span 3; grid-row: span 1; }
.gallery-grid .gal-item:nth-child(12) { grid-column: span 3; grid-row: span 1; }
/* Row 5 onward: 2+4 alternating */
.gallery-grid .gal-item:nth-child(13) { grid-column: span 4; grid-row: span 2; }
.gallery-grid .gal-item:nth-child(14) { grid-column: span 2; grid-row: span 1; }
.gallery-grid .gal-item:nth-child(15) { grid-column: span 2; grid-row: span 1; }
.gallery-grid .gal-item:nth-child(16) { grid-column: span 2; grid-row: span 1; }
.gallery-grid .gal-item:nth-child(17) { grid-column: span 2; grid-row: span 1; }
.gallery-grid .gal-item:nth-child(18) { grid-column: span 2; grid-row: span 1; }
.gallery-grid .gal-item:nth-child(19) { grid-column: span 2; grid-row: span 1; }
.gallery-grid .gal-item:nth-child(20) { grid-column: span 2; grid-row: span 1; }

.gal-item {
  position: relative; overflow: hidden; cursor: pointer;
  background: var(--navy2);
}
.gal-item img {
  width: 100%; height: 100%; object-fit: contain;
  background: #0d1b2a;
  transition: transform .5s ease, filter .4s;
  filter: brightness(.95);
  display: block;
}
.gal-item:hover img { transform: scale(1.06); filter: brightness(.65); }
.gal-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-zoom {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white); font-size: 28px; font-weight: 300;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}

/* Gallery Lightbox */
.glightbox {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.95);
  align-items: center; justify-content: center;
}
.glightbox.open { display: flex; }
.glightbox img {
  max-width: 92vw; max-height: 90vh;
  object-fit: contain;
}
.gal-prev, .gal-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 28px; color: var(--white);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  width: 52px; height: 52px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.gal-prev:hover, .gal-next:hover { background: rgba(255,255,255,.2); }
.gal-prev { left: 20px; }
.gal-next { right: 20px; }

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery-grid .gal-item:nth-child(1),
  .gallery-grid .gal-item:nth-child(6),
  .gallery-grid .gal-item:nth-child(11),
  .gallery-grid .gal-item:nth-child(16) { grid-column: span 2; grid-row: span 1; }
}


/* ── SECTION DIVIDERS ── */
.divider-dark-to-light {
  height: 80px;
  background: linear-gradient(to bottom, var(--navy), var(--grey1));
  margin: 0;
}
.divider-light-to-dark {
  height: 80px;
  background: linear-gradient(to bottom, var(--grey1), var(--navy));
  margin: 0;
}
.divider-dark-to-white {
  height: 80px;
  background: linear-gradient(to bottom, var(--navy), var(--white));
  margin: 0;
}
.divider-white-to-light {
  height: 80px;
  background: linear-gradient(to bottom, var(--white), var(--grey1));
  margin: 0;
}
.divider-light-to-white {
  height: 80px;
  background: linear-gradient(to bottom, var(--grey1), var(--white));
  margin: 0;
}
.divider-dark2-to-dark {
  height: 80px;
  background: linear-gradient(to bottom, var(--navy2), var(--navy));
  margin: 0;
}
.divider-dark-to-dark2 {
  height: 80px;
  background: linear-gradient(to bottom, var(--navy), var(--navy2));
  margin: 0;
}
.divider-dark-to-darkest {
  height: 80px;
  background: linear-gradient(to bottom, var(--navy), #080f18);
  margin: 0;
}
.divider-white-to-dark {
  height: 80px;
  background: linear-gradient(to bottom, var(--white), var(--navy));
  margin: 0;
}


/* ── PORTFOLIO CATEGORIES ── */
.portfolio-category {
  margin-bottom: 60px;
}
.portfolio-category:last-child {
  margin-bottom: 0;
}
.cat-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.cat-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  letter-spacing: 3px;
  color: var(--white);
}
.cat-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(59,125,216,0.6), transparent);
}
.cat-count {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent2);
  background: rgba(59,125,216,0.15);
  border: 1px solid rgba(59,125,216,0.3);
  padding: 4px 12px;
}
.cat-empty {
  border: 2px dashed rgba(255,255,255,0.1);
  padding: 48px;
  text-align: center;
  color: var(--grey3);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
}


/* ── PORTFOLIO SHOW MORE ── */
.portfolio-category { margin-bottom: 60px; }

.cat-header {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 24px;
}
.cat-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px; letter-spacing: 2px;
  color: var(--white); white-space: nowrap;
}
.cat-line {
  flex: 1; height: 1px;
  background: rgba(255,255,255,0.15);
}
.cat-count {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent2); white-space: nowrap;
}

/* Hide items beyond first 6 */
.gallery-grid .gal-item:nth-child(n+7) {
  display: none;
}
.gallery-grid.expanded .gal-item:nth-child(n+7) {
  display: block;
}

/* Show more button */
.show-more-wrap {
  display: flex; justify-content: center;
  margin-top: 24px;
}
.show-more-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 12px 40px;
  cursor: pointer;
  transition: background .25s, border-color .25s;
}
.show-more-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.show-more-btn.active::after { content: " ↑"; }
.show-more-btn:not(.active)::after { content: " ↓"; }


/* ── HERO LOGO TEXT ── */
.hero-watermark-wrap {
  position: absolute; right: 0px;
  top: 48%;
  transform: translateY(-55%);
  width: 480px;
  z-index: 1; pointer-events: none;
  display: flex; flex-direction: column; align-items: center;
  gap: 0;
}
.hero-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 5px;
  color: var(--white);
  text-align: center;
  margin-top: 0px;
  text-transform: uppercase;
  opacity: 1;
  text-shadow: 0 2px 16px rgba(0,0,0,0.8);
  white-space: nowrap;
}
.hero-logo-text span { color: var(--accent2); }


/* ── CAPABILITIES LIST ── */
.capabilities-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--grey2);
}
.cap-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}
.cap-dot {
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}
.cap-item strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--navy);
}
@media (max-width: 900px) {
  .capabilities-list { grid-template-columns: 1fr; gap: 4px; }
  .cap-item strong { font-size: 14px; }
}


/* ── PREMIER BUILDING SOLUTIONS SECTION ── */
#premier-solutions {
  background: var(--navy);
  padding: 100px 60px;
}
#premier-solutions .section-label {
  color: var(--accent2);
  font-size: 13px;
  letter-spacing: 5px;
  margin-bottom: 12px;
}
#premier-solutions .section-title {
  color: var(--white);
  font-size: clamp(52px, 8vw, 100px);
  letter-spacing: 2px;
  margin-bottom: 52px;
  line-height: 0.95;
}
.solutions-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.solution-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey2);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 10px 20px;
  transition: background .25s, color .25s, border-color .25s;
  cursor: default;
}
.solution-tag:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
@media (max-width: 900px) {
  #premier-solutions { padding: 70px 20px; }
  .solution-tag { font-size: 12px; padding: 8px 14px; }
}


/* ── CANT FIND BANNER ── */
.cant-find-banner {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a1a2e 40%, #16213e 70%, #0f3460 100%);
  border-top: 2px solid rgba(59,125,216,0.4);
  border-bottom: 2px solid rgba(59,125,216,0.4);
  padding: 44px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cant-find-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(59,125,216,0.03) 20px,
    rgba(59,125,216,0.03) 40px
  );
}
.cant-find-banner h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px;
  letter-spacing: 4px;
  color: var(--white);
  position: relative;
}
.cant-find-banner p {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent2);
  margin-top: 6px;
  position: relative;
  text-shadow: 0 0 20px rgba(59,125,216,0.6);
}
.cant-find-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 14px 36px;
  cursor: pointer; white-space: nowrap;
  transition: background .25s, border-color .25s;
  flex-shrink: 0;
  position: relative;
}
.cant-find-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}
@media (max-width: 900px) {
  .cant-find-banner { padding: 32px 20px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .cant-find-btn { width: 100%; text-align: center; }
}


/* ── PORTFOLIO HEADER TEXTS ── */
.portfolio-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent2);
  margin-bottom: 10px;
  font-style: italic;
}
.portfolio-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--grey3);
  margin-bottom: 44px;
  max-width: 600px;
  line-height: 1.6;
}


/* ── SERVICES SECTION TITLE SWAP ── */
.services-main-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.95;
  color: var(--navy);
  letter-spacing: 2px;
  margin-bottom: 48px;
}
.services-sub-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}


/* ── HERO LOCATION TAG ── */
.hero-location {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  text-align: center;
  padding: 10px 0 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 10px;
  color: var(--accent2);
  text-transform: uppercase;
  z-index: 2;
  opacity: 0.85;
}
@media (max-width: 900px) {
  .hero-location {
    font-size: 14px;
    letter-spacing: 6px;
    padding: 8px 0 10px;
    position: relative;
    margin-top: 8px;
  }
}


/* ── MOBILE NAV FIXES ── */
@media (max-width: 900px) {
  .nav-right {
    gap: 8px;
  }
  .nav-cta {
    display: flex;
    padding: 8px 12px;
    font-size: 11px;
    letter-spacing: 1.5px;
    white-space: nowrap;
  }
  .lang-btn {
    padding: 6px 10px;
    font-size: 12px;
    gap: 5px;
  }
  #langCurrent {
    display: inline;
    font-size: 12px;
  }
  .lang-menu {
    right: 0;
    left: auto;
    min-width: 130px;
    z-index: 9999;
  }
  .lang-item {
    padding: 10px 14px;
    font-size: 13px;
  }
}
@media (max-width: 400px) {
  #langCurrent {
    display: none;
  }
}


/* ── HAMBURGER MENU ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all .3s;
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: rgba(13,27,42,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 20px 0;
    z-index: 999;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li a {
    display: block;
    padding: 14px 28px;
    font-size: 18px;
    letter-spacing: 3px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
}


/* ── INTERMOUNTAIN POWERHOUSE ── */
#powerhouse {
  background: var(--navy);
  padding: 100px 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
#powerhouse::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(37,99,168,0.12) 0%, transparent 70%);
  pointer-events: none;
}
#powerhouse::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(59,125,216,0.5), transparent);
}
.powerhouse-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 6px; text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 16px;
  position: relative;
}
.powerhouse-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 7vw, 90px);
  letter-spacing: 3px;
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 32px;
  position: relative;
}
.powerhouse-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 24px;
  position: relative;
}
.powerhouse-body {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
}
.powerhouse-line {
  width: 60px; height: 2px;
  background: var(--accent);
  margin: 28px auto;
}
@media (max-width: 900px) {
  #powerhouse { padding: 70px 24px; }
  .powerhouse-title { font-size: clamp(36px, 10vw, 60px); }
}


.powerhouse-mountains {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}
#powerhouse > *:not(.powerhouse-mountains) {
  position: relative;
  z-index: 1;
}


.powerhouse-logo {
  display: flex;
  justify-content: center;
  margin: 24px auto 28px;
  position: relative;
}
.powerhouse-logo img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
@media (max-width: 900px) {
  .powerhouse-logo img { width: 70px; height: 70px; }
  .powerhouse-logo { margin: 18px auto 22px; }
}


/* ── PREMIER COMMITMENTS ── */
#commitments {
  background: var(--white);
  padding: 120px 60px 100px;
  position: relative;
}
.commitments-header {
  text-align: center;
  margin-bottom: 80px;
}
.commitments-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.commitments-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 62px);
  letter-spacing: 2px;
  color: var(--navy);
  line-height: 1.0;
  max-width: 920px;
  margin: 0 auto;
}
.commitments-rule {
  width: 64px; height: 2px;
  background: var(--accent);
  margin: 28px auto 0;
}
.commitments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--grey1);
  max-width: 1280px;
  margin: 0 auto;
  border: 1px solid var(--grey1);
}
.promise-card {
  background: var(--white);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  transition: background .4s ease;
  cursor: default;
}
.promise-card::before {
  content: attr(data-numeral);
  position: absolute;
  top: 24px; right: 28px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  line-height: 1;
  color: var(--grey1);
  letter-spacing: 0;
  transition: color .4s ease, transform .4s ease;
  pointer-events: none;
  font-weight: 400;
}
.promise-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: var(--accent);
  transition: width .5s ease;
}
.promise-card:hover {
  background: #fafafa;
}
.promise-card:hover::before {
  color: var(--accent);
  opacity: 0.9;
  transform: translateX(-6px) scale(1.05);
  text-shadow: 0 0 30px rgba(37,99,168,0.4);
}
.promise-card:hover::after {
  width: 100%;
}
.promise-card:hover .promise-title {
  color: var(--accent);
}
.promise-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.promise-num::after {
  content: '';
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-left: 12px;
}
.promise-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 1.5px;
  color: var(--navy);
  margin-bottom: 22px;
  line-height: 1.05;
  position: relative;
  z-index: 1;
  transition: color .3s ease;
}
.promise-body {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--grey4);
  position: relative;
  z-index: 1;
}
.promise-body.collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.promise-toggle {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  margin-top: 16px;
  padding: 0;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .25s ease;
}
.promise-toggle:hover { gap: 12px; }
.promise-toggle::after {
  content: '→';
  font-size: 14px;
  transition: transform .3s ease;
}
.promise-toggle.expanded::after {
  transform: rotate(90deg);
}

@media (max-width: 900px) {
  #commitments { padding: 80px 24px 70px; }
  .commitments-grid { grid-template-columns: 1fr; }
  .promise-card { padding: 44px 28px; }
  .promise-card::before { font-size: 40px; top: 18px; right: 20px; }
  .promise-title { font-size: 24px; }
  .commitments-header { margin-bottom: 56px; }
}


.form-status {
  margin-top: 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  text-align: center;
  min-height: 18px;
  transition: color .3s;
}
.form-status.success { color: #3fce6f; }
.form-status.error { color: #ff6b5e; }
.form-status.sending { color: var(--accent2); }
/* honeypot anti-bot: fuera de pantalla, invisible e ininteractuable para humanos */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }


/* ═══ PORTFOLIO CAROUSEL (rebuild) ═══ */
.portfolio-carousel { position: relative; max-width: 940px; margin: 0 auto; }
.car-viewport { overflow: hidden; background: var(--navy); border: 1px solid rgba(255,255,255,0.06); }
.car-track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); will-change: transform; }
.car-slide { flex: 0 0 100%; min-width: 100%; height: 64vh; max-height: 640px;
  display: flex; align-items: center; justify-content: center; background: var(--navy); }
.car-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; display: block; }
.car-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 50px; height: 50px; border: none; cursor: pointer;
  background: rgba(13,27,42,0.55); color: #fff; font-size: 30px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.car-arrow:hover { background: var(--accent); }
.car-prev { left: 12px; }
.car-next { right: 12px; }
.car-counter { text-align: center; margin-top: 14px; font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 2px; color: var(--grey3); font-size: 14px; font-weight: 600; }
.car-counter .car-cur { color: var(--accent2); }
.car-dots { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.car-dot { width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0;
  background: var(--grey3); opacity: .5; cursor: pointer; transition: opacity .2s, transform .2s, background .2s; }
.car-dot:hover { opacity: .85; }
.car-dot.active { background: var(--accent2); opacity: 1; transform: scale(1.35); }
.portfolio-category + .portfolio-category { margin-top: 60px; }

@media (max-width: 700px) {
  .car-slide { height: 56vh; max-height: 460px; }
  .car-arrow { width: 42px; height: 42px; font-size: 24px; }
  .car-prev { left: 6px; }
  .car-next { right: 6px; }
  .portfolio-category + .portfolio-category { margin-top: 44px; }
}


/* ── SERVICES · dos columnas por categoría ── */
.services-columns{display:grid;grid-template-columns:1fr 1fr;gap:0 56px;max-width:1060px;margin:0 auto}
.svc-cat{margin-bottom:40px}
.svc-cat-head{display:flex;align-items:center;gap:14px;margin-bottom:20px;padding-bottom:12px;border-bottom:2px solid var(--grey2)}
.svc-cat-num{font-family:'Bebas Neue',sans-serif;font-size:38px;line-height:1;color:var(--accent);min-width:40px}
.svc-cat-title{font-family:'Barlow Condensed',sans-serif;font-size:21px;letter-spacing:1px;text-transform:uppercase;color:var(--navy);font-weight:700}
.svc-list{list-style:none;display:flex;flex-direction:column;gap:18px;padding:0;margin:0}
.svc-item{display:flex;align-items:center;gap:14px}
.svc-ic{flex-shrink:0;width:40px;height:40px;border:1px solid var(--grey2);border-radius:9px;display:flex;align-items:center;justify-content:center;color:var(--accent);background:#fff;transition:background .25s,color .25s,border-color .25s}
.svc-item:hover .svc-ic{background:var(--accent);color:#fff;border-color:var(--accent)}
.svc-ic svg{width:20px;height:20px}
.svc-text{display:flex;flex-direction:column;padding-top:2px}
.svc-name{color:var(--navy);font-weight:600;font-size:15.5px;line-height:1.32}
.svc-tag{color:var(--grey4);font-size:12px;letter-spacing:.4px;margin-top:3px;text-transform:uppercase}
.svc-pending p{color:var(--grey4);font-size:13px;line-height:1.5;border:1px dashed var(--grey3);border-radius:10px;padding:16px 18px;background:rgba(0,0,0,.015)}
@media(max-width:760px){
  .services-columns{grid-template-columns:1fr;gap:0}
  #servicios{padding:80px 22px !important}
}


/* SEE-MORE services */
#svcColumns{max-height:200px;overflow:hidden;position:relative;transition:max-height .6s ease}
#svcColumns.open{max-height:4000px}
#svcColumns::after{content:'';position:absolute;left:0;right:0;bottom:0;height:84px;background:linear-gradient(rgba(244,245,246,0),var(--grey1) 92%);pointer-events:none;transition:opacity .3s}
#svcColumns.open::after{opacity:0}
.svc-more-wrap{text-align:center;margin-top:28px}
.svc-more-btn{display:inline-flex;align-items:center;gap:9px;font-family:'Barlow Condensed',sans-serif;text-transform:uppercase;letter-spacing:2px;font-weight:700;font-size:14px;color:var(--accent);background:#fff;border:1px solid var(--grey2);padding:12px 28px;border-radius:40px;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.svc-more-btn:hover{background:var(--accent);color:#fff;border-color:var(--accent)}
.svc-chev{font-size:15px;line-height:1}
@media(prefers-reduced-motion:reduce){#svcColumns{transition:none}}


/* ── HERO ENTRANCE (reveal on load) ── */
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(26px); filter: blur(8px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
.hero-watermark, .hero-logo-text,
.hero-tag, .hero-title, .hero-sub, .hero-actions, .hero-stats {
  opacity: 0; animation: heroReveal .9s cubic-bezier(.22,.61,.36,1) forwards;
}
.hero-watermark { animation-delay: .2s; animation-duration: 1.1s; }
.hero-tag       { animation-delay: .38s; }
.hero-logo-text { animation-delay: .5s; }
.hero-title     { animation-delay: .52s; }
.hero-sub       { animation-delay: .68s; }
.hero-actions   { animation-delay: .84s; }
.hero-stats     { animation-delay: 1s; }
@media (prefers-reduced-motion: reduce) {
  .aurora-blob { animation: none !important; }
  .hero-watermark, .hero-logo-text, .hero-tag, .hero-title, .hero-sub, .hero-actions, .hero-stats {
    opacity: 1 !important; animation: none !important; transform: none !important; filter: none !important;
  }
}

/* ── IDAHO OUTLINE (parte del fondo del hero) ── */
.hero-idaho { position: absolute; left: 0; right: 0; top: 3vh; height: 100vh; display: flex; align-items: center; justify-content: flex-start; pointer-events: none; z-index: 1; }
.hero-idaho svg { height: 88vh; width: auto; max-width: 50%; opacity: .26; margin-left: -1.5vw; filter: drop-shadow(0 0 24px rgba(59,125,216,.42)); }
.idaho-path { stroke-width: 2.8; }
@media (max-width: 760px) { .hero-idaho { top: 2vh; height: 100vh; } .hero-idaho svg { height: 56vh; max-width: 76%; opacity: .2; margin-left: -3vw; } }
