/* ============== TOKENS ============== */
:root {
  --navy-deep: #0A2742;
  --navy:      #103452;
  --navy-2:    #15355A;
  --blue:      #1E5AA8;
  --blue-2:    #2A6FC4;
  --blue-bright: #4A9EE7;
  --gold:      #B89968;
  --gold-2:    #C7A878;
  --gray:      #ECEDEF;
  --gray-2:    #F5F5F7;
  --ink:       #0B1F33;
  --muted:     #5b6877;
  --white:     #FFFFFF;
  --line:      rgba(11,31,51,.10);
  --line-d:    rgba(255,255,255,.14);
  --display:   "Archivo", system-ui, sans-serif;
  --serif:     "Playfair Display", "Times New Roman", serif;
  --body:      "Archivo", system-ui, sans-serif;
  --ease:      cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--gray);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
::selection { background: var(--blue-bright); color: white; }

/* ============== TOP BAR ============== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 56px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s var(--ease), padding .35s var(--ease), box-shadow .4s var(--ease);
}
.topbar.scrolled {
  background: rgba(236,237,239,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 56px;
  box-shadow: 0 1px 0 var(--line);
}
.topbar.always-solid {
  background: rgba(236,237,239,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
/* ============== LOGO ============== */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  height: 76px;
  transition: opacity .25s, height .35s var(--ease);
}
.logo:hover { opacity: .8; }
.logo img {
  height: 100%;
  width: auto;
  display: block;
}
.topbar.scrolled .logo, .topbar.always-solid .logo { height: 60px; }
.footer-logo { height: 110px; }
@media (max-width: 900px) {
  .logo { height: 58px; }
  .topbar.scrolled .logo, .topbar.always-solid .logo { height: 50px; }
  .footer-logo { height: 84px; }
}
.nav-pill {
  background: var(--blue);
  border-radius: 999px;
  padding: 6px;
  display: flex;
  gap: 0;
  box-shadow: 0 8px 22px -10px rgba(30,90,168,.5);
}
.nav-pill a {
  color: white;
  text-decoration: none;
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .15em;
  padding: 12px 26px;
  border-radius: 999px;
  transition: background .3s, color .3s;
}
.nav-pill a:hover,
.nav-pill a.active {
  background: rgba(255,255,255,.18);
}
.progress {
  position: fixed; left: 0; top: 0; height: 2px;
  background: var(--gold);
  z-index: 101; width: 0;
  transition: width .1s linear;
}

/* ============== HAMBURGER + MOBILE MENU ============== */
.hamburger {
  display: none;
  background: var(--navy-deep);
  border: none;
  border-radius: 999px;
  padding: 14px 16px;
  cursor: pointer;
  align-items: center; justify-content: center;
  gap: 5px;
  flex-direction: column;
  width: 52px; height: 52px;
  transition: background .25s;
}
.hamburger:hover { background: var(--blue); }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s;
}
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 110;
  background: var(--navy-deep);
  display: flex; flex-direction: column;
  padding: 100px 28px 40px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
  visibility: hidden;
}
.mobile-menu[hidden] { display: none !important; }
.mobile-menu.open {
  transform: translateY(0);
  visibility: visible;
}
.mobile-menu::before {
  content: ""; position: absolute;
  top: -160px; right: -80px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,153,104,.25), transparent 65%);
  pointer-events: none;
}
.mobile-menu-close {
  position: absolute; top: 22px; right: 22px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  cursor: pointer;
  transition: border-color .25s, background .25s;
}
.mobile-menu-close:hover { border-color: var(--gold); background: rgba(184,153,104,.12); }
.mobile-menu-close svg { width: 22px; height: 22px; }
.mobile-menu-nav {
  display: flex; flex-direction: column;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.mobile-menu-nav a {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 7vw, 44px);
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  letter-spacing: -.005em;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
  display: flex; align-items: center; justify-content: space-between;
  transition: color .25s, padding-left .35s var(--ease);
  position: relative;
}
.mobile-menu-nav a::after {
  content: "→";
  font-size: .6em;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .25s, transform .35s var(--ease);
}
.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
  color: var(--gold);
  padding-left: 14px;
}
.mobile-menu-nav a:hover::after,
.mobile-menu-nav a.active::after {
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-nav a.active { color: var(--gold); }
.mobile-menu-foot {
  margin-top: 32px;
  position: relative;
  z-index: 2;
}
.mobile-menu-foot .btn-primary {
  width: 100%;
  justify-content: center;
}
body.menu-open {
  overflow: hidden;
}

/* Animate hamburger to X when menu open */
body.menu-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
body.menu-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .hamburger { display: flex; }
}
.hero {
  position: relative;
  min-height: 92vh;
  padding: 140px 56px 100px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--gray);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=2000&q=80&auto=format&fit=crop");
  background-size: cover;
  background-position: center 40%;
  opacity: .55;
  filter: saturate(.4) contrast(1.0) brightness(1.08);
  will-change: transform;
  transform: scale(1.08);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(236,237,239,.55) 0%, rgba(236,237,239,.25) 35%, rgba(236,237,239,.55) 85%, var(--gray) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 960px;
}
.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--navy-deep);
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 32px; height: 2px; background: var(--navy-deep);
}
.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 4.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -.005em;
  text-transform: uppercase;
  color: var(--blue);
  text-wrap: balance;
}
.hero h1 .ln {
  display: block;
  overflow: hidden;
}
.hero h1 .ln > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.05s var(--ease) forwards;
}
@keyframes rise { to { transform: translateY(0); } }
.gold-rule {
  width: 80px; height: 3px; background: var(--gold);
  margin: 28px auto;
  border-radius: 2px;
  transform-origin: left;
  transform: scaleX(0);
  animation: ruleIn 1s .9s var(--ease) forwards;
}
@keyframes ruleIn { to { transform: scaleX(1); } }
.hero p {
  max-width: 60ch;
  margin: 0 auto;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink);
  opacity: 0; transform: translateY(20px);
  animation: fadeup 1s 1s var(--ease) forwards;
}
@keyframes fadeup { to { opacity: 1; transform: none; } }

