*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: #F6F5F2; color: #16181A;
  font-family: "Sofia Sans", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; }
a { color: #004390; text-decoration: none; }
a:hover { color: #16181A; }
::selection { background: #004390; color: #fff; }
button { font: inherit; }

.cond { font-family: "Sofia Sans Condensed", "Sofia Sans", sans-serif; }
.wrap { max-width: 1520px; margin: 0 auto; padding-left: clamp(20px,4vw,56px); padding-right: clamp(20px,4vw,56px); }

/* header */
.hd { position: fixed; top: 0; left: 0; right: 0; z-index: 60;
      background: rgba(246,245,242,.86); backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(22,24,26,.10); }
.hd-in { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hd img { height: 46px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: clamp(18px,2.4vw,38px); }
.nav a { font-family: "Sofia Sans Condensed", sans-serif; font-size: 17px; font-weight: 600;
         letter-spacing: .10em; text-transform: uppercase; color: #16181A; }
.nav a:hover { color: #004390; }
.nav a.cta { display: flex; align-items: center; height: 44px; padding: 0 22px;
             background: #004390; color: #fff; font-weight: 700; }
.nav a.cta:hover { background: #16181A; color: #fff; }
.burger { display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
          background: transparent; border: 1px solid rgba(22,24,26,.24); cursor: pointer; }
.burger span { display: block; width: 20px; height: 1.5px; background: #16181A; position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: #16181A; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

/* hero */
.hero { position: relative; height: 100vh; min-height: 640px; background: #0E1013; overflow: hidden; }
.hero-img { position: absolute; inset: 0; opacity: 0; transition: opacity 1100ms ease; }
.hero-img.on { opacity: 1; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-scrim { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,14,.60) 0%, rgba(10,12,14,.18) 32%, rgba(10,12,14,.86) 78%, rgba(10,12,14,.86) 100%); }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(90px,13vh,170px); pointer-events: none;
  background: linear-gradient(180deg, rgba(246,245,242,0) 0%, rgba(246,245,242,.72) 58%, #F6F5F2 100%); }
.hero-in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
           padding-bottom: clamp(110px,17vh,220px); }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: auto;
           padding-top: calc(78px + clamp(40px,9vh,110px)); }
.eyebrow i { width: 52px; height: 1px; background: rgba(255,255,255,.55); }
.eyebrow span { font-family: "Sofia Sans Condensed", sans-serif; font-size: 15px; font-weight: 600;
                letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.78); }
h1 { margin: 0 0 clamp(24px,4vh,44px); font-family: "Sofia Sans Condensed", sans-serif; font-weight: 300;
     font-size: clamp(58px,12.5vw,196px); line-height: .82; letter-spacing: -.02em; color: #fff; text-transform: uppercase; }
h1 b { font-weight: 900; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px;
             padding-top: clamp(20px,3vh,32px); border-top: 1px solid rgba(255,255,255,.22); }
.hero-foot p { margin: 0; max-width: 620px; font-size: clamp(17px,1.5vw,22px); line-height: 1.45;
               color: rgba(255,255,255,.92); text-wrap: pretty; min-height: 2.9em; }
.hero-ctrl { display: flex; align-items: center; gap: 18px; }
.hero-ctrl .count { font-family: "Sofia Sans Condensed", sans-serif; font-size: 16px; font-weight: 600;
                    letter-spacing: .18em; color: rgba(255,255,255,.70); }
.arrow { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
         background: transparent; border: 1px solid rgba(255,255,255,.34); color: #fff; cursor: pointer;
         font-size: 20px; line-height: 1; transition: background 200ms ease, color 200ms ease; }
.arrow:hover { background: #fff; color: #0E1013; }

/* section heads */
.sec { padding: clamp(76px,11vw,150px) 0; scroll-margin-top: 78px; }
.head { display: flex; align-items: baseline; gap: 18px; margin-bottom: clamp(36px,5vw,66px); }
.head em { font-family: "Sofia Sans Condensed", sans-serif; font-style: normal; font-size: 15px;
           font-weight: 700; letter-spacing: .24em; color: #004390; }
.head h2 { margin: 0; font-family: "Sofia Sans Condensed", sans-serif; font-weight: 800;
           font-size: clamp(30px,3.4vw,46px); line-height: 1; letter-spacing: -.01em; text-transform: uppercase; }
.head i { flex: 1; height: 1px; background: rgba(22,24,26,.16); }

/* empresa */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px,1fr)); gap: clamp(36px,5vw,80px); align-items: start; }
.lede { margin: 0 0 clamp(26px,3vw,40px); font-family: "Sofia Sans Condensed", sans-serif; font-weight: 500;
        font-size: clamp(28px,3.1vw,44px); line-height: 1.08; letter-spacing: -.01em; text-wrap: pretty; }
.lede b { color: #004390; font-weight: 800; }
.body { display: grid; gap: 18px; max-width: 640px; font-size: 17px; line-height: 1.62; color: #43474B; }
.body p { margin: 0; }
.more { display: grid; gap: 18px; }
.more[hidden] { display: none; }
.btn-ghost { margin-top: 32px; display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 26px;
  background: transparent; border: 1px solid rgba(22,24,26,.28); color: #16181A;
  font-family: "Sofia Sans Condensed", sans-serif; font-size: 17px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; cursor: pointer; transition: background 200ms ease, color 200ms ease, border-color 200ms ease; }
.btn-ghost:hover { background: #16181A; color: #fff; border-color: #16181A; }
.figure { position: relative; }
.figure img { width: 100%; height: clamp(360px,52vw,640px); object-fit: cover; display: block; }
.badge { position: absolute; left: 0; bottom: 0; background: #004390; color: #fff; padding: 22px 28px;
         display: flex; align-items: baseline; gap: 12px; font-family: "Sofia Sans Condensed", sans-serif; }
.badge b { font-size: clamp(38px,4vw,56px); font-weight: 900; line-height: .9; }
.badge span { font-size: 16px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

/* trabajos */
.dark { background: #16181A; color: #fff; }
.dark .head em { color: #5B9BE8; }
.dark .head h2 { color: #fff; }
.dark .head i { background: rgba(255,255,255,.18); }
.grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(150px,17vw,240px);
        grid-auto-flow: dense; gap: clamp(10px,1vw,16px); }
.work { position: relative; display: block; padding: 0; border: 0; background: #0E1013; cursor: pointer;
        overflow: hidden; text-align: left; grid-column: span 2; grid-row: span 1; }
.work:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.work:nth-child(4) { grid-column: span 3; }
.work:nth-child(5) { grid-column: span 3; grid-row: span 2; }
.work:nth-child(6) { grid-column: span 3; }
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .work { grid-column: span 2; grid-row: span 1; }
  .work:nth-child(1) { grid-column: span 4; grid-row: span 2; }
  .work:nth-child(5) { grid-column: span 2; grid-row: span 2; }
  .work:nth-child(4), .work:nth-child(6) { grid-column: span 2; }
  .work:nth-child(9) { grid-column: span 4; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(140px,34vw,200px); }
  .work, .work:nth-child(1), .work:nth-child(4), .work:nth-child(5), .work:nth-child(6) { grid-column: span 1; grid-row: span 1; }
  .work:nth-child(1) { grid-column: span 2; grid-row: span 2; }
}
.work img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .86;
            transition: transform 700ms cubic-bezier(.2,.7,.3,1), opacity 400ms ease; }
.work:hover img { transform: scale(1.06); opacity: 1; }
.work-lbl { position: absolute; inset: auto 0 0 0; padding: 20px 22px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
  background: linear-gradient(180deg, rgba(14,16,19,0) 0%, rgba(14,16,19,.86) 100%); }
.work-lbl b { font-family: "Sofia Sans Condensed", sans-serif; font-size: clamp(18px,1.5vw,24px); font-weight: 700;
              letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.work-lbl i { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
              border: 1px solid rgba(255,255,255,.45); color: #fff; font-size: 17px; font-style: normal; line-height: 1; }

/* clientes */
.marquee { position: relative; overflow: hidden;
           border-top: 1px solid rgba(22,24,26,.12); border-bottom: 1px solid rgba(22,24,26,.12); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0;
  width: clamp(40px,7vw,120px); z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, #F6F5F2 0%, rgba(246,245,242,0) 100%); }
.marquee::after { right: 0; background: linear-gradient(270deg, #F6F5F2 0%, rgba(246,245,242,0) 100%); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-track > div { flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  width: clamp(170px,15vw,230px); min-height: 132px; padding: 34px 26px;
  border-right: 1px solid rgba(22,24,26,.12); }
.marquee-track img { max-width: 130px; max-height: 64px; width: auto; height: auto; object-fit: contain;
  filter: grayscale(1); opacity: .58; transition: filter 300ms ease, opacity 300ms ease; }
.marquee-track img:hover { filter: none; opacity: 1; }
.work { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.3,1); }
.work.in { opacity: 1; transform: none; }
.reveal-r { transform: translateY(0) translateX(30px); }
.reveal-r.in { transform: none; }

/* contacto */
.contact { position: relative; background: #0E1013; color: #fff; overflow: hidden; scroll-margin-top: 78px; }
.contact > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .30; }
.contact .wrap { position: relative; padding-top: clamp(76px,11vw,150px); padding-bottom: clamp(76px,11vw,150px); }
.contact .head em { color: #5B9BE8; } .contact .head h2 { color: #fff; } .contact .head i { background: rgba(255,255,255,.20); }
.claim { margin: 0 0 clamp(30px,4vw,44px); font-family: "Sofia Sans Condensed", sans-serif; font-weight: 400;
         font-size: clamp(32px,4.4vw,68px); line-height: 1.02; letter-spacing: -.015em; color: #fff; text-wrap: pretty; }
.claim b { font-weight: 800; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; height: 60px; padding: 0 30px;
       font-family: "Sofia Sans Condensed", sans-serif; font-size: 19px; font-weight: 700;
       letter-spacing: .10em; text-transform: uppercase; transition: background 200ms ease, color 200ms ease, border-color 200ms ease; }
.btn-wa { background: #25D366; color: #0E1013; font-weight: 800; }
.btn-wa:hover { background: #fff; color: #0E1013; }
.btn-ig { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px;
           border: 1px solid rgba(255,255,255,.40); color: #fff;
           transition: background 200ms ease, color 200ms ease, border-color 200ms ease; }
.btn-ig:hover { background: #fff; color: #0E1013; border-color: #fff; }
.btn-wa-ico { background: #25D366; color: #0E1013; border-color: #25D366; }
.btn-wa-ico:hover { background: #fff; color: #0E1013; border-color: #fff; }
.btn-out { border: 1px solid rgba(255,255,255,.40); color: #fff; }
.btn-out:hover { background: #fff; color: #0E1013; border-color: #fff; }
.facts { display: grid; border-top: 1px solid rgba(255,255,255,.20); }
.facts > div { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0;
               border-bottom: 1px solid rgba(255,255,255,.20); }
.facts > div:last-child { border-bottom: 0; }
.facts dt, .facts span.k { font-family: "Sofia Sans Condensed", sans-serif; font-size: 15px; font-weight: 600;
                           letter-spacing: .20em; text-transform: uppercase; color: rgba(255,255,255,.58); }
.facts a, .facts span.v { color: #fff; font-size: 19px; text-align: right; }
.facts a:hover { color: #5B9BE8; }

footer { background: #16181A; color: rgba(255,255,255,.60); padding: 30px 0; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 15px; }
footer p { margin: 0; display: flex; align-items: center; gap: 8px; }
footer a { color: rgba(255,255,255,.80); display: inline-flex; align-items: center; gap: 8px; }
footer a:hover { color: #fff; }
footer img { height: 15px; width: auto; filter: invert(1); opacity: .8; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 70; display: flex; align-items: center; gap: 11px;
  height: 56px; padding: 0 22px; background: #25D366; color: #0E1013; font-family: "Sofia Sans Condensed", sans-serif;
  font-size: 18px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(0,0,0,.22); }
.wa-float:hover { background: #16181A; color: #fff; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(10,12,14,.94); display: none;
      flex-direction: column; align-items: center; justify-content: center; padding: clamp(16px,4vw,56px);
      gap: 22px; cursor: zoom-out; }
.lb.on { display: flex; animation: up 240ms ease both; }
.lb img { max-width: 100%; max-height: 78vh; object-fit: contain; display: block; }
.lb-bar { display: flex; align-items: center; gap: 20px; color: #fff; }
.lb-bar button { width: 48px; height: 48px; background: transparent; border: 1px solid rgba(255,255,255,.35);
                 color: #fff; cursor: pointer; font-size: 19px; }
.lb-bar span { font-family: "Sofia Sans Condensed", sans-serif; font-size: 19px; font-weight: 600;
               letter-spacing: .14em; text-transform: uppercase; }

@keyframes up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .work { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 860px) {
  .burger { display: flex; }
  .nav { position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
         background: #F6F5F2; border-bottom: 1px solid rgba(22,24,26,.12); padding: 8px 0 16px;
         display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 16px clamp(20px,4vw,56px); font-size: 20px; }
  .nav a.cta { margin: 10px clamp(20px,4vw,56px) 0; height: 52px; justify-content: center; }
  .hero-foot p { min-height: 0; }
  .facts a, .facts span.v { font-size: 17px; }
}
