:root {
  --attica-blue: #254961;
}

.skip-link {
  background: var(--attica-blue);
  color: #fffdf9;
  font-size: .9rem;
  font-weight: 800;
  left: 16px;
  padding: 12px 16px;
  position: fixed;
  top: 12px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
  z-index: 10000;
}

.skip-link:focus-visible {
  outline: 3px solid #fffdf9;
  outline-offset: 3px;
  transform: translateY(0);
}

.editorial-strip,
.editorial-strip-compact,
.editorial-strip-health,
.editorial-strip-services,
.editorial-strip-bim-route,
.portfolio-signature-strip {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.editorial-marquee,
.editorial-strip-compact .editorial-marquee,
.editorial-strip-health .editorial-marquee,
.editorial-strip-services .editorial-marquee,
.editorial-strip-bim-route .editorial-marquee,
.portfolio-signature-strip .editorial-marquee {
  font-size: clamp(30px, 4.4vw, 70px) !important;
  line-height: .92;
}

.hero::before {
  animation: heroSlowDrift 24s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes heroSlowDrift {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }

  100% {
    transform: scale(1.055) translate3d(-1.2%, .8%, 0);
  }
}

.hero-actions .button,
.button {
  transition: background .28s ease, color .28s ease, border-color .28s ease, transform .28s ease, box-shadow .28s ease;
}

.hero-actions .button.primary,
.button.primary {
  background: var(--attica-blue);
  border-color: var(--attica-blue);
}

.hero-actions .button:hover,
.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(37, 73, 97, .24);
}

.hero-actions .button.primary:hover,
.button.primary:hover {
  background: #fff;
  color: var(--attica-blue);
}

.experience-copy {
  min-height: clamp(420px, 48vw, 620px);
}

.experience-copy::before {
  animation: imageRoam 20s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes imageRoam {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  100% {
    transform: scale(1.12) translate3d(-2.5%, 1.4%, 0);
  }
}

.experience-copy h2 {
  font-size: clamp(34px, 4.1vw, 58px);
}

.experience-grid article {
  min-height: clamp(420px, 48vw, 620px);
  overflow: hidden;
  isolation: isolate;
}

.experience-grid article span {
  transition: color .28s ease, font-size .28s ease;
}

.experience-grid article:hover span {
  color: #fff;
}

#servicios .service-grid > article:not(.awards-band) {
  transition: background .28s ease, color .28s ease, border-color .28s ease, transform .28s ease, box-shadow .28s ease;
}

#servicios .service-grid > article:not(.awards-band):nth-child(-n + 3):hover {
  background: var(--attica-blue);
  border-color: var(--attica-blue);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 22px 40px rgba(37, 73, 97, .18);
}

#servicios .service-grid > article:not(.awards-band):nth-child(-n + 3):hover h3,
#servicios .service-grid > article:not(.awards-band):nth-child(-n + 3):hover p,
#servicios .service-grid > article:not(.awards-band):nth-child(-n + 3):hover span {
  color: #fff;
}

#servicios .service-grid > article:not(.awards-band):nth-child(n + 4):nth-child(-n + 6) {
  background: var(--attica-blue);
  border-color: rgba(37, 73, 97, .35);
  color: #fff;
}

#servicios .service-grid > article:not(.awards-band):nth-child(n + 4):nth-child(-n + 6) h3,
#servicios .service-grid > article:not(.awards-band):nth-child(n + 4):nth-child(-n + 6) p,
#servicios .service-grid > article:not(.awards-band):nth-child(n + 4):nth-child(-n + 6) span,
#servicios .service-grid > article:not(.awards-band):nth-child(n + 4):nth-child(-n + 6) a {
  color: #fff;
}

#servicios .service-grid > article:not(.awards-band):nth-child(n + 4):nth-child(-n + 6):hover {
  background: #fff;
  color: var(--attica-blue);
  transform: translateY(-5px);
  box-shadow: 0 22px 40px rgba(37, 73, 97, .14);
}

#servicios .service-grid > article:not(.awards-band):nth-child(n + 4):nth-child(-n + 6):hover h3,
#servicios .service-grid > article:not(.awards-band):nth-child(n + 4):nth-child(-n + 6):hover p,
#servicios .service-grid > article:not(.awards-band):nth-child(n + 4):nth-child(-n + 6):hover span,
#servicios .service-grid > article:not(.awards-band):nth-child(n + 4):nth-child(-n + 6):hover a {
  color: var(--attica-blue);
}

#servicios .awards-band {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(360px, 1.08fr) minmax(300px, 1fr);
  gap: clamp(18px, 2.2vw, 30px);
  align-items: stretch;
  min-height: 430px;
  padding: clamp(22px, 2.4vw, 34px);
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(37, 73, 97, .18);
}

#servicios .awards-band::after {
  display: none !important;
}

#servicios .awards-copy {
  align-self: center;
}

#servicios .award-preview {
  position: relative;
  align-self: stretch;
  height: 100%;
  min-height: 370px;
  margin: 0;
  overflow: hidden;
  background: var(--attica-blue);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  transform: translateX(-18px);
  box-shadow: 0 24px 52px rgba(37, 73, 97, .2);
}

