:root {
  --ink: #111820;
  --ink-soft: #1f2b36;
  --orange: #f5a400;
  --orange-light: #ffc33f;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, .72);
  --line: rgba(255, 255, 255, .14);
  --panel: rgba(15, 22, 29, .74);
  --shadow: 0 30px 90px rgba(0, 0, 0, .34);
}

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

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--ink);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--white);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

.construction-page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(28px, 4vw, 64px) clamp(20px, 5vw, 88px) 24px;
}

.construction-page::before {
  position: absolute;
  z-index: -4;
  inset: -4%;
  content: "";
  background: url("../img/construccion/fondo-bodega.webp") center / cover no-repeat;
  animation: background-breathe 24s ease-in-out infinite alternate;
  transform: scale(1.03);
}

.construction-page::after {
  position: absolute;
  z-index: -3;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(10, 16, 22, .96) 0%, rgba(10, 16, 22, .90) 37%, rgba(10, 16, 22, .62) 70%, rgba(10, 16, 22, .72) 100%),
    linear-gradient(0deg, rgba(245, 164, 0, .34), transparent 44%);
}

.ambient {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(20px);
}

.ambient-one {
  top: -12vw;
  right: -9vw;
  width: min(42vw, 680px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(245, 164, 0, .20), transparent 68%);
  animation: ambient-float 11s ease-in-out infinite;
}

.ambient-two {
  bottom: -22vw;
  left: 23%;
  width: min(47vw, 760px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 190, 49, .18), transparent 68%);
  animation: ambient-float 14s ease-in-out -5s infinite reverse;
}

.construction-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(450px, .97fr);
  gap: clamp(42px, 7vw, 124px);
  align-items: center;
  width: min(1440px, 100%);
  margin: auto;
}

.construction-copy {
  max-width: 680px;
  padding: 18px 0;
}

.company-name {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-bottom: clamp(28px, 5vh, 52px);
  color: rgba(255, 255, 255, .94);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.company-name-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 13px;
  color: var(--ink);
  background: linear-gradient(145deg, var(--orange-light), var(--orange));
  box-shadow: 0 13px 32px rgba(245, 164, 0, .25);
  font-size: 15px;
  font-weight: 950;
  letter-spacing: -.04em;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(255, 255, 255, .84);
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
  backdrop-filter: blur(16px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-light);
  box-shadow: 0 0 0 5px rgba(255, 195, 63, .12);
}

.status-dot::after {
  position: absolute;
  inset: -5px;
  content: "";
  border: 1px solid rgba(255, 195, 63, .60);
  border-radius: inherit;
  animation: status-pulse 2.2s ease-out infinite;
}

h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 6vw, 92px);
  font-weight: 900;
  letter-spacing: -.064em;
  line-height: .93;
  text-wrap: balance;
}

h1 span {
  display: block;
  margin-top: .10em;
  color: var(--orange-light);
  text-shadow: 0 14px 42px rgba(245, 164, 0, .18);
}

.construction-lead {
  max-width: 620px;
  margin: 28px 0 32px;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.65;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  min-width: min(100%, 370px);
  gap: 14px;
  padding: 12px 15px 12px 13px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #24d366, #0ea850);
  box-shadow: 0 20px 48px rgba(15, 168, 80, .25), inset 0 1px 0 rgba(255, 255, 255, .20);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.whatsapp-button:hover,
.whatsapp-button:focus-visible {
  color: #fff;
  filter: saturate(1.08);
  outline: none;
  transform: translateY(-3px);
  box-shadow: 0 25px 58px rgba(15, 168, 80, .34), inset 0 1px 0 rgba(255, 255, 255, .24);
}

.whatsapp-button:focus-visible {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .25), 0 25px 58px rgba(15, 168, 80, .34);
}

.whatsapp-icon {
  position: relative;
  display: grid;
  flex: 0 0 51px;
  width: 51px;
  height: 51px;
  place-items: center;
  border-radius: 17px;
  background: rgba(255, 255, 255, .15);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13);
}

.whatsapp-icon::before {
  width: 23px;
  height: 23px;
  content: "";
  border: 2px solid #fff;
  border-radius: 50%;
}

.whatsapp-icon::after {
  position: absolute;
  bottom: 13px;
  left: 14px;
  width: 8px;
  height: 8px;
  content: "";
  border-bottom: 2px solid #fff;
  transform: rotate(-36deg) skew(-18deg);
}

.whatsapp-icon span {
  position: absolute;
  width: 8px;
  height: 13px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-radius: 0 0 7px 0;
  transform: rotate(-35deg);
}

.whatsapp-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.whatsapp-copy small {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, .76);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.whatsapp-copy strong {
  font-size: 16px;
  font-weight: 850;
  letter-spacing: -.015em;
}

.whatsapp-arrow {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, .12);
  font-size: 21px;
  transition: transform .25s ease;
}

.whatsapp-button:hover .whatsapp-arrow {
  transform: translateX(3px);
}

.contact-number {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, .56);
  font-size: 13px;
}

.contact-number strong {
  color: rgba(255, 255, 255, .86);
  font-weight: 800;
}

