/* Fixopolis Solutions — estilos
   Azul Fixopolis (#2ea8ff) sobre tinta nocturna, como las vitrinas del local. */

:root {
  --ink: #070b16;
  --ink-2: #0c1322;
  --panel: #101a2e;
  --line: rgba(130, 180, 255, 0.16);
  --line-strong: rgba(130, 180, 255, 0.32);
  --volt: #2ea8ff;
  --volt-soft: #8fd3ff;
  --volt-glow: rgba(46, 168, 255, 0.35);
  --chrome: #e8eef8;
  --muted: #9aa8bf;
  --live: #3be38b;
  --closed: #ff6b6b;

  --font-display: "Chakra Petch", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 6px;
  --cut: 18px;
  --wrap: 1160px;
  --dock-h: 0px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--chrome);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  padding-bottom: var(--dock-h);
  -webkit-font-smoothing: antialiased;
}

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

[hidden] {
  display: none !important;
}

a {
  color: var(--volt-soft);
  text-underline-offset: 3px;
}

a:hover {
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  letter-spacing: 0.01em;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--volt);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-weight: 600;
}

.skip:focus {
  left: 8px;
}

.volt {
  color: var(--volt);
  text-shadow: 0 0 28px var(--volt-glow);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--volt-soft);
}

/* ---------- Barra superior ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 11, 22, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--chrome);
  text-decoration: none;
}

.brand__mark {
  width: 38px;
  height: 38px;
  flex: none;
  filter: drop-shadow(0 0 10px var(--volt-glow));
}

.hex-fill {
  fill: var(--ink-2);
}

.hex-line {
  fill: none;
  stroke: var(--volt);
  stroke-width: 2.4;
}

.pwr {
  fill: none;
  stroke: var(--volt);
  stroke-width: 3.2;
  stroke-linecap: round;
}

.brand__word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.42em;
  color: var(--muted);
  margin-top: 4px;
}

.topbar__call {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  color: var(--chrome);
  line-height: 1.15;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(16, 26, 46, 0.7);
}

.lang a {
  min-width: 44px;
  padding: 7px 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  color: var(--muted);
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang a:hover {
  color: #fff;
}

.lang a[aria-current="page"] {
  background: var(--volt);
  color: var(--ink);
}

.topbar__call-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.topbar__call-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--volt);
}

.topbar__call:hover .topbar__call-num {
  color: #fff;
}

/* ---------- Botones ---------- */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-row--center {
  justify-content: center;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--radius);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: none;
}

.btn--volt {
  background: var(--volt);
  color: var(--ink);
}

.btn--volt:hover {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 0 28px var(--volt-glow);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(46, 168, 255, 0.08);
  color: var(--chrome);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.btn--ghost:hover {
  background: rgba(46, 168, 255, 0.18);
  color: #fff;
  transform: translateY(-1px);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 56px;
  background:
    radial-gradient(70% 60% at 85% 20%, rgba(46, 168, 255, 0.16), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(46, 168, 255, 0.08), transparent 70%),
    var(--ink);
}

.hero__traces {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__traces path {
  fill: none;
  stroke: var(--volt);
  stroke-width: 1.5;
  opacity: 0.32;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: trace 2.6s cubic-bezier(0.6, 0, 0.2, 1) 0.4s forwards;
}

.hero__traces circle {
  fill: var(--volt);
  opacity: 0;
  animation: node 0.6s ease 2.4s forwards;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 36px;
}

.hero__title {
  font-size: clamp(2.6rem, 11vw, 4.9rem);
  margin: 14px 0 18px;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 34rem;
  color: #c6d1e2;
  font-size: 1.125rem;
  margin-bottom: 26px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.status,
.chip-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--chrome);
  background: rgba(16, 26, 46, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.chip-rating {
  text-decoration: none;
  color: #ffd877;
  animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.chip-rating:hover {
  color: #fff;
  border-color: var(--line-strong);
}

.status__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--muted);
  flex: none;
}

.status.is-open .status__dot {
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(59, 227, 139, 0.6);
  animation: pulse 2s ease-out infinite;
}

.status.is-closed .status__dot {
  background: var(--closed);
}

.hero__photo {
  position: relative;
  margin: 0;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  background: var(--panel);
}

.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  background: linear-gradient(180deg, transparent 55%, rgba(7, 11, 22, 0.75));
  pointer-events: none;
}

.hero__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--chrome);
  background: rgba(7, 11, 22, 0.78);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}

.tag__dot {
  width: 7px;
  height: 7px;
  background: var(--volt);
  transform: rotate(45deg);
}

/* ---------- Marcas ---------- */

.brands {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
  padding: 22px 0;
}

.brands__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.brands__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.brands__list li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: #c9d4e6;
  letter-spacing: 0.03em;
}

.brands__list li + li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 22px 3px -13px;
  background: var(--volt);
  transform: rotate(45deg);
  opacity: 0.7;
}

/* ---------- Secciones ---------- */

.section {
  padding: 72px 0;
}