#servicios .award-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 18, 28, .05), rgba(7, 18, 28, .68));
  pointer-events: none;
}

#servicios .award-preview img {
  width: 100%;
  height: 100%;
  min-height: 370px;
  object-fit: cover;
  display: block;
  animation: awardPreviewDrift 14s ease-in-out infinite alternate;
}

@keyframes awardPreviewDrift {
  0% {
    transform: scale(1.02) translateX(0);
  }

  100% {
    transform: scale(1.11) translateX(-2.5%);
  }
}

#servicios .award-preview figcaption {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 3vw, 34px);
  right: clamp(20px, 3vw, 34px);
  bottom: clamp(18px, 2.4vw, 28px);
  display: grid;
  gap: 4px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}

#servicios .award-preview figcaption strong,
#servicios .award-preview figcaption span {
  color: #fff;
}

#servicios .award-list {
  display: grid;
  gap: 10px;
  align-content: center;
}

#servicios .award-item {
  position: relative;
  display: block;
  min-height: 72px;
  padding: 16px 18px;
  overflow: hidden;
  text-align: left;
  background: #fff;
  border: 1px solid rgba(37, 73, 97, .16);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

#servicios .award-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--attica-blue);
  transition: width .32s ease;
  z-index: 0;
}

#servicios .award-item > * {
  position: relative;
  z-index: 1;
}

#servicios .award-item b {
  display: block !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #b25f3f;
  font-size: 16px;
  line-height: 1.2;
}

#servicios .award-item small {
  display: block;
  margin-top: 4px;
  color: #4f5d66;
  font-weight: 700;
}

#servicios .award-item.active,
#servicios .award-item:hover {
  transform: translateX(-8px);
  border-color: var(--attica-blue);
  box-shadow: 0 16px 32px rgba(37, 73, 97, .16);
}

#servicios .award-item.active::before,
#servicios .award-item:hover::before {
  width: 100%;
}

#servicios .award-item.active b,
#servicios .award-item.active small,
#servicios .award-item:hover b,
#servicios .award-item:hover small {
  color: #fff;
}

.software-stack {
  margin-top: 30px;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.software-list {
  display: grid;
  grid-template-columns: repeat(8, minmax(72px, 1fr));
  gap: clamp(10px, 1.2vw, 18px);
  align-items: center;
}

.software-list span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
}

.software-list img {
  width: 82%;
  max-width: 112px;
  height: 64px;
  object-fit: contain;
  transition: transform .25s ease, filter .25s ease;
}

.software-list span:hover img {
  transform: translateY(-4px) scale(1.05);
  filter: saturate(1.12) contrast(1.05);
}

.health-principles::before {
  background-image: linear-gradient(90deg, rgba(37, 73, 97, .1), rgba(37, 73, 97, .38)), url("assets/health-light-neuro.webp") !important;
}

.health-principles:has(article:nth-child(2):hover)::before {
  background-image: linear-gradient(90deg, rgba(37, 73, 97, .1), rgba(37, 73, 97, .38)), url("assets/health-calm-bedroom.webp") !important;
}

.health-principles:has(article:nth-child(3):hover)::before {
  background-image: linear-gradient(90deg, rgba(37, 73, 97, .1), rgba(37, 73, 97, .38)), url("assets/health-life-biophilic.webp") !important;
}

.health-principles:has(article:nth-child(4):hover)::before {
  background-image: linear-gradient(90deg, rgba(37, 73, 97, .1), rgba(37, 73, 97, .38)), url("assets/health-materials-touch.webp") !important;
}

.health-principles article:hover {
  background: var(--attica-blue) !important;
  color: #fff;
}

.health-principles article:hover h3,
.health-principles article:hover p,
.health-principles article:hover .eyebrow {
  color: #fff;
}

.bim-page .bim-3d-hero {
  position: relative;
  min-height: calc(100vh - 84px);
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: clamp(120px, 14vw, 190px) clamp(24px, 8vw, 130px) clamp(70px, 8vw, 110px);
  isolation: isolate;
  background: radial-gradient(circle at 68% 38%, rgba(80, 160, 190, .25), transparent 34%), #13293a;
  color: #fff;
}





.bim-page .bim-scene-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(5, 15, 23, .82), rgba(5, 15, 23, .42) 44%, rgba(5, 15, 23, .1));
  pointer-events: none;
}

.bim-page .bim-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 780px;
}







@media (max-width: 1100px) {
  #servicios .awards-band {
    grid-template-columns: 1fr;
  }

  #servicios .award-preview {
    transform: none;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
    min-height: 360px;
  }

  .software-list {
    grid-template-columns: repeat(4, minmax(74px, 1fr));
  }

  
}