.brands-panel {
  position: relative;
  width: min(100%, 610px);
  justify-self: end;
  padding: clamp(26px, 3.4vw, 46px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(25, 34, 43, .84), rgba(12, 18, 24, .72));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(24px) saturate(1.2);
}

.brands-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, .06), transparent 37%, rgba(245, 164, 0, .05));
  pointer-events: none;
}

.brands-header,
.brand-grid,
.building-note {
  position: relative;
  z-index: 1;
}

.brands-header p {
  margin: 0 0 8px;
  color: var(--orange-light);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.brands-header h2 {
  max-width: 430px;
  margin: 0 0 26px;
  color: #fff;
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 850;
  letter-spacing: -.038em;
  line-height: 1.08;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brand-card {
  --c1: #ffbf48;
  --c2: #be4a1d;
  position: relative;
  display: grid;
  grid-column: span 2;
  min-height: 180px;
  place-items: center;
  padding: 25px 20px 35px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 23px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .16);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.brand-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .9) 44%, transparent 67%);
  opacity: 0;
  transform: translateX(-100%);
}

.brand-card.is-loaded {
  animation: brand-float 6.6s ease-in-out var(--delay) infinite;
}

.brand-card.is-loaded::before {
  animation: logo-shine 7s ease-in-out calc(var(--delay) + 1.8s) infinite;
}

.brand-card:hover {
  z-index: 2;
  border-color: rgba(245, 164, 0, .35);
  box-shadow: 0 23px 55px rgba(0, 0, 0, .23);
  transform: translateY(-4px) scale(1.012);
}

.brand-card-gs {
  --c1: #ffbf48;
  --c2: #d57100;
}

.brand-card-brava {
  --c1: #ff7a24;
  --c2: #eb3900;
}

.brand-card-tektiles {
  --c1: #7995dc;
  --c2: #c92222;
}

.brand-card-pure {
  --c1: #70aa43;
  --c2: #253239;
}

.brand-card-golden {
  --c1: #ffc331;
  --c2: #211f20;
}

.brand-card-cristal {
  --c1: #8ac53f;
  --c2: #20251f;
}

.brand-logo {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 84%;
  max-height: 105px;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 12px 18px rgba(15, 23, 32, .10));
  transform: translateY(9px) scale(.94);
  transition: opacity .55s ease, transform .65s cubic-bezier(.2, .78, .2, 1);
}

.brand-logo-gs {
  max-width: 112px;
  max-height: 112px;
}

.brand-logo-brava {
  max-width: 92px;
  max-height: 112px;
}

.brand-logo-wide {
  max-width: 91%;
  max-height: 100px;
}

.brand-logo-golden {
  max-width: 96%;
  max-height: 92px;
}

.brand-logo-cristal {
  max-width: 92%;
  max-height: 86px;
}

.brand-card.is-loaded .brand-logo,
.no-js .brand-logo {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.brand-label {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  color: rgba(17, 24, 32, .56);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .10em;
  text-align: center;
  text-transform: uppercase;
}

.building-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 23px 2px 0;
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  font-weight: 650;
}

.building-note span {
  position: relative;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}

.building-note span::after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--orange-light), transparent);
  animation: progress-sweep 2.4s ease-in-out infinite;
  transform: translateX(-100%);
}

.construction-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 24px;
  color: rgba(255, 255, 255, .46);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-separator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
}

/* From Uiverse.io by david_7366, adapted to the six brand palettes. */
.loader {
  --t: 2s;
  --size: .74;
  position: absolute;
  z-index: 2;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  box-shadow: 0 0 25px 0 color-mix(in srgb, var(--c1) 50%, transparent), 0 20px 50px 0 color-mix(in srgb, var(--c2) 50%, transparent);
  opacity: 1;
  overflow: hidden;
  transform: scale(var(--size));
  transition: opacity .35s ease, transform .4s ease;
  animation: colorize calc(var(--t) * 3) ease-in-out infinite;
}

.loader::before {
  position: absolute;
  inset: 0;
  content: "";
  border-top: 1px solid var(--c1);
  border-bottom: 1px solid var(--c2);
  border-radius: 50%;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c1) 25%, transparent), color-mix(in srgb, var(--c2) 50%, transparent));
  box-shadow: inset 0 10px 10px 0 color-mix(in srgb, var(--c1) 50%, transparent), inset 0 -10px 10px 0 color-mix(in srgb, var(--c2) 50%, transparent);
}

.loader-inner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  filter: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"><filter id="g"><feGaussianBlur in="SourceGraphic" stdDeviation="5"/><feColorMatrix values="1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 22 -9"/></filter></svg>%23g');
  -webkit-filter: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"><filter id="g"><feGaussianBlur in="SourceGraphic" stdDeviation="5"/><feColorMatrix values="1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 22 -9"/></filter></svg>%23g');
}

.blob {
  position: absolute;
  border-radius: 42%;
  background: linear-gradient(180deg, var(--c1) 30%, var(--c2) 70%);
}

.b1 {
  top: 12px;
  left: 28px;
  width: 44px;
  height: 44px;
  transform-origin: 50% 130%;
  animation: spin var(--t) linear infinite reverse;
}