.cta-row {
  margin-top: 44px;
  display: flex; gap: 18px; align-items: center; justify-content: center;
  flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  animation: fadeup 1s 1.15s var(--ease) forwards;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--blue);
  color: white; text-decoration: none;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(30,90,168,.45);
  transition: transform .3s var(--ease), background .3s, box-shadow .3s;
}
.btn-primary:hover { background: var(--blue-2); transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(30,90,168,.6); }
.btn-primary svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-secondary {
  color: var(--navy-deep);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 16px 14px;
  border-bottom: 1px solid var(--navy-deep);
}
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-family: var(--display); font-weight: 500;
  font-size: 11px; letter-spacing: .25em;
  text-transform: uppercase; color: var(--navy-deep);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: .6;
}
.scroll-hint .bar {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--navy-deep), transparent);
  animation: drop 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes drop {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============== STATS BAND ============== */
.stats {
  background: var(--navy);
  color: white;
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
}
.stats-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.stat {
  display: grid; grid-template-columns: auto 1fr; gap: 22px;
  align-items: start;
  position: relative;
}
.stat + .stat::before {
  content: ""; position: absolute; left: -24px; top: 0; bottom: 0;
  width: 1px; background: rgba(255,255,255,.15);
}
.stat-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(54px, 6vw, 84px);
  line-height: .9;
  color: white;
  letter-spacing: -.02em;
  display: flex; align-items: flex-start;
}
.stat-num .plus { color: var(--gold); font-size: .55em; line-height: 1; margin-top: .12em; }
.stat-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: white;
  line-height: 1.25;
}
.stat-desc {
  margin-top: 10px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  line-height: 1.55;
}
.stat-body { padding-top: 14px; }

/* ============== QUOTE BANNER ============== */
.quote-banner {
  position: relative;
  padding: 130px 56px;
  background: var(--navy-deep);
  color: white;
  overflow: hidden;
  text-align: center;
}
.quote-banner .bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: .22;
  filter: grayscale(.4) contrast(1.05);
  will-change: transform;
  transform: scale(1.06);
}
.quote-banner::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(10,39,66,.45) 0%, rgba(10,39,66,.85) 80%),
    linear-gradient(180deg, var(--navy-deep), var(--navy));
  z-index: 1;
}
.quote-inner {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto;
}
.quote-mark {
  width: 56px; height: 56px;
  color: var(--gold);
  margin: 0 auto 36px;
  display: block;
  opacity: .9;
}
.quote-banner blockquote {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.18;
  letter-spacing: -.005em;
  text-transform: uppercase;
  text-wrap: balance;
  max-width: 22ch;
  margin: 0 auto;
}
.quote-banner blockquote .accent { color: var(--gold); }
.quote-attribution {
  margin-top: 48px;
  display: inline-flex; align-items: center; gap: 16px;
  text-align: left;
}
.quote-attribution .dash {
  width: 36px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.quote-attribution strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: white;
  display: block;
}
.quote-attribution span {
  font-family: var(--display);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
  display: block;
}
.section-banner {
  position: relative;
  height: 360px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.section-banner .bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.section-banner .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,39,66,.30) 0%, rgba(10,39,66,.55) 100%);
}
.section-banner h2 {
  position: relative; z-index: 2;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(64px, 10vw, 144px);
  letter-spacing: .04em;
  color: white;
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(10,39,66,.35);
  text-align: center;
}