@media (max-width: 760px) {
  .editorial-marquee,
.editorial-strip-compact .editorial-marquee,
.editorial-strip-health .editorial-marquee,
.editorial-strip-services .editorial-marquee,
.editorial-strip-bim-route .editorial-marquee,
.portfolio-signature-strip .editorial-marquee {
    font-size: clamp(26px, 12vw, 46px) !important;
  }

  .experience-copy,
  .experience-grid article {
    min-height: 380px;
  }

  #servicios .awards-band {
    padding: 22px;
    min-height: auto;
  }

  #servicios .award-preview,
  #servicios .award-preview img {
    min-height: 300px;
  }

  .software-list {
    grid-template-columns: repeat(2, minmax(110px, 1fr));
  }

  .software-list span {
    min-height: 72px;
  }

  .software-list img {
    height: 56px;
  }

  .bim-page .bim-3d-hero {
    min-height: 780px;
    padding: 112px 22px 42px;
  }
}

.landing-page .blog-profile {
  align-items: center;
  border-top: 1px solid var(--stone);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-top: clamp(28px, 3vw, 42px);
  padding-top: 22px;
}

.landing-page .blog-profile p {
  color: var(--muted);
  margin: 0;
  max-width: 52ch;
}

.landing-page .blog-profile a {
  align-items: center;
  color: var(--blueprint);
  display: inline-flex;
  font-weight: 900;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.landing-page .blog-profile a:focus-visible {
  outline: 2px solid var(--attica-blue);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .landing-page .blog-profile {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

/* BIM final composition: light model field, upper controls and clearer framing. */
.bim-page .bim-3d-hero {
  background:
    linear-gradient(90deg, #071621 0%, #0d2637 34%, rgba(245, 242, 235, .78) 62%, #f7f4ee 100%) !important;
}

.bim-page .bim-scene-shade {
  background:
    linear-gradient(90deg, rgba(5, 15, 23, .92), rgba(5, 15, 23, .74) 34%, rgba(5, 15, 23, .28) 57%, rgba(255, 253, 249, .08) 78%, rgba(255, 253, 249, .16)) !important;
}





@media (max-width: 980px) {
  
}

@media (max-width: 760px) {
  

  
}

/* Correcciones puntuales: concursos, avisos legales y BIM interactivo. */
.form-legal {
  color: rgba(255, 253, 249, .72);
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}

.contact-form .form-legal {
  color: rgba(111, 106, 99, .82);
}

#servicios .awards-band {
  align-items: stretch !important;
  background: var(--paper) !important;
  border: 1px solid var(--stone) !important;
  box-shadow: none !important;
  color: var(--ink) !important;
  display: grid !important;
  gap: clamp(18px, 3vw, 34px) !important;
  grid-template-columns: minmax(230px, .8fr) minmax(280px, 1fr) minmax(260px, .82fr) !important;
  min-height: 390px !important;
  overflow: visible !important;
  padding: clamp(22px, 3vw, 34px) !important;
}

#servicios .awards-copy h3 {
  color: var(--ink) !important;
}

#servicios .awards-copy p:not(.eyebrow) {
  color: var(--muted) !important;
  max-width: 34ch !important;
}

#servicios .award-preview {
  align-self: stretch !important;
  background: var(--attica-blue) !important;
  box-shadow: none !important;
  clip-path: none !important;
  height: auto !important;
  min-height: 330px !important;
  pointer-events: auto !important;
  position: relative !important;
  transform: none !important;
  width: auto !important;
}

#servicios .award-preview img {
  animation: none !important;
  height: 100% !important;
  min-height: 330px !important;
  object-fit: cover !important;
  transform: none !important;
}

#servicios .award-preview figcaption {
  background: linear-gradient(180deg, transparent, rgba(8, 22, 32, .78)) !important;
  bottom: 0 !important;
  display: grid !important;
  left: 0 !important;
  padding: 54px 20px 18px !important;
  position: absolute !important;
  right: 0 !important;
}

#servicios .award-list {
  align-content: center !important;
  display: grid !important;
  gap: 8px !important;
}

#servicios .award-item {
  background: #fff !important;
  border: 1px solid var(--stone) !important;
  color: var(--ink) !important;
  min-height: 62px !important;
  padding: 12px 14px !important;
  transform: none !important;
}

#servicios .award-item::before {
  display: none !important;
}

#servicios .award-item.active,
#servicios .award-item:hover,
#servicios .award-item:focus-visible {
  background: var(--attica-blue) !important;
  border-color: var(--attica-blue) !important;
  box-shadow: none !important;
  color: #fff !important;
  transform: none !important;
}

#servicios .award-item b {
  color: inherit !important;
  font-size: 15px !important;
}

#servicios .award-item small {
  color: rgba(111, 106, 99, .86) !important;
}

#servicios .award-item.active small,
#servicios .award-item:hover small,
#servicios .award-item:focus-visible small {
  color: rgba(255, 253, 249, .78) !important;
}

.bim-page .bim-3d-hero {
  min-height: min(760px, calc(100vh - 72px)) !important;
  padding: clamp(92px, 10vw, 130px) clamp(22px, 7vw, 112px) clamp(46px, 6vw, 78px) !important;
}

.bim-page .bim-hero-copy {
  max-width: 560px !important;
}

.bim-page .bim-hero-copy h1 {
  font-size: clamp(40px, 5.4vw, 70px) !important;
}