.b2 {
  top: 18px;
  left: 30px;
  width: 40px;
  height: 40px;
  transform-origin: 50% -30%;
  animation: spin var(--t) linear infinite;
  animation-delay: calc(var(--t) / -3);
}

.b3 {
  top: 28px;
  left: 35px;
  width: 30px;
  height: 30px;
  transform-origin: -30% -10%;
  animation: spin var(--t) linear infinite reverse;
}

.b4 {
  top: 30px;
  left: 36px;
  width: 28px;
  height: 28px;
  transform-origin: -30% -10%;
  animation: spin var(--t) linear infinite reverse;
  animation-delay: calc(var(--t) / -2);
}

.b5 {
  top: 28px;
  left: 35px;
  width: 30px;
  height: 30px;
  transform-origin: 130% -10%;
  animation: spin var(--t) linear infinite;
}

.brand-card.is-loaded .loader,
.brand-card.is-error .loader,
.no-js .loader {
  opacity: 0;
  pointer-events: none;
  transform: scale(.5);
}

.brand-card.is-error .brand-logo {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes colorize {
  0%, 100% { filter: hue-rotate(0deg); }
  20% { filter: hue-rotate(-14deg); }
  45% { filter: hue-rotate(-28deg); }
  70% { filter: hue-rotate(-10deg); }
}

@keyframes background-breathe {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.09) translate3d(-.6%, -.4%, 0); }
}

@keyframes ambient-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-24px, 28px, 0) scale(1.08); }
}

@keyframes status-pulse {
  0% { opacity: .85; transform: scale(.65); }
  70%, 100% { opacity: 0; transform: scale(1.45); }
}

@keyframes brand-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -4px, 0); }
}

@keyframes logo-shine {
  0%, 24%, 100% { opacity: 0; transform: translateX(-100%); }
  36% { opacity: .55; }
  52% { opacity: 0; transform: translateX(100%); }
}

@keyframes progress-sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@media (max-width: 1180px) {
  .construction-page {
    padding-inline: clamp(22px, 4vw, 54px);
  }

  .construction-shell {
    grid-template-columns: minmax(0, 1fr) minmax(410px, .86fr);
    gap: clamp(34px, 5vw, 68px);
  }

  .brands-panel {
    padding: 30px;
  }

  .brand-card {
    min-height: 164px;
  }
}

@media (max-width: 920px) {
  .construction-page {
    overflow-y: auto;
  }

  .construction-page::after {
    background:
      linear-gradient(180deg, rgba(10, 16, 22, .94) 0%, rgba(10, 16, 22, .83) 52%, rgba(10, 16, 22, .80) 100%),
      linear-gradient(0deg, rgba(245, 164, 0, .30), transparent 48%);
  }

  .construction-shell {
    grid-template-columns: 1fr;
    width: min(720px, 100%);
    gap: 50px;
    padding: 34px 0 20px;
  }

  .construction-copy {
    max-width: 680px;
  }

  .brands-panel {
    width: 100%;
    justify-self: stretch;
  }

  .company-name {
    margin-bottom: 34px;
  }
}

@media (max-width: 580px) {
  .construction-page {
    padding: 22px 16px 18px;
  }

  .construction-shell {
    gap: 38px;
    padding-top: 18px;
  }

  .company-name {
    margin-bottom: 28px;
    font-size: 12px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 64px);
  }

  .construction-lead {
    margin: 23px 0 27px;
    font-size: 16px;
  }

  .whatsapp-button {
    width: 100%;
    min-width: 0;
  }

  .whatsapp-copy strong {
    font-size: 15px;
  }

  .brands-panel {
    padding: 24px 18px 22px;
    border-radius: 27px;
  }

  .brand-grid {
    gap: 10px;
  }

  .brand-card {
    min-height: 142px;
    padding: 21px 12px 31px;
    border-radius: 19px;
  }

  .brand-logo {
    max-height: 82px;
  }

  .brand-logo-gs,
  .brand-logo-brava {
    max-height: 88px;
  }

  .brand-logo-gs {
    max-width: 88px;
  }

  .brand-logo-brava {
    max-width: 72px;
  }

  .brand-label {
    bottom: 10px;
    font-size: 8px;
  }

  .loader {
    --size: .58;
  }

  .construction-footer {
    flex-wrap: wrap;
    margin-top: 18px;
    line-height: 1.5;
  }
}

@media (max-width: 370px) {
  .status-badge {
    padding-inline: 11px;
    font-size: 10px;
  }

  .whatsapp-icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }

  .whatsapp-arrow {
    display: none;
  }

  .brand-card {
    min-height: 132px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@supports not (color: color-mix(in srgb, white, black)) {
  .loader {
    box-shadow: 0 0 25px rgba(255, 191, 72, .45), 0 20px 50px rgba(190, 74, 29, .40);
  }

  .loader::before {
    background: linear-gradient(180deg, rgba(255, 191, 72, .30), rgba(190, 74, 29, .45));
    box-shadow: inset 0 10px 10px rgba(255, 191, 72, .42), inset 0 -10px 10px rgba(190, 74, 29, .40);
  }
}