/* ============== GENERIC SECTION ============== */
#nosotros { background: var(--gray); }
.section { padding: 100px 56px 120px; position: relative; }
.container { max-width: 1280px; margin: 0 auto; }
.two-col {
  display: grid; grid-template-columns: 5fr 6fr;
  gap: 90px; align-items: start;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }
.h-display {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -.005em;
  text-transform: uppercase;
  color: var(--navy-deep);
  text-wrap: balance;
}
.h-display .accent { color: var(--gold); }
.body-copy p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
  color: var(--ink);
}

/* approach band */
.approach-band {
  background: var(--navy);
  color: white;
  padding: 60px 56px;
  margin: 80px 0 0;
}
.approach-band .inner {
  max-width: 1280px; margin: 0 auto;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  color: rgba(255,255,255,.92);
}
.approach-band .inner p + p { margin-top: 18px; }
.approach-band strong { color: var(--gold); font-weight: 700; }

/* ============== DIFERENCIALES ============== */
.diferenciales {
  background: var(--gray);
  padding: 110px 56px 80px;
}
.dif-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px 80px;
}
@media (max-width: 800px) { .dif-grid { grid-template-columns: 1fr; gap: 40px; } }
.dif {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 28px; align-items: start;
}
.dif-circle {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: white;
  position: relative;
  flex-shrink: 0;
  transition: transform .5s var(--ease), background .4s;
  box-shadow: 0 8px 22px -10px rgba(184,153,104,.6);
}
.dif:hover .dif-circle { transform: rotate(-6deg) scale(1.05); background: var(--gold-2); }
.dif-circle svg { width: 46px; height: 46px; }
.dif h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy-deep);
  margin-bottom: 8px;
}
.dif p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 40ch;
}

/* ============== PERFIL DIRECTOR ============== */
.director {
  background: var(--navy);
  color: white;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.dir-head {
  text-align: center;
  padding: 80px 56px 20px;
  background: var(--gray);
}
.dir-head h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 5.4vw, 68px);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--blue);
}
.dir-grid {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: 0;
  background: var(--navy);
}
@media (max-width: 900px) { .dir-grid { grid-template-columns: 1fr; } }
.dir-photo {
  background-image:
    linear-gradient(180deg, rgba(10,39,66,0) 55%, rgba(10,39,66,.55) 90%, var(--navy) 100%),
    linear-gradient(90deg, rgba(10,39,66,.10) 0%, rgba(10,39,66,0) 18%, rgba(10,39,66,0) 82%, rgba(10,39,66,.20) 100%),
    url("../assets/director.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, center 18%;
  min-height: 720px;
  position: relative;
  overflow: hidden;
}
.dir-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 35%, transparent 30%, rgba(10,39,66,.18) 100%);
  pointer-events: none;
}
.dir-text {
  padding: 70px 64px 80px;
}
.dir-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -.005em;
  margin-bottom: 8px;
  color: white;
}
.dir-role {
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 30px;
}
.dir-text p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,.82);
  margin-bottom: 16px;
  max-width: 60ch;
}
.dir-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 28px;
}
.tag {
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.25);
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(255,255,255,.85);
}