.bim-page .bim-hero-copy p:not(.eyebrow) {
  text-align: justify !important;
  text-align-last: left !important;
}







@media (max-width: 1100px) {
  #servicios .awards-band {
    grid-template-columns: 1fr !important;
  }

  #servicios .award-preview,
  #servicios .award-preview img {
    min-height: 340px !important;
  }
}

@media (max-width: 760px) {
  #servicios .awards-band,
  .landing-page .awards-band,
  .landing-page .service-grid > .awards-band {
    grid-column: auto !important;
    min-height: 0 !important;
    order: 0 !important;
    width: min(520px, 82vw) !important;
  }

  #servicios .award-preview,
  #servicios .award-preview img {
    min-height: 260px !important;
  }

  .bim-page .bim-3d-hero {
    min-height: 680px !important;
    padding: 96px 20px 34px !important;
  }
}

/* Revision: fixed awards showcase and icon-only BIM controls. */
.sr-only {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

#servicios .awards-band {
  align-items: stretch !important;
  background: var(--attica-blue) !important;
  border: 0 !important;
  color: #fff !important;
  display: grid !important;
  gap: clamp(18px, 2.4vw, 30px) !important;
  grid-template-columns: minmax(230px, .72fr) minmax(270px, .82fr) !important;
  grid-template-areas: "copy list" !important;
  height: clamp(440px, 44vw, 560px) !important;
  min-height: 0 !important;
  order: 0 !important;
  overflow: hidden !important;
  padding: clamp(26px, 4vw, 48px) !important;
  position: relative !important;
}

#servicios .awards-band::after {
  background:
    linear-gradient(90deg, rgba(7, 18, 28, .9), rgba(7, 18, 28, .62) 45%, rgba(7, 18, 28, .34) 100%),
    linear-gradient(180deg, rgba(7, 18, 28, .18), rgba(7, 18, 28, .6)) !important;
  content: "" !important;
  display: block !important;
  inset: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  z-index: 1 !important;
}

#servicios .awards-copy {
  align-self: end !important;
  grid-area: copy !important;
  position: relative !important;
  z-index: 2 !important;
}

#servicios .awards-copy h3 {
  color: #fff !important;
  max-width: 9ch !important;
}

#servicios .awards-copy p:not(.eyebrow) {
  color: rgba(255, 253, 249, .84) !important;
  max-width: 32ch !important;
}

#servicios .award-preview {
  background: var(--attica-blue) !important;
  inset: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
  z-index: 0 !important;
}

#servicios .award-preview::after {
  display: none !important;
}

#servicios .award-preview img {
  display: block !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
  opacity: .94 !important;
  transform: scale(1.04) !important;
  transition: opacity .2s ease, transform .9s ease !important;
  width: 100% !important;
}

#servicios .award-preview img.is-changing {
  opacity: .34 !important;
  transform: scale(1.075) !important;
}

#servicios .award-preview figcaption {
  display: none !important;
}

#servicios .award-list {
  align-self: end !important;
  display: grid !important;
  gap: 8px !important;
  grid-area: list !important;
  max-height: none !important;
  overflow: visible !important;
  position: relative !important;
  z-index: 2 !important;
}

#servicios .award-item {
  background: rgba(255, 253, 249, .12) !important;
  border: 1px solid rgba(255, 255, 255, .24) !important;
  color: #fff !important;
  min-height: 58px !important;
  padding: 12px 14px !important;
  transition: background .22s ease, border-color .22s ease, transform .22s ease !important;
}

#servicios .award-item.active,
#servicios .award-item:hover,
#servicios .award-item:focus-visible {
  background: rgba(255, 253, 249, .92) !important;
  border-color: rgba(255, 253, 249, .95) !important;
  color: var(--attica-blue) !important;
  transform: translateX(-4px) !important;
}

#servicios .award-item b {
  color: inherit !important;
  font-size: 15px !important;
}

#servicios .award-item small {
  color: rgba(255, 253, 249, .76) !important;
  font-size: 11px !important;
}

#servicios .award-item.active small,
#servicios .award-item:hover small,
#servicios .award-item:focus-visible small {
  color: rgba(37, 73, 97, .74) !important;
}

.bim-page .bim-3d-hero {
  min-height: calc(94vh - 94px) !important;
  padding-bottom: clamp(58px, 7vw, 96px) !important;
  padding-top: clamp(96px, 10vw, 138px) !important;
}



.bim-page .bim-scene-shade {
  background: linear-gradient(90deg, rgba(5, 15, 23, .92), rgba(5, 15, 23, .72) 38%, rgba(5, 15, 23, .24) 68%, rgba(5, 15, 23, .06)) !important;
}































@media (max-width: 980px) {
  #servicios .awards-band {
    grid-template-columns: 1fr !important;
    grid-template-areas: "copy" "list" !important;
    height: 520px !important;
  }

  #servicios .awards-copy {
    align-self: start !important;
  }
}

