:root {
  --blue: #0866b2;
  --electric: #1595df;
  --ink: #07131d;
  --paper: #f4f1ea;
  --line: rgba(7, 19, 29, 0.16);
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, sans-serif;
}
.site-nav {
  min-height: 88px;
  background: rgba(244, 241, 234, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  transform: skew(-8deg);
}
.brand strong,
.brand small {
  display: block;
  line-height: 1;
}
.brand strong {
  font-size: 13px;
}
.brand small {
  font-size: 10px;
  color: #65717a;
  margin-top: 5px;
}
.nav-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 13px 20px !important;
}
.hero {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  padding-left: 7vw;
}
.hero-copy {
  padding: 9vh 5vw 7vh 0;
  align-self: center;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 42px 42px;
}
.eyebrow,
.kicker {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  font-weight: 800;
}
h1 {
  font-size: clamp(48px, 6.2vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.06em;
  margin: 28px 0;
}
h1 em,
h2 em {
  color: var(--blue);
  font-style: normal;
}
.lead-copy {
  max-width: 620px;
  color: #53616d;
  font-size: 18px;
  line-height: 1.75;
}
.button {
  min-height: 53px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.primary {
  color: #fff;
  background: var(--blue);
}
.ghost {
  color: var(--ink);
  border: 1px solid var(--line);
}
.white {
  color: var(--ink);
  background: #fff;
}
.proof {
  display: flex;
  gap: 4vw;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  max-width: 650px;
}
.proof div {
  display: flex;
  flex-direction: column;
}
.proof strong {
  font-size: 22px;
}
.proof span {
  color: #6c7780;
  font-size: 10px;
  text-transform: uppercase;
}
.hero-visual {
  background: var(--ink);
  min-height: 600px;
  overflow: hidden;
}
.hero-visual .carousel,
.hero-visual .carousel-inner,
.hero-visual .carousel-item {
  width: 100%;
  height: 100%;
  min-height: 600px;
}
.hero-visual .carousel-item img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
  object-position: center;
}
.hero-visual .carousel-control-prev,
.hero-visual .carousel-control-next {
  width: 12%;
  z-index: 3;
}
.hero-visual .carousel-indicators {
  z-index: 4;
  margin-bottom: 1.5rem;
}
.hero-visual .carousel-indicators [data-bs-target] {
  width: 28px;
  height: 3px;
  border: 0;
}
.hero-visual .visual-label {
  z-index: 2;
}
.blueprint {
  width: 78%;
  aspect-ratio: 1/1.05;
  border: 1px solid #ffffff33;
  position: relative;
  background-image:
    linear-gradient(#ffffff0f 1px, transparent 1px),
    linear-gradient(90deg, #ffffff0f 1px, transparent 1px);
  background-size: 30px 30px;
  color: #ffffff77;
  font: 10px monospace;
  padding: 10%;
}
.building {
  position: absolute;
  bottom: 18%;
  left: 12%;
  right: 10%;
  height: 55%;
  border: 2px solid #ffffffbb;
  transform: skewY(-8deg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 14px;
  padding: 15px;
  box-shadow: 22px 22px 0 #1595df44;
}
.building i {
  border: 1px solid #ffffff55;
  background: linear-gradient(135deg, #1595df99, transparent);
}
.visual-label {
  position: absolute;
  bottom: 4%;
  left: 0;
  background: var(--blue);
  color: #fff;
  padding: 15px 24px;
}
.visual-label small,
.visual-label strong {
  display: block;
}
.section-light,
.services,
.process {
  padding: 110px 7vw;
}
h2 {
  font-size: clamp(38px, 4.7vw, 69px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}
.intro {
  color: #58656e;
  font-size: 17px;
  line-height: 1.7;
}
.values {
  margin-top: 70px;
  border-top: 1px solid var(--line);
}
.value {
  padding: 25px 15px;
  border-right: 1px solid var(--line);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
}
.value span {
  display: block;
  color: var(--blue);
  margin-bottom: 18px;
}
.services {
  background: var(--ink);
  color: #fff;
}
.services .kicker,
.contact .kicker {
  color: var(--electric);
}
.section-heading {
  margin-bottom: 65px;
}
.section-heading > p {
  color: #9ba5ad;
}
.service-grid {
  border-top: 1px solid #ffffff29;
  border-left: 1px solid #ffffff29;
}
.service-card {
  height: 100%;
  min-height: 385px;
  padding: 35px;
  border-right: 1px solid #ffffff29;
  border-bottom: 1px solid #ffffff29;
  transition: 0.25s;
}
.service-card:hover {
  background: var(--blue);
  transform: translateY(-5px);
}
.service-card.has-gallery {
  cursor: pointer;
  position: relative;
  padding-bottom: 82px;
}
.service-card.has-gallery:focus-visible {
  outline: 3px solid var(--electric);
  outline-offset: -4px;
}
.gallery-link {
  position: absolute;
  left: 35px;
  bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.gallery-link span {
  color: var(--electric);
  font-size: 18px;
  transition: transform .25s;
}
.service-card.has-gallery:hover .gallery-link span {
  color: #fff;
  transform: translate(3px, -3px);
}
.gallery-modal .modal-dialog {
  max-width: min(1120px, calc(100vw - 32px));
}
.gallery-modal .modal-content {
  overflow: hidden;
  border: 1px solid #ffffff33;
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 30px 90px #000b;
}
.gallery-modal .modal-header {
  align-items: flex-start;
  padding: 22px 28px;
  border-bottom: 1px solid #ffffff24;
}
.gallery-modal .modal-header small {
  color: var(--electric);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .2em;
}
.gallery-modal .modal-title {
  margin: 3px 0 0;
  font-size: clamp(25px, 3vw, 38px);
  letter-spacing: -.03em;
}
.gallery-modal .modal-body {
  padding: 0;
}
.gallery-modal .carousel-item {
  height: min(70vh, 720px);
  background: #02070b;
}
.gallery-modal .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-modal .carousel-control-prev,
.gallery-modal .carousel-control-next {
  width: 10%;
  background: linear-gradient(90deg, #0008, transparent);
}
.gallery-modal .carousel-control-next {
  background: linear-gradient(270deg, #0008, transparent);
}
.gallery-modal .carousel-indicators {
  z-index: 4;
}
.gallery-modal .modal-footer {
  min-height: 45px;
  justify-content: center;
  border-top: 1px solid #ffffff24;
  color: #aeb8bf;
  font-size: 11px;
  letter-spacing: .16em;
}
.modal-backdrop.show {
  opacity: .86;
}
.number {
  color: var(--electric);
  font-size: 11px;
}
.service-card h3 {
  font-size: 25px;
  margin: 55px 0 16px;
}
.service-card p {
  color: #9ba5ad;
  line-height: 1.65;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tags span {
  font-size: 10px;
  border: 1px solid #ffffff33;
  padding: 6px 8px;
  color: #ccd3d8;
}
.process {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9vw;
}
.process ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.process li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 25px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.process li > span {
  color: var(--blue);
  font-size: 11px;
}
.process li p {
  color: #65717a;
  margin: 7px 0;
}
.contact {
  margin: 0 3vw 3vw;
  padding: 90px 7vw;
  background: var(--blue);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 8vw;
}
.contact address {
  display: grid;
  gap: 8px;
  border-top: 1px solid #ffffff55;
  padding-top: 18px;
}
.contact small {
  color: #b8dff5;
  letter-spacing: 0.2em;
  font-size: 9px;
  margin-top: 10px;
}
.contact a {
  color: #fff;
  font-weight: 700;
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35px 5vw 55px;
  color: #6c7780;
  font-size: 11px;
}
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    padding-left: 6vw;
  }
  .hero-visual {
    min-height: 500px;
  }
  .hero-visual .carousel,
  .hero-visual .carousel-inner,
  .hero-visual .carousel-item,
  .hero-visual .carousel-item img {
    min-height: 500px;
  }
  .process,
  .contact {
    grid-template-columns: 1fr;
  }
  .footer {
    gap: 25px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 576px) {
  .hero-copy {
    padding-top: 70px;
  }
  .proof {
    gap: 20px;
    justify-content: space-between;
  }
  .proof span {
    font-size: 8px;
  }
  .hero-visual {
    min-height: 420px;
  }
  .hero-visual .carousel,
  .hero-visual .carousel-inner,
  .hero-visual .carousel-item,
  .hero-visual .carousel-item img {
    min-height: 420px;
  }
  .section-light,
  .services,
  .process {
    padding: 75px 6vw;
  }
  .contact {
    margin: 0;
    padding: 75px 7vw;
  }
  .service-card {
    min-height: auto;
  }
  .gallery-modal .modal-dialog {
    max-width: calc(100vw - 16px);
    margin: 8px auto;
  }
  .gallery-modal .modal-header {
    padding: 17px 18px;
  }
  .gallery-modal .carousel-item {
    height: 68vh;
  }
}

/* Movimiento sutil para navegación y contenido */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise-in .7s both; }
  .hero-copy > :nth-child(2) { animation-delay: .1s; }
  .hero-copy > :nth-child(3) { animation-delay: .2s; }
  .hero-copy > :nth-child(4) { animation-delay: .3s; }
  .hero-copy > :nth-child(5) { animation-delay: .4s; }
  .hero-visual { animation: fade-in .9s .15s both; }
  .reveal { opacity: 0; transform: translateY(25px); transition: opacity .65s ease, transform .65s ease; }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }
  .button, .nav-cta, .contact .btn { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
  .button:hover, .nav-cta:hover, .contact .btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px #07131d2b; }
  .service-card { transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease; }
  .service-card:hover { box-shadow: inset 0 0 0 1px #ffffff44; }
  .service-card.has-gallery .gallery-link { transition: letter-spacing .25s ease; }
  .service-card.has-gallery:hover .gallery-link { letter-spacing: .16em; }
  @keyframes rise-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .service-card:hover { transform: none; }
}