/* ============== SERVICIOS HOME CARDS ============== */
#servicios { background: var(--gray); padding-bottom: 120px; }
.serv-cards {
  max-width: 1280px; margin: -120px auto 0;
  position: relative; z-index: 5;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 56px;
}
@media (max-width: 900px) { .serv-cards { grid-template-columns: 1fr; padding: 0 24px; } }
a.serv-card {
  background: var(--navy);
  color: white;
  text-decoration: none;
  border-radius: 14px;
  padding: 38px 32px 32px;
  min-height: 360px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  box-shadow: 0 28px 50px -20px rgba(10,39,66,.45);
  cursor: pointer;
}
a.serv-card:hover { transform: translateY(-8px); box-shadow: 0 36px 60px -20px rgba(10,39,66,.55); }
a.serv-card::before {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,153,104,.20), transparent 65%);
  transition: transform .6s var(--ease);
}
a.serv-card:hover::before { transform: scale(1.6); }
.serv-idx {
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--gold);
  margin-bottom: 18px;
}
.serv-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.1;
  margin-bottom: 16px;
  position: relative;
}
.serv-name::after {
  content: ""; display: block;
  width: 40px; height: 3px;
  background: var(--gold);
  margin-top: 16px;
}
.serv-pitch {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255,255,255,.78);
  margin-bottom: 24px;
}
.serv-meta {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex; align-items: center; justify-content: space-between;
}
.serv-meta-count {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.serv-arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s var(--ease), background .35s;
}
a.serv-card:hover .serv-arrow { transform: translateX(6px); background: var(--gold-2); }
.serv-arrow svg { width: 16px; height: 16px; }

/* services intro */
.serv-intro {
  max-width: 1280px;
  margin: 80px auto 60px;
  padding: 0 56px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px;
}
@media (max-width: 900px) { .serv-intro { grid-template-columns: 1fr; gap: 24px; padding: 0 24px; } }
.serv-intro p {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  max-width: 50ch;
  align-self: end;
}

/* sectores pills callout */
.sectors-band {
  background: var(--blue);
  color: white;
  padding: 60px 56px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}
.sectors-band::before, .sectors-band::after {
  content: ""; position: absolute;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
}
.sectors-band::before { width: 320px; height: 320px; top: -160px; right: -80px; }
.sectors-band::after  { width: 220px; height: 220px; bottom: -120px; left: 10%; }
.sectors-band .inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto;
  gap: 60px; align-items: center;
  position: relative; z-index: 2;
}
@media (max-width: 900px) { .sectors-band .inner { grid-template-columns: 1fr; } }
.sectors-band h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.4;
}
.sector-pills {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.sector-pill {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  color: white;
  background: rgba(255,255,255,.07);
  text-decoration: none;
}

/* ============== CLIENTES ============== */
#clientes { background: var(--gray); padding-top: 110px; padding-bottom: 0; }
.clients-title {
  text-align: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 50px;
}
.logo-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--gray-2);
  border: 1px solid var(--line);
}
@media (max-width: 800px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }
.logo-cell {
  aspect-ratio: 5/3;
  display: flex; align-items: center; justify-content: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--navy-deep);
  background: var(--gray-2);
  transition: background .35s, color .35s;
  position: relative;
  text-align: center;
  padding: 14px;
  line-height: 1.25;
}
.logo-cell:hover { background: var(--navy); color: var(--gold); }
.logo-cell .glyph {
  display: block;
  font-size: 16px; margin-bottom: 6px; color: var(--gold);
  transition: color .35s;
}
.logo-cell:hover .glyph { color: var(--gold-2); }

/* alianzas */
.alianzas {
  background: var(--navy);
  padding: 100px 56px;
  text-align: center;
  margin-top: 90px;
}
.alianzas h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 5.4vw, 68px);
  letter-spacing: .04em;
  color: white;
  text-transform: uppercase;
  margin-bottom: 48px;
}
.alianzas-grid {
  max-width: 1080px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 800px) { .alianzas-grid { grid-template-columns: 1fr; } }
.alianza-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 38px 24px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .1em;
  color: rgba(255,255,255,.88);
  text-align: center;
  transition: background .35s, color .35s, transform .35s var(--ease);
  text-transform: uppercase;
  line-height: 1.3;
}
.alianza-card:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-4px);
}

/* ============== CONTACTO ============== */
#contacto {
  background: var(--blue);
  position: relative;
  overflow: hidden;
  padding: 0 0 100px;
}
.contact-top {
  position: relative;
  padding: 100px 56px 60px;
  text-align: center;
  z-index: 2;
}
.contact-top h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: .04em;
  color: white;
  text-transform: uppercase;
}
.contact-top p {
  color: rgba(255,255,255,.85);
  max-width: 56ch; margin: 22px auto 0;
  font-size: 16px; line-height: 1.7;
}
#contacto .blob {
  position: absolute;
  border-radius: 50% 40% 60% 50% / 40% 50% 60% 50%;
  background: rgba(255,255,255,.08);
  pointer-events: none;
  will-change: transform;
}
#contacto .blob.b1 { width: 480px; height: 480px; top: -120px; left: -80px; }
#contacto .blob.b2 { width: 360px; height: 360px; top: 80px; right: -100px; background: rgba(255,255,255,.06);}
#contacto .blob.b3 { width: 280px; height: 280px; bottom: -120px; left: 30%; background: rgba(74,158,231,.18);}