@media (max-width: 760px) {
  #servicios .awards-band,
  .landing-page .awards-band,
  .landing-page .service-grid > .awards-band {
    height: 520px !important;
    width: min(520px, 82vw) !important;
  }

  #servicios .award-list {
    align-self: end !important;
  }

  #servicios .award-item {
    min-height: 48px !important;
    padding: 9px 11px !important;
  }

  #servicios .award-item b {
    font-size: 13px !important;
  }

  #servicios .award-item small {
    font-size: 10px !important;
  }

  .bim-page .bim-3d-hero {
    min-height: 780px !important;
    padding-bottom: 34px !important;
    padding-top: 92px !important;
  }

  .bim-page .bim-hero-copy {
    max-width: 100% !important;
  }

  .bim-page .bim-hero-copy p:not(.eyebrow) {
    text-align: left !important;
  }

  

  

  
}





@media (max-width: 980px) {
  
}

@media (max-width: 760px) {
  
}

/* Remove the blue haze from the BIM header while preserving text contrast. */
.bim-page .bim-3d-hero {
  background: #f7f5ef !important;
}

.bim-page .bim-scene-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .72) 36%, rgba(0, 0, 0, .28) 58%, rgba(247, 245, 239, .06) 76%, rgba(247, 245, 239, .12)) !important;
}

/* Keep hover identification labels clear of the BIM control menu. */
@media (min-width: 981px) {
  
}

@media (max-width: 980px) {
  
}

/* BIM video-header experiment. Restore point: restore-points/20260710-before-bim-video-header. */
.bim-page .bim-3d-hero {
  background: #fffdf8 !important;
  color: var(--ink) !important;
}



.bim-page .bim-header-video {
  aspect-ratio: 9 / 16;
  height: min(98vh, 860px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 96%, transparent 100%);
  max-height: calc(100% - 18px);
  object-fit: cover;
  object-position: center;
  position: absolute;
  right: clamp(86px, 11vw, 172px);
  top: 50%;
  transform: translateY(-50%) scale(1.2);
  width: auto;
  z-index: 0;
}

.bim-page .bim-scene-shade {
  background:
    linear-gradient(90deg, rgba(255, 253, 248, .98), rgba(255, 253, 248, .96) 42%, rgba(255, 253, 248, .72) 58%, rgba(255, 253, 248, .18) 76%, rgba(255, 253, 248, 0) 100%) !important;
}

.bim-page .bim-hero-copy {
  max-width: 620px !important;
}

.bim-page .bim-hero-copy h1,
.bim-page .bim-hero-copy p:not(.eyebrow) {
  color: var(--ink) !important;
}

.bim-page .bim-hero-copy .eyebrow {
  color: var(--attica-rust) !important;
}

.bim-page .bim-hero-copy .button.secondary {
  border-color: rgba(37, 73, 97, .36) !important;
  color: var(--ink) !important;
}



.bim-video-annotations {
  inset: 0;
  pointer-events: none;
  position: absolute;
  --bim-note-left: clamp(590px, 49vw, 630px);
  z-index: 1;
}

.bim-video-note {
  animation: bimNoteIn 1.1s ease both, bimNotePulse 3.8s ease-in-out infinite;
  background: rgba(255, 253, 248, .54);
  color: rgba(37, 73, 97, .92);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  padding: 4px 7px 10px 7px;
  position: absolute;
  text-transform: uppercase;
  white-space: nowrap;
}

.bim-video-note::before,
.bim-video-note::after {
  content: "";
  position: absolute;
}

.bim-video-note::before {
  background: rgba(37, 73, 97, .34);
  bottom: 0;
  height: 1px;
  left: calc(100% + 12px);
  transform-origin: left center;
  width: 270px;
}

.bim-video-note::after {
  background: rgba(37, 73, 97, .72);
  border-radius: 50%;
  bottom: -2px;
  box-shadow: 0 0 0 6px rgba(37, 73, 97, .08);
  height: 5px;
  left: calc(100% + 282px);
  width: 5px;
}

.bim-video-note.note-01 {
  animation-delay: .18s, .18s;
  left: var(--bim-note-left);
  top: clamp(190px, 28vh, 250px);
}

.bim-video-note.note-02 {
  animation-delay: .42s, .42s;
  left: var(--bim-note-left);
  top: clamp(314px, 44vh, 388px);
}

.bim-video-note.note-02::before {
  width: 256px;
}

.bim-video-note.note-02::after {
  left: calc(100% + 268px);
}

.bim-video-note.note-03 {
  animation-delay: .68s, .68s;
  left: var(--bim-note-left);
  top: clamp(464px, 62vh, 540px);
}

.bim-video-note.note-03::before {
  width: 286px;
}

.bim-video-note.note-03::after {
  left: calc(100% + 298px);
}

