:root {
  --black: #050505;
  --black-soft: #0b0b0c;
  --white: #f5f3f2;
  --muted: #8c8988;
  --red: #f22f36;
  --red-dark: #9d171d;
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--black);
  color-scheme: dark;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, #100708 0%, var(--black) 42%),
    var(--black);
  color: var(--white);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.landing {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 500px;
  overflow: hidden;
}

.ambient-light {
  position: absolute;
  z-index: -2;
  top: 46%;
  left: 50%;
  width: min(70vw, 900px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(242, 47, 54, 0.025);
  filter: blur(90px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: clamp(1rem, 3vh, 2.25rem) 1.5rem 0;
}

.brand {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(220px, 34vh, 390px);
  max-width: 68vw;
  aspect-ratio: 2000 / 1946;
}

.brand__glow {
  position: absolute;
  z-index: -1;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  background: rgba(242, 47, 54, 0.17);
  filter: blur(clamp(30px, 5vw, 65px));
  opacity: 0;
  transform: scale(0.7);
}

.brand__reveal {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  filter: brightness(0.2) blur(5px);
  transform: scale(0.985);
}

.brand__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.brand__reflection {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  filter: brightness(2.15) saturate(0.46) contrast(1.12);
  clip-path: inset(0 0 18% 0);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 0.04) 14%,
    rgba(0, 0, 0, 0.16) 28%,
    rgba(0, 0, 0, 0.72) 45%,
    #000 49%,
    #000 50%,
    #000 51%,
    rgba(0, 0, 0, 0.72) 55%,
    rgba(0, 0, 0, 0.16) 72%,
    rgba(0, 0, 0, 0.04) 86%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 0.04) 14%,
    rgba(0, 0, 0, 0.16) 28%,
    rgba(0, 0, 0, 0.72) 45%,
    #000 49%,
    #000 50%,
    #000 51%,
    rgba(0, 0, 0, 0.72) 55%,
    rgba(0, 0, 0, 0.16) 72%,
    rgba(0, 0, 0, 0.04) 86%,
    transparent
  );
  -webkit-mask-position: -45% 0;
  mask-position: -45% 0;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 29% 100%;
  mask-size: 29% 100%;
  mix-blend-mode: screen;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.is-ready .brand__reveal {
  animation:
    reveal-brand 1.85s var(--ease-luxury) 0.18s forwards,
    breathe 7s ease-in-out 2.5s infinite;
}

.is-ready .brand__reflection--initial {
  animation: light-sweep 1.65s var(--ease-luxury) 0.28s forwards;
}

.is-ready .brand__reflection--recurring {
  animation: recurring-light-sweep 6s ease-in-out 2.5s infinite;
}

.is-ready .brand__glow {
  animation:
    reveal-glow 2s var(--ease-luxury) 0.42s forwards,
    glow-breathe 7s ease-in-out 2.5s infinite;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: clamp(0.6rem, 1.7vh, 1.4rem);
}

.contact__item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 155px;
  opacity: 0;
  color: #d4d1d0;
  font-size: clamp(0.78rem, 1.2vw, 0.9rem);
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.045em;
  transform: translateY(10px);
}

.contact__phone {
  align-items: flex-end;
}

.contact__address {
  align-items: flex-start;
}

.contact__label {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact__separator {
  width: 1px;
  height: 30px;
  margin: 0 clamp(1.1rem, 3vw, 2.4rem);
  opacity: 0;
  background: linear-gradient(transparent, rgba(242, 47, 54, 0.55), transparent);
  transform: scaleY(0);
}

.contact__item:hover {
  color: var(--white);
}

.is-ready .contact__phone {
  animation: content-in 0.9s var(--ease-luxury) 1.95s forwards;
}

.is-ready .contact__separator {
  animation: separator-in 0.8s var(--ease-luxury) 2.18s forwards;
}

.is-ready .contact__address {
  animation: content-in 0.9s var(--ease-luxury) 2.38s forwards;
}

.whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-height: 47px;
  margin-top: clamp(1rem, 2.2vh, 1.65rem);
  padding: 0.7rem 1rem 0.7rem 1.15rem;
  border: 1px solid rgba(242, 47, 54, 0.48);
  border-radius: 999px;
  outline: 1px solid transparent;
  background: linear-gradient(135deg, #121213, #090909);
  box-shadow: 0 10px 38px rgba(0, 0, 0, 0.42);
  opacity: 0;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateY(12px);
  transition:
    border-color 0.4s ease,
    background-color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.4s var(--ease-luxury);
}

.is-ready .whatsapp {
  animation: content-in 0.95s var(--ease-luxury) 2.9s forwards;
}

.whatsapp:hover {
  border-color: rgba(242, 47, 54, 0.92);
  box-shadow:
    0 12px 44px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(242, 47, 54, 0.11);
  transform: translateY(-2px);
}

.whatsapp:focus-visible,
.contact__phone:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 5px;
}

