.loc,
.loc *{ box-sizing:border-box; }

.loc{
  --lc-bg:#070a12;
  --lc-line:rgba(255,255,255,.08);
  --lc-accent:#5b73d6;
  --lc-accent-2:#3f56b8;
  background:var(--lc-bg);
  color:#fff;
  padding:clamp(56px,9vw,120px) 24px clamp(48px,6vw,80px);
}
.loc__inner{
  width:100%;
  max-width:950px;
  margin-inline:auto;
}

/* Encabezado */
.loc__head{ margin-bottom:48px; }
.loc__eyebrow{
  margin:0 0 20px;
  font-family:'JetBrains Mono',monospace;
  font-weight:500;
  font-size:clamp(18px,2.6vw,30px);
  letter-spacing:.35em;
  text-transform:uppercase;
  color:var(--lc-accent);
}
.loc__title{
  margin:0;
  font-family:'Space Grotesk',sans-serif;
  font-weight:500;
  font-size:clamp(26px,3.4vw,38px);
  letter-spacing:-.02em;
}

/* Layout: info a la izquierda, imagen a la derecha */
.loc__layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(32px,6vw,72px);
  align-items:start;
}

.loc__info{
  display:flex;
  flex-direction:column;
  gap:34px;
}
.loc__block h3{
  margin:0 0 14px;
  font-family:'Space Grotesk',sans-serif;
  font-weight:500;
  font-size:21px;
}

/* Enlace a Google Maps */
.loc__maplink{
  color:#fff;
  text-decoration:none;
  border-bottom:1px solid rgba(174,188,255,.45);
  padding-bottom:2px;
  transition:color .25s ease, border-color .25s ease;
}
.loc__maplink:hover,
.loc__maplink:focus-visible{
  color:#aebcff;
  border-color:#aebcff;
  outline:none;
}

.loc__addr{
  font-style:normal;
  font-family:'Inter',sans-serif;
  font-size:16px;
  line-height:1.8;
  color:rgba(255,255,255,.78);
}

/* Horario */
.loc__hours{
  display:grid;
  grid-template-columns:130px 1fr;
  gap:12px 16px;
  margin:0;
  font-family:'Inter',sans-serif;
  font-size:16px;
}
.loc__hours dt{ color:rgba(255,255,255,.55); }
.loc__hours dd{ margin:0; color:rgba(255,255,255,.92); }

/* Contacto */
.loc__contact{
  list-style:none;
  margin:0 0 24px;
  padding:0;
  display:grid;
  gap:12px;
  font-family:'Inter',sans-serif;
  font-size:16px;
  color:rgba(255,255,255,.6);
}
.loc__contact a{
  color:#fff;
  font-weight:600;
  text-decoration:none;
  overflow-wrap:anywhere;
  transition:color .25s ease;
}
.loc__contact a:hover,
.loc__contact a:focus-visible{ color:#aebcff; outline:none; }

/* Redes */
.loc__social{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}
.loc__social a{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.9);
  transition:color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease;
}
.loc__social svg{
  width:26px;
  height:26px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.loc__social a:hover,
.loc__social a:focus-visible{
  color:#fff;
  border-color:var(--lc-accent);
  background:rgba(91,115,214,.28);
  transform:translateY(-2px);
  outline:none;
}

/* Botón */
.loc__btn{
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:16px 34px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--lc-accent),var(--lc-accent-2));
  box-shadow:0 10px 30px rgba(63,86,184,.45);
  color:#fff;
  font-family:'Inter',sans-serif;
  font-weight:600;
  font-size:15px;
  text-decoration:none;
  transition:transform .25s ease, box-shadow .25s ease;
}
.loc__btn:hover,
.loc__btn:focus-visible{
  transform:translateY(-3px);
  box-shadow:0 14px 36px rgba(91,115,214,.65);
  outline:none;
}

/* Imagen del mapa (con fondo de rayas por si aún no carga) */
.loc__map{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:16px;
  border:1px solid var(--lc-line);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 14px),
    linear-gradient(135deg,#171d3a 0%,#0c1020 60%,#080b14 100%);
}

/* Logo */
.loc__logo{
  display:flex;
  justify-content:flex-end;
  margin-top:32px;
}
.loc__logo img{
  width:min(240px,55%);
  height:auto;
}

/* Entrada */
.loc__head,.loc__info,.loc__map,.loc__logo{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .7s ease, transform .7s ease;
}
.loc.is-visible .loc__head,
.loc.is-visible .loc__info,
.loc.is-visible .loc__map,
.loc.is-visible .loc__logo{
  opacity:1;
  transform:none;
}
.loc.is-visible .loc__info{ transition-delay:.12s; }
.loc.is-visible .loc__map{ transition-delay:.22s; }
.loc.is-visible .loc__logo{ transition-delay:.32s; }

/* Tablet y móvil: una columna */
@media (max-width:860px){
  .loc__layout{ grid-template-columns:1fr; }
  .loc__map{ aspect-ratio:4/3; }
}
@media (max-width:640px){
  .loc{ padding:56px 16px 48px; }
  .loc__head{ margin-bottom:36px; }
  .loc__eyebrow{ letter-spacing:.22em; }
  .loc__hours{ grid-template-columns:110px 1fr; font-size:15.5px; }
  .loc__btn{ align-self:stretch; }
  .loc__logo{ justify-content:center; }
  .loc__social a{ width:48px; height:48px; }
  .loc__social svg{ width:24px; height:24px; }
}

@media (prefers-reduced-motion:reduce){
  .loc__head,.loc__info,.loc__map,.loc__logo{
    opacity:1; transform:none; transition:none;
  }
}