@keyframes bimNoteIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bimNotePulse {
  0%, 100% {
    opacity: .66;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .bim-page .bim-header-video {
    height: min(78vh, 720px);
    opacity: .76;
    right: 2vw;
  }

  .bim-page .bim-scene-shade {
    background:
      linear-gradient(90deg, rgba(255, 253, 248, .98), rgba(255, 253, 248, .9) 56%, rgba(255, 253, 248, .26) 100%) !important;
  }
}

@media (max-width: 760px) {
  .bim-page .bim-header-video {
    height: 690px;
    opacity: .58;
    right: -10vw;
  }

  .bim-video-note {
    font-size: 9px;
    opacity: .62;
  }

  .bim-video-note::before {
    width: 96px;
  }

  .bim-video-note::after {
    right: 94px;
  }

  .bim-video-note.note-01 {
    left: 214px;
    right: auto;
    top: 150px;
  }

  .bim-video-note.note-02 {
    display: none;
  }

  .bim-video-note.note-03 {
    display: none;
  }

  .bim-page .bim-hero-copy {
    max-width: 94% !important;
  }
}

/* Keep architectural video notes above the header wash layer. */
.bim-video-annotations {
  z-index: 3 !important;
}

.bim-video-note {
  background: rgba(255, 253, 248, .78) !important;
  color: rgba(37, 73, 97, .98) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
}

.bim-video-note::before {
  background: rgba(37, 73, 97, .56) !important;
}

.bim-video-note::after {
  background: rgba(37, 73, 97, .9) !important;
}

/* Hallmark-safe 2026-07-11: coherent interaction and responsive refinement. */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--attica-blue);
  font-size: .82rem;
  line-height: 1.45;
}

.newsletter-form button:disabled {
  cursor: wait;
  opacity: .62;
}

.nav-toggle,
.carousel-control {
  min-width: 44px;
  min-height: 44px;
}

.carousel-dots button,
.mobile-project-dots button {
  position: relative;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
}

.carousel-dots button::after,
.mobile-project-dots button::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  opacity: .38;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.carousel-dots button.active::after,
.mobile-project-dots button.active::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.35);
}

.carousel-dots button:focus-visible,
.mobile-project-dots button:focus-visible {
  outline: 2px solid var(--attica-blue);
  outline-offset: -6px;
}