.whatsapp__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.whatsapp__arrow {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-left: 0.15rem;
  border-radius: 50%;
  background: var(--red-dark);
  color: white;
  font-size: 0.78rem;
  transition: background-color 0.35s ease;
}

.whatsapp:hover .whatsapp__arrow {
  background: var(--red);
}

.footer {
  padding: 0 1rem clamp(1rem, 3vh, 2rem);
  opacity: 0;
  text-align: center;
}

.footer p {
  color: #696666;
  font-size: clamp(0.58rem, 1vw, 0.68rem);
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.is-ready .footer {
  animation: footer-in 1.2s var(--ease-luxury) 3.5s forwards;
}

@keyframes reveal-brand {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    filter: brightness(0.2) blur(5px);
    transform: scale(0.985);
  }
  45% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    filter: brightness(1) blur(0);
    transform: scale(1);
  }
}

@keyframes light-sweep {
  0% {
    -webkit-mask-position: -45% 0;
    mask-position: -45% 0;
    opacity: 0;
  }
  20%,
  68% {
    opacity: 0.64;
  }
  100% {
    -webkit-mask-position: 145% 0;
    mask-position: 145% 0;
    opacity: 0;
  }
}

@keyframes recurring-light-sweep {
  0% {
    -webkit-mask-position: -45% 0;
    mask-position: -45% 0;
    opacity: 0;
  }
  5% {
    opacity: 0;
  }
  14% {
    opacity: 0.28;
  }
  31% {
    -webkit-mask-position: 145% 0;
    mask-position: 145% 0;
    opacity: 0;
  }
  100% {
    -webkit-mask-position: 145% 0;
    mask-position: 145% 0;
    opacity: 0;
  }
}

@keyframes reveal-glow {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes breathe {
  0%,
  100% {
    filter: brightness(1) drop-shadow(0 0 0 rgba(242, 47, 54, 0));
  }
  50% {
    filter: brightness(1.025) drop-shadow(0 0 5px rgba(242, 47, 54, 0.08));
  }
}

@keyframes glow-breathe {
  0%,
  100% {
    opacity: 0.78;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.96;
    transform: scale(1.04);
  }
}

@keyframes content-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes separator-in {
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes footer-in {
  to {
    opacity: 1;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-inline: 1.1rem;
  }

  .brand {
    width: clamp(215px, 37vh, 310px);
    max-width: 76vw;
  }

  .contact {
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.65rem;
    text-align: center;
  }

  .contact__item {
    align-items: center;
    min-width: 0;
  }

  .contact__separator {
    width: 54px;
    height: 1px;
    margin: 0;
    background: linear-gradient(90deg, transparent, rgba(242, 47, 54, 0.55), transparent);
    transform: scaleX(0);
  }

  .is-ready .contact__separator {
    animation-name: separator-mobile-in;
  }

  .whatsapp {
    margin-top: clamp(0.9rem, 2vh, 1.25rem);
  }

  @keyframes separator-mobile-in {
    to {
      opacity: 1;
      transform: scaleX(1);
    }
  }
}

@media (max-height: 670px) {
  .brand {
    width: clamp(185px, 34vh, 235px);
  }

  .contact {
    margin-top: 0.3rem;
  }

  .whatsapp {
    min-height: 42px;
    margin-top: 0.7rem;
    padding-block: 0.55rem;
  }

  .footer {
    padding-bottom: 0.7rem;
  }
}

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

  .brand__reflection {
    display: none;
  }
}
