@font-face { font-family: "Manrope"; src: url("./manrope-latin.woff2") format("woff2"); font-style: normal; font-weight: 200 800; font-display: swap; }

:root {
  color-scheme: dark;
  --background: #030405;
  --blue: #00aeef;
  --blue-light: #8adfff;
  --cyan: #00aeef;
  --text: #f5f7f8;
  --muted: #9ba9b0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--background); }
body {
  min-height: 100svh;
  padding: max(26px, env(safe-area-inset-top)) 22px max(26px, env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--background);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 18% 18%, #00aeef14, transparent 43%), radial-gradient(ellipse at 86% 77%, #00aeef0d, transparent 44%);
  animation: atmosphere 18s ease-in-out infinite alternate;
}
body::after {
  content: "";
  position: fixed;
  width: min(105vw, 880px);
  aspect-ratio: 1;
  left: 50%;
  top: 24%;
  border: 1px solid #00aeef12;
  border-right-color: #00aeef2b;
  border-radius: 50%;
  transform: translateX(-50%);
  animation: background-orbit 70s linear infinite;
  pointer-events: none;
}
.wrap { position: relative; z-index: 1; width: 100%; max-width: 440px; text-align: center; }
.page-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.625rem; font-weight: 600; letter-spacing: 1.4px; color: var(--muted); }
.brand-mark { position: relative; display: grid; place-items: center; width: 186px; height: 186px; margin: 15px auto 9px; isolation: isolate; }
.brand-mark::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(ellipse, #00aeef1c, transparent 67%); filter: blur(12px); animation: halo 9s ease-in-out infinite alternate; pointer-events: none; }
.brand-mark::after { content: ""; position: absolute; bottom: 1px; width: 90px; height: 8px; border-radius: 50%; background: #00aeef26; filter: blur(7px); animation: shadow 7s ease-in-out infinite; pointer-events: none; }
.logo-panel { position: relative; z-index: 1; width: 160px; animation: logo-float 7s ease-in-out infinite; }
.logo-panel img { display: block; width: 100%; height: auto; }
.logo-complete { position: relative; z-index: 1; filter: drop-shadow(0 0 10px #00aeef12); }
.logo-pieces { visibility: hidden; position: absolute; inset: 0; perspective: 900px; transform-style: preserve-3d; pointer-events: none; }
.logo-piece { position: absolute; inset: 0; transform: var(--piece-entry); transform-style: preserve-3d; backface-visibility: hidden; }
.piece-upper { transform-origin: 52% 25%; --piece-entry: translate3d(-12px, -10px, 24px) rotateX(6deg) rotateY(-8deg) rotateZ(-3deg); }
.piece-lower { transform-origin: 53% 66%; --piece-entry: translate3d(14px, 10px, -16px) rotateX(-5deg) rotateY(7deg) rotateZ(4deg); }
.piece-cyan { transform-origin: 39% 77%; --piece-entry: translate3d(-14px, 14px, 32px) rotateX(6deg) rotateY(-7deg) rotateZ(-4deg); }
.piece-dot { transform-origin: 52% 27.5%; --piece-entry: translate3d(8px, -14px, 38px) rotateX(-6deg) rotateY(9deg) rotateZ(3deg); }
.logo-motion .logo-panel, .brand-mark.assembling .logo-panel { animation-play-state: paused; }
.logo-motion .logo-complete, .brand-mark.assembling .logo-complete { opacity: 0; }
.logo-motion .logo-pieces, .brand-mark.assembling .logo-pieces { visibility: visible; }
.logo-motion .logo-piece, .brand-mark.assembling .logo-piece { opacity: 0; will-change: transform, opacity; }
.intro h1 { font-family: "Manrope", sans-serif; font-size: clamp(1.875rem, 8.5vw, 2.375rem); font-weight: 650; line-height: 1.3; letter-spacing: -1.8px; }
.intro h1 span { margin-left: .08em; color: var(--cyan); text-shadow: 0 0 24px #00aeef22; }
.intro p { margin: 7px 0 23px; color: var(--muted); font-size: 0.875rem; line-height: 1.65; }
.actions { display: flex; flex-direction: column; gap: 10px; }
.button { position: relative; text-decoration: none; color: inherit; border-radius: 14px; -webkit-tap-highlight-color: transparent; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button:focus-visible, .social:focus-visible, footer a:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 4px; }
.button:active { transform: scale(.98); }
.button::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), #a8e7ff18, transparent 65%); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.button.can-tilt:hover { transform: perspective(650px) translateY(-2px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); }
.button.can-tilt:hover::before { opacity: 1; }
.button svg { width: 23px; height: 23px; flex: none; }
.button-whatsapp { display: flex; align-items: center; gap: 13px; padding: 16px 19px; min-height: 74px; overflow: hidden; isolation: isolate; background: linear-gradient(110deg, #00aeef, #47c7f6, #00aeef); background-size: 200% 100%; animation: button-energy 12s ease-in-out infinite alternate; color: #00151e; text-align: left; font-size: 1rem; font-weight: 800; box-shadow: inset 0 1px 0 #ffffff50, 0 6px 28px #00aeef18; }
.button-whatsapp small { display: block; margin-top: 3px; color: #07394b; font-size: 0.75rem; font-weight: 600; }
.button-whatsapp::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 35%, #fff7 50%, transparent 65%); transform: translateX(-120%); animation: shine 7s 1s ease-in-out infinite; }
.button-web { display: flex; align-items: center; gap: 13px; padding: 14px 19px; min-height: 66px; border: 1px solid #ffffff21; background: linear-gradient(120deg, #14191c, #0b0e10); text-align: left; font-size: 0.9375rem; font-weight: 700; }
.button-web small { display: block; margin-top: 3px; color: var(--muted); font-size: 0.75rem; font-weight: 500; }
.button-web > svg { color: var(--blue-light); }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 33px; padding-top: 24px; }
.social { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #bdc8ce; font-size: 0.75rem; font-weight: 600; text-decoration: none; border-radius: 10px; }
.social-icon { display: grid; place-items: center; width: 46px; height: 46px; color: #c9dfe8; border: 1px solid #ffffff20; background: #0d1215; border-radius: 15px; animation: social-light 12s ease-in-out infinite; transition: color .2s ease, transform .2s ease, border-color .2s ease; }
.social:nth-child(2) .social-icon { animation-delay: -4s; }
.social:nth-child(3) .social-icon { animation-delay: -8s; }
.social svg { width: 21px; height: 21px; }
footer { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 25px; color: #7f949f; font-size: 0.75rem; }
footer a { color: #c3d6e8; text-decoration: none; font-weight: 700; }
.footer-line { width: 14px; height: 1px; margin-right: 5px; background: var(--blue); }

@media (hover: hover) {
  .button:hover { transform: translateY(-2px); border-color: #5bc7fa; box-shadow: 0 8px 25px #0003; }
  .button-whatsapp:hover { box-shadow: 0 9px 30px #00aeef30; }
  .social:hover .social-icon { color: var(--blue-light); border-color: #00aeef80; transform: translateY(-3px); }
  footer a:hover { color: var(--blue-light); }
}
@media (min-width: 700px) {
  body { align-items: center; padding-top: 36px; padding-bottom: 36px; }
  .wrap { max-width: 500px; padding: 25px 29px 28px; border: 1px solid #ffffff14; border-top-color: #00aeef3b; border-radius: 28px; background: #030607b8; box-shadow: 0 24px 100px #0008; }
  .brand-mark { margin-top: 9px; }
}
@media (max-width: 359px) {
  body { padding-left: 17px; padding-right: 17px; }
  .page-top { font-size: 0.5625rem; letter-spacing: .6px; }
  .brand-mark { width: 166px; height: 166px; }
  .logo-panel { width: 146px; }
  .intro h1 { letter-spacing: -1.2px; }
  .button-whatsapp { padding-left: 15px; gap: 10px; font-size: 0.875rem; }
  .socials { gap: 27px; }
  .location-heading { gap: 10px; }
  .location-actions .button { gap: 6px; font-size: 0.75rem; }
}
@keyframes shine { 0%, 62% { transform: translateX(-120%); } 82%, 100% { transform: translateX(120%); } }
/* Dos sedes, con ubicación y reseña asociadas a cada dirección. */
.locations { margin-top: 25px; text-align: left; }
.section-label { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.section-label h2 { font-size: 0.875rem; font-weight: 600; color: #c6d1d7; }
.section-label > span { font-size: 0.625rem; letter-spacing: 1.5px; color: #859ca7; }
.location-card { position: relative; overflow: hidden; padding: 16px; border: 1px solid #ffffff1c; border-radius: 16px; background: linear-gradient(130deg, #12181b, #080c0e); }
.location-card + .location-card { margin-top: 11px; }
.location-card::after { content: ""; position: absolute; top: 0; left: 0; width: 30%; height: 1px; background: linear-gradient(90deg, transparent, #00aeef99, transparent); animation: signal 11s ease-in-out infinite; pointer-events: none; }
.location-card:nth-of-type(2)::after { animation-delay: -5.5s; }
.location-heading { display: flex; align-items: flex-start; gap: 13px; }
.location-heading > div { min-width: 0; }
.location-number { flex: none; padding-top: 1px; color: var(--cyan); font-size: 0.75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.location-heading h3 { font-size: 0.9375rem; line-height: 1.4; font-weight: 700; }
.location-heading p { margin-top: 5px; color: var(--muted); font-size: 0.75rem; line-height: 1.65; overflow-wrap: anywhere; }
.location-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 13px; }
.location-actions .button { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 7px; min-height: 44px; padding: 9px 6px; border: 1px solid #ffffff1e; border-radius: 9px; font-size: 0.8125rem; font-weight: 600; }
.location-actions svg { width: 17px; height: 17px; flex: none; }
.location-map { color: #8adfff; background: #00aeef0d; border-color: #00aeef2d !important; }
.location-review { color: #d6e0e4; background: #ffffff03; }
.review-star { color: #bdeeff; animation: star-light 9s ease-in-out infinite; }
.location-card:nth-of-type(2) .review-star { animation-delay: -4.5s; }
@keyframes logo-float { 0%, 100% { transform: translateY(3px); } 50% { transform: translateY(-4px); } }
@keyframes shadow { 0%, 100% { opacity: .7; transform: scaleX(1); } 50% { opacity: .4; transform: scaleX(.85); } }
@keyframes halo { from { opacity: .5; transform: scale(.96); } to { opacity: 1; transform: scale(1.09); } }
@keyframes atmosphere { from { opacity: .5; transform: translateY(-12px); } to { opacity: 1; transform: translateY(12px); } }
@keyframes background-orbit { to { transform: translateX(-50%) rotate(360deg); } }
@keyframes button-energy { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes signal { 0%, 10% { transform: translateX(-110%); opacity: 0; } 25% { opacity: .8; } 85%, 100% { transform: translateX(450%); opacity: 0; } }
@keyframes star-light { 0%, 100% { opacity: .7; filter: none; } 50% { opacity: 1; filter: drop-shadow(0 0 4px #00aeef60); } }
@keyframes social-light { 0%, 100% { border-color: #ffffff20; box-shadow: 0 0 14px #00aeef00; } 50% { border-color: #00aeef55; box-shadow: 0 0 14px #00aeef12; } }
.motion-paused *, .motion-paused *::before, .motion-paused *::after, body.motion-paused::before, body.motion-paused::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button-whatsapp::after, .location-card::after { display: none; }
  .logo-motion .logo-complete, .brand-mark.assembling .logo-complete { opacity: 1; }
  .logo-motion .logo-pieces, .brand-mark.assembling .logo-pieces { visibility: hidden; }
  .brand-mark::before { opacity: .6; }
  .button.can-tilt:hover { transform: none; }
}