.contact-card {
  max-width: 1080px; margin: 0 auto;
  background: var(--gray);
  border-radius: 16px;
  padding: 56px;
  position: relative; z-index: 2;
  box-shadow: 0 40px 80px -30px rgba(10,39,66,.5);
}
@media (max-width: 700px) { .contact-card { padding: 36px 24px; margin: 0 24px; } }
.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 16px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { position: relative; }
.field input, .field textarea {
  width: 100%;
  background: white;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 22px 22px 16px;
  font: 400 15px var(--body);
  color: var(--ink);
  outline: none;
  box-shadow: 0 2px 0 rgba(0,0,0,.04);
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 130px; resize: none; }
.field input:focus, .field textarea:focus {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(74,158,231,.18);
}
.field label {
  position: absolute; left: 22px; top: 18px;
  font-family: var(--display);
  font-size: 13.5px;
  color: var(--muted);
  pointer-events: none;
  transition: transform .3s var(--ease), color .3s, font-size .3s;
  transform-origin: left center;
  background: white;
  padding: 0 4px;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-26px) scale(.85);
  color: var(--blue);
}
.field textarea + label { top: 22px; }
.form-cta {
  margin-top: 18px;
  width: 100%;
  padding: 22px;
  background: var(--blue-bright);
  color: white;
  border: none;
  border-radius: 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s, transform .3s, box-shadow .3s;
  box-shadow: 0 14px 28px -10px rgba(74,158,231,.5);
}
.form-cta:hover { background: #5BB0F2; transform: translateY(-2px); }

/* ============== FOOTER ============== */
footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.7);
  padding: 56px;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer-meta {
  font-family: var(--display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* ============== REVEAL ============== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }
.reveal.delay-5 { transition-delay: .40s; }
.scaleIn { opacity: 0; transform: scale(.85); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.scaleIn.in { opacity: 1; transform: scale(1); }

/* ============== SERVICE DETAIL PAGE ============== */
.svc-hero {
  position: relative;
  min-height: 78vh;
  padding: 180px 56px 100px;
  display: flex; align-items: center;
  overflow: hidden;
  color: white;
  background: var(--navy-deep);
}
.svc-hero .bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .35;
  will-change: transform;
  transform: scale(1.08);
}
.svc-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,39,66,.55) 0%, rgba(10,39,66,.75) 100%);
}
.svc-hero-inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; width: 100%; }
.breadcrumb {
  font-family: var(--display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 32px;
  display: flex; gap: 14px; align-items: center;
}
.breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; transition: color .25s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,.35); }
.breadcrumb .here { color: var(--gold); }
.svc-hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  max-width: 18ch;
  text-wrap: balance;
}
.svc-hero h1 .accent { color: var(--gold); }
.svc-hero .lead {
  margin-top: 36px;
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,.85);
}
.svc-hero .cta-row { justify-content: flex-start; opacity: 1; transform: none; animation: none; margin-top: 40px; }
.svc-quick-badges {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 28px;
}
.svc-quick-badges .b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  color: white;
}

/* Intro / overview band */
.svc-overview {
  background: var(--gray);
  padding: 110px 56px 80px;
}
.svc-overview .inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 5fr 6fr;
  gap: 90px; align-items: start;
}
@media (max-width: 900px) { .svc-overview .inner { grid-template-columns: 1fr; gap: 36px; } }
.svc-overview .copy p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
  color: var(--ink);
}
.svc-stat-cluster {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}
.svc-stat-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px 20px;
}
.svc-stat-card .n {
  font-family: var(--display);
  font-weight: 800;
  font-size: 38px;
  line-height: 1;
  color: var(--navy-deep);
}
.svc-stat-card .n .plus { color: var(--gold); font-size: .55em; margin-right: 2px; }
.svc-stat-card .l {
  margin-top: 10px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}