@media (max-width: 760px) {
  .landing-page .hero-copy > p:not(.eyebrow) {
    max-width: 34rem;
    font-size: clamp(.98rem, 4.1vw, 1.08rem);
    line-height: 1.48;
  }

  .landing-page .hero-actions {
    gap: 10px;
  }

  .landing-page .hero-actions .button {
    min-height: 50px;
  }

  .editorial-strip-compact {
    padding-block: clamp(42px, 11vw, 64px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-marquee,
  .bim-video-note,
  .carousel-slide,
  .project-card,
  .health-image,
  .health-principles article {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .bim-page .bim-header-video {
    display: none !important;
  }
}

/* Intrinsic HTML dimensions reserve space; rendered section media stays fluid. */
.landing-page .health-image img,
.landing-page .blog-grid img {
  height: auto;
}

@media (min-width: 761px) and (max-width: 1024px) {
  .landing-page .blog-grid img {
    height: 100%;
  }
}

.service-link,
.hero-scroll,
.editorial-summary a,
.portfolio-more a,
.contact-details a,
footer > a {
  align-items: center;
  display: inline-flex;
  min-height: 44px;
}

.service-link:focus-visible,
.hero-scroll:focus-visible,
.editorial-summary a:focus-visible,
.portfolio-more a:focus-visible,
.contact-details a:focus-visible,
footer > a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* Final content-led rhythm: sections grow from content, not viewport templates. */
.nav-menu > a,
.language-switch .lang-button,
.brand {
  align-items: center;
  display: inline-flex;
  min-height: 44px;
}

.nav-menu > a,
.language-switch .lang-button {
  justify-content: center;
  min-width: 44px;
}

@media (min-width: 1025px) {
  .landing-page .experience-cues {
    min-height: 760px !important;
    padding-top: clamp(128px, 10vw, 170px) !important;
    padding-bottom: clamp(84px, 7vw, 110px) !important;
  }

  .landing-page .experience-copy,
  .landing-page .experience-grid article {
    min-height: clamp(620px, 46vw, 720px) !important;
  }

  .landing-page .experience-grid article:hover {
    padding-top: clamp(330px, 25vw, 390px) !important;
  }

  .landing-page .experience-grid article:hover span {
    font-size: clamp(1.35rem, 1.8vw, 1.75rem);
    line-height: 1;
    margin-bottom: 12px;
    margin-top: auto;
  }

  .landing-page .health,
  .landing-page .portfolio,
  .landing-page .blog,
  .landing-page .contact,
  .bim-page .bim-cta {
    height: auto !important;
    min-height: 0 !important;
    padding-block: clamp(72px, 7vw, 100px) !important;
  }
}

/* Tighter editorial rhythm, while preserving breathing room inside content. */
@media (min-width: 761px) {
  .landing-page .services,
  .landing-page .health,
  .landing-page .portfolio,
  .landing-page .blog,
  .landing-page .contact,
  .bim-page .bim-benefits,
  .bim-page .bim-cta,
  .portfolio-page .portfolio-projects {
    padding-block: clamp(58px, 5.5vw, 82px) !important;
  }
}

@media (min-width: 1025px) {
  .landing-page .experience-cues {
    min-height: 0 !important;
    padding-top: clamp(48px, 4vw, 64px) !important;
    padding-bottom: clamp(48px, 4vw, 64px) !important;
  }
}

@media (max-width: 760px) {
  .landing-page .services,
  .landing-page .health,
  .landing-page .portfolio,
  .landing-page .blog,
  .landing-page .contact,
  .bim-page .bim-benefits,
  .bim-page .bim-cta,
  .portfolio-page .portfolio-projects {
    padding-block: clamp(44px, 12vw, 60px) !important;
  }
}

/* Health principles work as a calm, accessible visual selector. */
.landing-page .health-principles::before {
  display: none !important;
}

.landing-page .health-principles article[data-health-image] {
  cursor: pointer;
  opacity: .62;
  transition: background-color .3s ease, border-color .3s ease, color .3s ease, opacity .3s ease, transform .3s ease;
}

.landing-page .health-principles article[data-health-image].active,
.landing-page .health-principles article[data-health-image]:hover,
.landing-page .health-principles article[data-health-image]:focus-visible {
  opacity: 1;
  transform: translateX(8px);
}

.landing-page .health-principles article[data-health-image].active {
  border-color: var(--attica-blue);
}

.landing-page .health-principles article[data-health-image]:focus-visible {
  outline: 2px solid var(--attica-blue);
  outline-offset: 4px;
}

.landing-page .health-image img {
  transition: opacity .24s ease, transform .55s cubic-bezier(.2,.7,.2,1);
}

.landing-page .health-image img.is-changing {
  opacity: .2;
  transform: scale(1.025);
}

@media (max-width: 760px) {
  .landing-page .health-principles article[data-health-image].active,
  .landing-page .health-principles article[data-health-image]:hover,
  .landing-page .health-principles article[data-health-image]:focus-visible {
    transform: translateY(-3px);
  }
}

@media (max-width: 1024px) {
  .portfolio-page .portfolio-signature-strip,
  .bim-page .editorial-strip-bim-route {
    height: auto !important;
    max-height: 290px;
    min-height: 0 !important;
    overflow: hidden;
  }

  .portfolio-page .portfolio-signature-strip .editorial-marquee,
  .bim-page .editorial-strip-bim-route .editorial-marquee {
    min-height: 0 !important;
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .landing-page .portfolio {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .landing-page .portfolio .section-heading,
  .landing-page .portfolio .section-heading h2 {
    box-sizing: border-box;
    max-width: calc(100vw - 40px);
    min-width: 0;
    width: calc(100vw - 40px);
  }

  .portfolio-page .portfolio-signature-strip {
    padding-block: 22px !important;
  }

  .portfolio-page .portfolio-signature-strip .editorial-summary {
    gap: 10px;
    padding-inline: 20px;
  }

  .bim-page .editorial-strip-bim-route {
    display: none !important;
  }
}

/* Launch hardening: fluid sections and a touch-first version of "Antes de construir". */
.consent-check {
  align-items: flex-start;
  display: grid !important;
  font-size: .78rem;
  gap: 10px;
  grid-template-columns: 20px minmax(0, 1fr);
  line-height: 1.45;
}

.consent-check input {
  accent-color: var(--attica-blue, #254961);
  height: 20px;
  margin: 1px 0 0;
  width: 20px;
}

.consent-check a,
.form-legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-check a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  html {
    scroll-behavior: auto;
  }

  .landing-page main > section:not(.editorial-strip),
  .portfolio-page main > section:not(.editorial-strip),
  .bim-page main > section:not(.editorial-strip) {
    contain-intrinsic-size: none;
    content-visibility: visible;
  }

  .landing-page main {
    min-width: 0;
    overflow-x: clip;
    width: 100%;
  }

  .landing-page main > section,
  .landing-page .experience-cues,
  .landing-page .portfolio,
  .landing-page .services,
  .landing-page .health,
  .landing-page .blog,
  .landing-page .contact {
    box-sizing: border-box;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .landing-page .experience-cues {
    display: grid !important;
    gap: 16px;
    grid-template-columns: 1fr;
    overflow: hidden;
    padding: clamp(48px, 8vw, 72px) clamp(24px, 5vw, 48px) !important;
  }

  .landing-page .experience-copy {
    min-height: clamp(460px, 66vw, 620px) !important;
    width: 100% !important;
  }

  .landing-page .experience-copy:hover {
    width: 100% !important;
  }

  .landing-page .experience-grid {
    display: grid;
    gap: 16px;
    grid-auto-columns: minmax(300px, 72vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 10px;
    scroll-snap-type: inline mandatory;
    scrollbar-color: var(--terra) transparent;
  }

  .landing-page .experience-grid article,
  .landing-page .experience-grid article:hover {
    background: var(--blueprint);
    border-color: var(--blueprint);
    color: var(--chalk);
    min-height: clamp(480px, 66vw, 560px) !important;
    padding: clamp(270px, 36vw, 320px) 24px 28px !important;
    scroll-snap-align: start;
    transform: none;
  }

  .landing-page .experience-grid article::before {
    transform: translateY(0);
  }

  .landing-page .experience-grid article::after {
    transform: scaleX(1);
  }

  .landing-page .experience-grid article span,
  .landing-page .experience-grid article:hover span {
    color: #e9b691;
    font-size: clamp(1.28rem, 2.8vw, 1.65rem);
    line-height: 1;
    margin: auto 0 10px;
  }

  .landing-page .experience-grid article p,
  .landing-page .experience-grid article:hover p {
    color: rgba(255, 253, 249, .82);
  }

  .bim-page .bim-cta,
  .bim-page .bim-cta > * {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
  }
}

@media (max-width: 860px) {
  .landing-page main {
    display: block;
  }

  .landing-page main > section {
    order: initial !important;
  }

  .nav {
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
  }

  .nav-menu {
    box-sizing: border-box;
    max-width: calc(100vw - 40px);
    right: 20px;
    width: min(300px, calc(100vw - 40px));
  }
}

@media (max-width: 760px) {
  .landing-page .experience-cues {
    padding-inline: 20px !important;
  }

  .landing-page .experience-copy {
    min-height: clamp(500px, 140vw, 620px) !important;
  }

  .landing-page .experience-grid {
    grid-auto-columns: calc(100vw - 56px);
  }

  .landing-page .experience-grid article,
  .landing-page .experience-grid article:hover {
    min-height: 500px !important;
    padding-top: 280px !important;
  }
}

/* Privacy policy uses the existing editorial system without competing with project pages. */
.privacy-page {
  background: var(--paper);
}

.privacy-header {
  background: rgba(247, 243, 238, .96);
  border-bottom: 1px solid var(--stone);
}

.privacy-header .nav {
  position: relative;
}

.privacy-back {
  align-items: center;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 750;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.privacy-main {
  margin: 0 auto;
  max-width: 980px;
  padding: clamp(64px, 9vw, 116px) 24px;
}

.privacy-intro {
  border-bottom: 1px solid var(--stone);
  margin-bottom: clamp(44px, 7vw, 76px);
  padding-bottom: clamp(36px, 5vw, 56px);
}

.privacy-intro h1 {
  font-size: clamp(2.35rem, 6vw, 5.5rem);
  line-height: .96;
  max-width: 850px;
}

.privacy-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 720px;
}

.privacy-updated {
  font-size: .86rem !important;
  font-weight: 700;
}

.privacy-content {
  display: grid;
  gap: 0;
}

.privacy-content section {
  border-bottom: 1px solid var(--stone);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.5fr);
  padding: 36px 0;
}

.privacy-content h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 500;
  grid-row: 1 / span 4;
  margin: 0;
}

.privacy-content p,
.privacy-content ul {
  color: var(--muted);
  grid-column: 2;
  margin: 0;
}

.privacy-content li + li {
  margin-top: 8px;
}

.privacy-content a {
  color: var(--blueprint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Keep BIM callouts attached to the actual video frame on wide displays. */
@media (min-width: 1360px) {
  .bim-page .bim-video-annotations {
    aspect-ratio: 9 / 16;
    height: min(98vh, 860px);
    inset: auto clamp(86px, 11vw, 172px) auto auto;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
  }

  .bim-page .bim-video-note {
    left: -170px;
  }

  .bim-page .bim-video-note::before {
    left: calc(100% + 10px);
    width: 34px;
  }

  .bim-page .bim-video-note::after {
    left: calc(100% + 44px);
  }

  .bim-page .bim-video-note.note-01 {
    left: -170px;
    top: 25%;
  }

  .bim-page .bim-video-note.note-02 {
    left: -170px;
    top: 47%;
  }

  .bim-page .bim-video-note.note-02::before {
    width: 34px;
  }

  .bim-page .bim-video-note.note-02::after {
    left: calc(100% + 44px);
  }

  .bim-page .bim-video-note.note-03 {
    left: -170px;
    top: 69%;
  }

  .bim-page .bim-video-note.note-03::before {
    width: 34px;
  }

  .bim-page .bim-video-note.note-03::after {
    left: calc(100% + 44px);
  }
}

@media (min-width: 1360px) and (max-width: 1599px) {
  .bim-page .bim-video-note,
  .bim-page .bim-video-note.note-01,
  .bim-page .bim-video-note.note-02,
  .bim-page .bim-video-note.note-03 {
    background: rgba(255, 253, 248, .82) !important;
    left: 20px;
  }

  .bim-page .bim-video-note::before,
  .bim-page .bim-video-note.note-02::before,
  .bim-page .bim-video-note.note-03::before {
    width: 54px;
  }

  .bim-page .bim-video-note::after,
  .bim-page .bim-video-note.note-02::after,
  .bim-page .bim-video-note.note-03::after {
    left: calc(100% + 64px);
  }
}

@media (min-width: 981px) and (max-width: 1359px) {
  .bim-page .bim-video-annotations {
    display: none;
  }
}

@media (max-width: 700px) {
  .privacy-main {
    padding-inline: 20px;
  }

  .privacy-content section {
    grid-template-columns: 1fr;
    padding: 30px 0;
  }

  .privacy-content h2,
  .privacy-content p,
  .privacy-content ul {
    grid-column: 1;
    grid-row: auto;
  }
}