.section--panel {
  background:
    linear-gradient(180deg, rgba(46, 168, 255, 0.05), transparent 40%),
    var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__head {
  margin-bottom: 36px;
  max-width: 40rem;
}

.section__head h2 {
  font-size: clamp(2rem, 7vw, 3.1rem);
  margin-top: 10px;
  text-transform: uppercase;
}

.section__intro {
  margin-top: 14px;
  color: var(--muted);
}

.rating {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-top: 18px;
  animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.rating__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  color: #fff;
}

.rating .stars {
  margin: 0;
  font-size: 1.15rem;
}

.rating__count {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- Servicios ---------- */

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s ease;
}

.service:hover {
  background: linear-gradient(90deg, rgba(46, 168, 255, 0.07), transparent 70%);
}

.service__num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--volt);
  padding-top: 4px;
}

.service h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.service p {
  color: var(--muted);
}

.services__note {
  margin-top: 28px;
  color: #c6d1e2;
}

.services__note a {
  font-weight: 600;
}

/* ---------- Reseñas ---------- */

.quotes {
  display: grid;
  gap: 18px;
}

.quote {
  margin: 0;
  padding: 28px 26px;
  background: var(--panel);
  border-left: 3px solid var(--volt);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}

.stars {
  color: #ffc94a;
  letter-spacing: 0.18em;
  font-size: 1rem;
  margin-bottom: 12px;
}

.quote blockquote {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 4.4vw, 1.5rem);
  line-height: 1.3;
}

.quote figcaption {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.quote figcaption a {
  color: var(--chrome);
  text-decoration: none;
}

.quote figcaption a:hover {
  color: var(--volt-soft);
  text-decoration: underline;
}

.quote__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--volt-soft);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}

.quotes.is-live .quote {
  animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.quotes.is-live blockquote {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  line-clamp: 7;
  overflow: hidden;
}

.live-note {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- Visita y horario ---------- */

.visit {
  display: grid;
  gap: 40px;
}

.visit__info h2 {
  font-size: clamp(2rem, 7vw, 3.1rem);
  margin: 10px 0 22px;
  text-transform: uppercase;
}

.visit__address {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 10px;
}

.visit__phone {
  color: var(--muted);
  margin-bottom: 26px;
}

.visit__phone a {
  font-weight: 600;
}

.ticket {
  position: relative;
  padding: 26px 24px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}

.ticket__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px dashed var(--line-strong);
}

.ticket__head h3 {
  font-size: 1.6rem;
  text-transform: uppercase;
}

.ticket__zone {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hours {
  width: 100%;
  border-collapse: collapse;
}

.hours th,
.hours td {
  padding: 11px 8px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.hours th {
  text-align: left;
}

.hours td {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #c6d1e2;
  white-space: nowrap;
}

.hours tr.is-today th,
.hours tr.is-today td {
  color: var(--ink);
  background: var(--volt);
}

.hours tr.is-today th::after {
  content: " · hoy";
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

:lang(en) .hours tr.is-today th::after {
  content: " · today";
}

.hours tr.is-special td {
  color: #ffd877;
}

.hours tr.is-today.is-special td {
  color: var(--ink);
}

.hours__special {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: #ffd877;
}

.hours tr.is-today .hours__special {
  color: var(--ink);
}

.ticket__note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Pie ---------- */

.footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer__inner {
  display: grid;
  gap: 18px;
}

.footer__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--chrome);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer__links {
  display: flex;
  gap: 22px;
}

.footer__links a {
  font-weight: 600;
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

/* ---------- Barra fija en celular ---------- */

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 11, 22, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}

.dock__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: var(--chrome);
  border-radius: var(--radius);
  background: rgba(46, 168, 255, 0.1);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.dock__btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.dock__btn--volt {
  background: var(--volt);
  color: var(--ink);
  box-shadow: none;
}

.dock__btn:hover {
  color: #fff;
}

.dock__btn--volt:hover {
  color: var(--ink);
  background: #fff;
}

@media (max-width: 759px) {
  :root {
    --dock-h: calc(72px + env(safe-area-inset-bottom));
  }

  .hero__traces {
    display: none;
  }

  .cta-row .btn {
    flex: 1 1 100%;
  }
}

/* ---------- Pantallas medianas y grandes ---------- */

@media (min-width: 760px) {
  .wrap {
    padding: 0 32px;
  }

  .dock {
    display: none;
  }

  .topbar__call {
    display: inline-flex;
  }

  .services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
  }

  .quotes {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .footer__inner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .footer__copy {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .hero {
    padding: 72px 0 88px;
  }

  .hero__grid {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 56px;
  }

  .hero__photo {
    transform: rotate(1.2deg);
    margin-right: -12px;
  }

  .section {
    padding: 104px 0;
  }

  .visit {
    grid-template-columns: 1fr 0.9fr;
    align-items: start;
    gap: 72px;
  }
}

/* ---------- Animación ---------- */

.load-in {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--d, 0) * 90ms + 80ms);
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes trace {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes node {
  to {
    opacity: 0.7;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 227, 139, 0.55);
  }
  80%,
  100% {
    box-shadow: 0 0 0 10px rgba(59, 227, 139, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