/* Sub-services list (detailed) */
.svc-detail {
  background: var(--gray-2);
  padding: 100px 56px 120px;
}
.svc-detail-head {
  max-width: 1280px; margin: 0 auto 60px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px;
}
@media (max-width: 900px) { .svc-detail-head { grid-template-columns: 1fr; gap: 24px; } }
.svc-detail-head .label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
}
.svc-detail-head .label::before {
  content: ""; display: inline-block; width: 32px; height: 1px;
  background: var(--gold); vertical-align: middle; margin-right: 12px;
}
.svc-detail-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -.005em;
  text-transform: uppercase;
  color: var(--navy-deep);
  margin-top: 14px;
}
.svc-detail-head h2 .accent { color: var(--gold); }
.svc-detail-head p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  align-self: end;
  max-width: 50ch;
}
.subs {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) { .subs { grid-template-columns: 1fr; } }
.sub {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.sub:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 28px 50px -25px rgba(10,39,66,.25);
}
.sub-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  color: var(--gold);
  opacity: .35;
  position: absolute;
  right: 28px; top: 26px;
  letter-spacing: -.02em;
  transition: opacity .35s;
}
.sub:hover .sub-num { opacity: 1; }
.sub-tag {
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.sub h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--navy-deep);
  margin-bottom: 14px;
  max-width: 24ch;
}
.sub p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}
.sub .deliverables {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  list-style: none;
}
.sub .deliverables li {
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--navy-deep);
  padding: 5px 0;
  display: flex; gap: 10px;
}
.sub .deliverables li::before { content: "✓"; color: var(--gold); }

/* who is this for */
.svc-audience {
  background: var(--navy);
  color: white;
  padding: 90px 56px;
}
.svc-audience .inner {
  max-width: 1280px; margin: 0 auto;
}
.svc-audience h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 36px;
  max-width: 22ch;
}
.svc-audience h2 .accent { color: var(--gold); }
.audience-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 800px) { .audience-grid { grid-template-columns: 1fr 1fr; } }
.aud {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  padding: 24px;
}
.aud .icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.aud .icon svg { width: 22px; height: 22px; }
.aud h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  color: white;
  margin-bottom: 8px;
}
.aud p { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.7); }

/* CTA band */
.svc-cta {
  background: var(--blue);
  color: white;
  padding: 90px 56px;
  position: relative;
  overflow: hidden;
}
.svc-cta::before, .svc-cta::after {
  content: ""; position: absolute;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
}
.svc-cta::before { width: 320px; height: 320px; top: -160px; right: 10%; }
.svc-cta::after { width: 220px; height: 220px; bottom: -120px; left: -60px; }
.svc-cta .inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 7fr 5fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 2;
}
@media (max-width: 900px) { .svc-cta .inner { grid-template-columns: 1fr; } }
.svc-cta h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -.005em;
  max-width: 22ch;
}
.svc-cta h2 .accent { color: var(--gold); }
.svc-cta p { color: rgba(255,255,255,.85); margin-top: 18px; font-size: 16px; line-height: 1.7; max-width: 46ch; }
.svc-cta .btn-primary { background: white; color: var(--navy-deep); }
.svc-cta .btn-primary:hover { background: var(--gold); color: var(--navy-deep); }

/* Cross-promo to other services */
.svc-cross {
  background: var(--gray);
  padding: 100px 56px 120px;
}
.svc-cross h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 42px);
  text-transform: uppercase;
  color: var(--navy-deep);
  margin-bottom: 36px;
  max-width: 1280px;
  margin-left: auto; margin-right: auto;
}
.svc-cross-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 800px) { .svc-cross-grid { grid-template-columns: 1fr; } }

/* ============== RESPONSIVE ============== */
@media (max-width: 900px) {
  .topbar { padding: 14px 20px; flex-direction: row; }
  .topbar.scrolled { padding: 10px 20px; }
  .nav-pill { display: none; }
  .hero, .section, .stats, .approach-band, .diferenciales, .sectors-band, .alianzas, .contact-top, footer,
  .svc-hero, .svc-overview, .svc-detail, .svc-audience, .svc-cta, .svc-cross
  { padding-left: 22px; padding-right: 22px; }
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat + .stat::before { display: none; }
  .stat + .stat { border-top: 1px solid rgba(255,255,255,.12); padding-top: 32px; }
  .dir-text { padding: 50px 24px; }
  .serv-cards { margin-top: -80px; }
  .svc-stat-cluster { grid-template-columns: 1fr 1fr; }
}
