/* ============================================================
   Coworking · Business Center — skin "Glass Tech" v2
   Dark + glass + motion. Mobile-first. Mismo contrato de clases
   que la v1: las páginas internas y el blog heredan sin cambios.
   ============================================================ */
:root {
  --red: #E31837;
  --red-bright: #ff3b57;
  --red-dark: #b3122b;
  --gold: #d4af5f;
  --gold-soft: #c9a24b;
  --green: #25d366;

  --bg: #07080d;
  --bg-2: #0b0d15;
  --surface: #0e1018;
  --ink: #eef1f7;
  --dim: #a8aec2;
  --mute: #6e7590;

  --glass: rgba(255,255,255,.04);
  --glass-2: rgba(255,255,255,.07);
  --line: rgba(255,255,255,.09);
  --line-2: rgba(255,255,255,.16);

  --grad-brand: linear-gradient(115deg, var(--red-bright), var(--red) 45%, var(--gold) 120%);
  --grad-text: linear-gradient(100deg, var(--red-bright) 10%, var(--gold) 90%);

  --radius: 18px;
  --shadow: 0 14px 44px rgba(0,0,0,.45);
  --glow-red: 0 8px 30px rgba(227,24,55,.35);
  --max: 1200px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22,.61,.36,1);
  color-scheme: dark;

  /* Aliases de la v1 (estilos inline de subpáginas los referencian) */
  --gray: var(--dim);
  --light: rgba(255,255,255,.04);
  --charcoal: #0e1018;
  --black: #060709;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--red); color: #fff; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }

/* ---- Fondo FX global (grid tech + glows). Estático = barato en móvil ---- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(212,175,95,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,95,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 95% 70% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 95% 70% at 50% 0%, #000 20%, transparent 78%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(560px 420px at 12% -6%, rgba(227,24,55,.16), transparent 70%),
    radial-gradient(640px 480px at 95% 30%, rgba(212,175,95,.08), transparent 70%),
    radial-gradient(520px 420px at 30% 110%, rgba(227,24,55,.07), transparent 70%);
}
main, section, header, footer, aside { position: relative; z-index: 1; }

h1, h2, h3 { line-height: 1.1; font-weight: 800; letter-spacing: -.015em; }
.accent {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 6vw, 56px); }
.section-head h2 { font-size: clamp(27px, 4.2vw, 44px); text-transform: uppercase; }
.section-head p { color: var(--dim); margin-top: 14px; font-size: 1.04rem; }
.gold-rule {
  display: block; width: 70px; height: 2px; margin: 22px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 18px rgba(212,175,95,.45);
}

/* Secciones "dark" y "features" de la v1: ahora variantes de profundidad */
.dark { background: linear-gradient(180deg, var(--bg-2), #080a10); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark .section-head h2 { color: var(--ink); }
.dark .section-head p, .features .section-head p { color: var(--dim); }
.features { background: transparent; }
.locations { background: linear-gradient(180deg, #0a0c13, var(--bg-2)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.locations .section-head h2 { color: var(--ink); }
.locations .section-head p { color: var(--dim); }

/* ---- Botones ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--grad-brand); color: #fff; font-weight: 700;
  padding: 15px 30px; border-radius: 50px; border: none; cursor: pointer;
  text-transform: uppercase; letter-spacing: .05em; font-size: .88rem;
  box-shadow: var(--glow-red);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), filter .28s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(227,24,55,.5); filter: brightness(1.06); }
.btn:active { transform: translateY(-1px); }
.btn--dark {
  background: var(--glass-2); color: var(--ink); box-shadow: none;
  border: 1px solid var(--line-2);
}
.btn--dark:hover { box-shadow: 0 10px 30px rgba(0,0,0,.4); border-color: var(--gold); }
.btn--ghost { background: rgba(212,175,95,.06); border: 1px solid rgba(212,175,95,.5); color: var(--gold); box-shadow: none; }
.btn--ghost:hover { background: var(--gold); color: #0c0c0c; box-shadow: 0 10px 30px rgba(212,175,95,.35); }
.btn--gold { background: linear-gradient(115deg, var(--gold), #a8843c); color: #14100a; box-shadow: 0 8px 30px rgba(212,175,95,.3); }

/* ============================== Topbar ============================== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: linear-gradient(rgba(5,6,10,.6), transparent);
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.topbar.scrolled {
  background: rgba(9,10,16,.92);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 36px rgba(0,0,0,.45);
}
@media (min-width: 768px) {
  .topbar.scrolled {
    background: rgba(9,10,16,.62);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
  }
}
.topbar .container { display: flex; align-items: center; gap: 22px; height: 70px; }
.topbar .logo { display: flex; align-items: center; }
.topbar .logo img { height: 42px; width: auto; display: block; filter: brightness(0) invert(1) drop-shadow(0 1px 10px rgba(0,0,0,.4)); }

.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a, .nav button {
  font: inherit; background: none; border: none; cursor: pointer;
  color: var(--dim); font-weight: 700; font-size: .85rem; text-transform: uppercase;
  letter-spacing: .06em; padding: 0; transition: color .2s;
}
.nav a:hover, .nav button:hover { color: #fff; }
.nav .nav-loc { display: inline-flex; align-items: center; gap: 7px; }
.nav .nav-loc svg { color: var(--gold); }
.lang { display: flex; align-items: center; gap: 5px; margin-left: 20px; color: var(--mute); font-family: var(--mono); }
.lang button { background: none; border: none; cursor: pointer; font: inherit; font-weight: 700;
  font-size: .8rem; color: var(--mute); padding: 2px; transition: color .2s; }
.lang button.active { color: var(--gold); }
.lang button:hover { color: #fff; }
.hamburger { display: none; background: none; border: none; cursor: pointer; color: #fff; margin-left: 14px; }

/* Barra de progreso de scroll (la inyecta script.js en todas las páginas) */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120;
  transform-origin: 0 50%; transform: scaleX(0);
  background: var(--grad-brand);
  box-shadow: 0 0 14px rgba(227,24,55,.6);
  pointer-events: none;
}

/* ============================== Sidebar locaciones ============================== */
.overlay { position: fixed; inset: 0; background: rgba(3,4,8,.7);
  opacity: 0; visibility: hidden; transition: .3s; z-index: 90; }
.overlay.open { opacity: 1; visibility: visible; }
@media (min-width: 768px) { .overlay { backdrop-filter: blur(4px); } }
.sidebar {
  position: fixed; top: 0; right: 0; height: 100%; width: 390px; max-width: 92vw;
  background: #0b0d15; color: var(--ink); z-index: 100; transform: translateX(100%);
  transition: transform .42s var(--ease); padding: 30px 24px 40px; overflow-y: auto;
  border-left: 1px solid var(--line-2); box-shadow: -30px 0 80px rgba(0,0,0,.6);
}
.sidebar.open { transform: translateX(0); }
.sb-head { display: flex; justify-content: space-between; align-items: center; }
.sidebar h3 { font-size: 1.4rem; text-transform: uppercase; }
.sidebar h3::after { content: ''; display: block; width: 42px; height: 2px; margin-top: 8px;
  background: var(--gold); box-shadow: 0 0 12px rgba(212,175,95,.5); }
.sb-sub { color: var(--dim); font-size: .88rem; margin: 14px 0 24px; }
.sidebar .close { background: none; border: none; color: var(--dim); cursor: pointer; transition: color .2s, transform .3s; }
.sidebar .close:hover { color: #fff; transform: rotate(90deg); }
.loc-item { display: block; background: var(--glass); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; margin-bottom: 16px; transition: border-color .25s, transform .25s, box-shadow .25s; }
.loc-item:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: var(--glow-red); }
.loc-item img { height: 120px; width: 100%; object-fit: cover; }
.loc-item.soon img { filter: grayscale(1) brightness(.6); }
.li-body { padding: 15px 17px; }
.li-body h4 { font-size: 1.15rem; margin-top: 5px; }
.li-body p { color: var(--mute); font-size: .8rem; margin-top: 4px; }
.status { display: inline-block; font-family: var(--mono); font-size: .62rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 50px; border: 1px solid transparent; }
.status.open { background: rgba(37,211,102,.1); color: var(--green); border-color: rgba(37,211,102,.3); }
.status.soon { background: rgba(212,175,95,.08); color: var(--gold); border-color: rgba(212,175,95,.3); }
.sb-cta { width: 100%; justify-content: center; margin-top: 8px; }

/* ============================== Hero ============================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--bg); }
.hero-video { position: absolute; inset: 0; overflow: hidden; }
.hero-video video, .hero-video iframe {
  position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important;
  border: 0; pointer-events: none; object-fit: cover;
  transform-origin: center center; will-change: transform;
}
.hero-video-shield { position: absolute; inset: 0; z-index: 1; }
.hero-video::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(5,6,10,.55) 0%, rgba(5,6,10,.18) 35%, rgba(7,8,13,.9) 86%, var(--bg) 100%),
    radial-gradient(80% 60% at 50% 100%, rgba(227,24,55,.14), transparent 70%);
}
.hero-inner { position: relative; z-index: 3; width: 100%; padding: 120px 0 84px; }
.hero-card {
  max-width: 660px; padding: clamp(24px, 4vw, 42px);
  border-radius: 24px; border: 1px solid var(--line-2);
  background: rgba(8,10,16,.74);
  box-shadow: var(--shadow);
}
@media (min-width: 768px) {
  .hero-card { background: rgba(8,10,16,.5); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
}
.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); padding: 7px 14px; border-radius: 50px;
  border: 1px solid rgba(212,175,95,.35); background: rgba(212,175,95,.07);
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(34px, 7.2vw, 64px); text-transform: uppercase; }
.hero .tagline {
  display: block; font-size: clamp(22px, 4.6vw, 40px); font-weight: 800; text-transform: uppercase;
  letter-spacing: -.01em; margin-top: 2px;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.hero p { color: var(--dim); max-width: 520px; margin: 18px 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats > div {
  flex: 1 1 110px; text-align: center; padding: 12px 10px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--glass);
}
.hero-stats b { display: block; font-family: var(--mono); font-size: 1.25rem; color: var(--gold); }
.hero-stats span { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mute); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 4;
  width: 26px; height: 44px; border-radius: 20px; border: 1.5px solid var(--line-2);
  display: none;
}
.scroll-cue i { position: absolute; left: 50%; top: 8px; width: 3px; height: 9px; margin-left: -1.5px;
  border-radius: 3px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%{transform:translateY(0);opacity:1} 70%{transform:translateY(16px);opacity:0} 100%{opacity:0} }
@media (min-width: 768px) { .scroll-cue { display: block; } }

/* ============================== Highlights ============================== */
.highlights { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.hl {
  position: relative; min-height: 240px; display: flex; align-items: flex-end;
  color: #fff; padding: 24px; background-size: cover; background-position: center;
  overflow: hidden; transition: filter .4s;
}
.hl::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(185deg, rgba(7,8,13,.25), rgba(7,8,13,.86) 88%); transition: opacity .4s; }
.hl:hover { filter: saturate(1.15); }
.hl > div { position: relative; z-index: 2; transform: translateY(6px); transition: transform .4s var(--ease); }
.hl:hover > div { transform: translateY(0); }
.hl h3 { font-size: 1.25rem; text-transform: uppercase; }
.hl h3::after { content: ""; display: block; width: 34px; height: 2px; background: var(--grad-brand); margin-top: 7px; border-radius: 2px; }
.hl p { font-size: .85rem; color: var(--dim); margin-top: 8px; }
@media (min-width: 600px) { .highlights { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .highlights { grid-template-columns: repeat(4, 1fr); } .hl { min-height: 300px; } }

/* ============================== Features ============================== */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.feature {
  position: relative; text-align: left; padding: 28px 26px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--glass);
  display: flex; gap: 20px; align-items: flex-start; overflow: hidden;
  transition: border-color .3s, transform .3s var(--ease), background .3s;
}
.feature::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(220px 220px at var(--mx,50%) var(--my,50%), rgba(227,24,55,.14), transparent 70%);
}
.feature:hover { border-color: rgba(227,24,55,.45); transform: translateY(-4px); }
.feature:hover::after { opacity: 1; }
.feature .ic {
  width: 62px; height: 62px; flex: none; color: var(--gold);
  display: grid; place-items: center; border-radius: 16px;
  background: rgba(212,175,95,.07); border: 1px solid rgba(212,175,95,.3);
  box-shadow: inset 0 0 24px rgba(212,175,95,.06);
}
.feature .ic svg { width: 32px; height: 32px; }
.feature .feat-body { flex: 1; min-width: 0; }
.feature h3 { color: var(--ink); text-transform: uppercase; font-size: 1.05rem; margin-bottom: 8px; line-height: 1.25; }
.feature p, .dark .feature p { color: var(--dim); font-size: .92rem; line-height: 1.6; }
@media (min-width: 700px) { .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  /* En 3 columnas el ícono pasa arriba para que el texto use todo el ancho */
  .feature { flex-direction: column; gap: 18px; padding: 34px 30px; }
}

/* ============================== Planes ============================== */
.plans { display: grid; grid-template-columns: 1fr; position: relative; }
.plans-info {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #a90f27 0%, var(--red) 55%, #8e0c20 100%);
  color: #fff; padding: clamp(44px, 6vw, 70px) clamp(24px, 5vw, 60px);
}
.plans-info::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 80% 10%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 10%, #000, transparent 70%);
}
.plans-info > * { position: relative; }
.plans-info h2 { font-size: clamp(28px, 4vw, 44px); text-transform: uppercase; }
.plans-info .sub { margin: 16px 0 26px; opacity: .96; }
.plan-list { list-style: none; margin-bottom: 30px; }
.plan-list li { display: flex; justify-content: space-between; padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.22); font-size: 1.02rem; }
.plan-list li b { font-weight: 800; font-family: var(--mono); letter-spacing: -.02em; }
.plans-info .btn { background: #fff; color: var(--red); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.plans-info .btn:hover { background: #ffe9ec; }
.plans-img { background: url('media/coworking.jpg') center 35%/cover; min-height: 300px; }
@media (min-width: 900px) { .plans { grid-template-columns: 1fr 1fr; } .plans-img { min-height: 460px; } }

/* ============================== Oficinas ============================== */
.office-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.office {
  border-radius: var(--radius); overflow: hidden; position: relative;
  border: 1px solid var(--line); background: var(--glass);
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.office:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: var(--shadow); }
/* .ph recorta el overscan del parallax para que la foto no pise el contenido */
.office .ph { height: 210px; overflow: hidden; }
.office .ph img, .office > img { height: 210px; width: 100%; object-fit: cover; }
.office .body { padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.office h3 { font-size: 1.02rem; }
.badge { font-family: var(--mono); font-size: .66rem; font-weight: 700; padding: 6px 12px; border-radius: 50px;
  text-transform: uppercase; letter-spacing: .08em; border: 1px solid transparent; flex: none; }
.badge--free { background: rgba(37,211,102,.1); color: var(--green); border-color: rgba(37,211,102,.35); }
.badge--rented { background: rgba(227,24,55,.1); color: var(--red-bright); border-color: rgba(227,24,55,.35); }
.office.rented .ph img, .office.rented > img { filter: grayscale(.7) brightness(.55); }
.office .price { font-size: .8rem; color: var(--mute); }
.o-loc { display: flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--mute); margin-top: 4px; }
.o-loc svg { color: var(--gold); flex: none; }
.office--clickable { cursor: pointer; }
.office--clickable:hover { border-color: rgba(227,24,55,.5); box-shadow: var(--glow-red); }
.office--clickable:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.office-hint { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--grad-brand); color: #fff;
  font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  padding: 7px 13px; border-radius: 50px; box-shadow: var(--glow-red);
  opacity: 0; transform: translateY(-6px); transition: .25s; }
.office--clickable:hover .office-hint, .office--clickable:focus-visible .office-hint { opacity: 1; transform: translateY(0); }
@media (min-width: 640px) { .office-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .office-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ============================== Servicios ============================== */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.service {
  position: relative; display: block; text-align: left; padding: 30px 26px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--glass); overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s;
}
.service::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.service::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(240px 240px at var(--mx,50%) var(--my,50%), rgba(212,175,95,.1), transparent 70%);
}
.service:hover { transform: translateY(-6px); border-color: rgba(212,175,95,.4); }
.service:hover::before { transform: scaleX(1); }
.service:hover::after { opacity: 1; }
.service .s-ic { width: 62px; height: 62px; margin-bottom: 18px; border-radius: 16px;
  display: grid; place-items: center; color: var(--red-bright);
  background: rgba(227,24,55,.08); border: 1px solid rgba(227,24,55,.3); }
.service .s-ic svg { width: 32px; height: 32px; }
.service h3 { font-size: 1.15rem; text-transform: uppercase; }
.service p { color: var(--dim); margin-top: 9px; font-size: .92rem; }
.service .more { display: inline-block; margin-top: 16px; color: var(--gold); font-weight: 800;
  font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em;
  transition: letter-spacing .25s; }
.service:hover .more { letter-spacing: .12em; }
.services-cta { text-align: center; margin-top: 42px; }
@media (min-width: 700px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================== Locaciones ============================== */
.loc-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.loc {
  position: relative; background: var(--glass); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.loc::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(260px 260px at var(--mx,50%) var(--my,50%), rgba(227,24,55,.1), transparent 70%);
}
.loc:hover { transform: translateY(-6px); border-color: rgba(227,24,55,.45); box-shadow: var(--shadow); }
.loc:hover::after { opacity: 1; }
.loc .ph { aspect-ratio: 16 / 10; overflow: hidden; }
.loc .ph img, .loc > img { aspect-ratio: 16 / 10; height: auto; width: 100%; object-fit: cover; }
.loc .body { padding: 22px; }
.loc .tag { color: var(--red-bright); font-weight: 800; text-transform: uppercase; font-size: .72rem; letter-spacing: .12em; }
.loc.soon .ph img, .loc.soon > img { filter: grayscale(.9) brightness(.5); }
.loc-status { display: inline-block; font-family: var(--mono); font-size: .64rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: 6px 13px; border-radius: 50px; margin-bottom: 10px; border: 1px solid transparent; }
.loc-status.open { background: rgba(37,211,102,.1); color: var(--green); border-color: rgba(37,211,102,.35); }
.loc-status.soon { background: rgba(212,175,95,.08); color: var(--gold); border-color: rgba(212,175,95,.3); }
.loc h3 { font-size: 1.35rem; margin: 4px 0 12px; }
.loc .row { display: flex; gap: 10px; align-items: flex-start; color: var(--dim); font-size: .87rem; margin-bottom: 9px; }
.loc .row svg { color: var(--gold); flex: none; margin-top: 4px; }
.loc .btn { margin-top: 12px; padding: 11px 22px; font-size: .78rem; }
@media (min-width: 760px) { .loc-grid { grid-template-columns: repeat(3, 1fr); } .loc .ph, .loc .ph img, .loc > img { aspect-ratio: 4 / 5; } }

/* ============================== Galería ============================== */
.carousel { position: relative; }
.car-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch; padding: 4px; scrollbar-width: none; }
.car-track::-webkit-scrollbar { display: none; }
.car-slide { position: relative; flex: 0 0 80%; scroll-snap-align: start; overflow: hidden;
  border-radius: 16px; aspect-ratio: 3 / 4; cursor: pointer; border: 1px solid var(--line); }
.car-slide::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(185deg, transparent 60%, rgba(7,8,13,.55)); opacity: .8; transition: opacity .4s; }
.car-slide:hover::after { opacity: 0; }
.car-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.car-slide:hover img { transform: scale(1.06); }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(212,175,95,.5); background: rgba(10,11,17,.85); color: var(--gold);
  display: grid; place-items: center;
  box-shadow: 0 6px 22px rgba(0,0,0,.5); transition: background .25s, color .25s, transform .2s; }
.car-btn:hover { background: var(--gold); color: #0c0c0c; transform: translateY(-50%) scale(1.06); }
.car-btn.prev { left: 6px; }
.car-btn.next { right: 6px; }
.car-btn:disabled { opacity: 0; pointer-events: none; }
@media (min-width: 600px)  { .car-slide { flex-basis: calc((100% - 28px) / 3); } }
@media (min-width: 1024px) { .car-slide { flex-basis: calc((100% - 42px) / 4); }
  .car-btn.prev { left: -16px; } .car-btn.next { right: -16px; } }

/* ============================== Contacto + forms ============================== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: start; }
.contact-info h2 { font-size: clamp(26px, 3.6vw, 40px); text-transform: uppercase; }
.contact-info > p { color: var(--dim); margin: 12px 0 30px; }
.cinfo { display: flex; gap: 15px; align-items: center; margin-bottom: 16px;
  padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass);
  transition: border-color .3s, transform .3s var(--ease); }
.cinfo:hover { border-color: rgba(212,175,95,.4); transform: translateX(4px); }
.cinfo .circ { width: 46px; height: 46px; border-radius: 14px; background: rgba(227,24,55,.1);
  border: 1px solid rgba(227,24,55,.35); color: var(--red-bright); display: grid; place-items: center; flex: none; }
.cinfo span { display: block; font-family: var(--mono); font-size: .68rem; color: var(--mute);
  text-transform: uppercase; letter-spacing: .1em; }
.cinfo b { font-size: .98rem; }
form { background: var(--glass); padding: clamp(22px, 4vw, 32px); border-radius: var(--radius); border: 1px solid var(--line); }
form input, form textarea, form select {
  width: 100%; padding: 13px 15px; margin-bottom: 14px; border: 1px solid var(--line-2);
  border-radius: 12px; font: inherit; background: rgba(255,255,255,.03); color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
}
form ::placeholder { color: var(--mute); }
form input:focus, form textarea:focus, form select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,95,.12); }
form textarea { min-height: 120px; resize: vertical; }
form .btn { width: 100%; justify-content: center; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 60px; } }

/* ============================== Mapas ============================== */
.map-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.map-tab { padding: 11px 24px; border-radius: 50px; border: 1px solid var(--line-2); background: var(--glass);
  color: var(--dim); font-weight: 700; cursor: pointer; text-transform: uppercase;
  font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; transition: all .25s; }
.map-tab:hover { color: #fff; border-color: var(--gold); }
.map-tab.active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--glow-red); }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-frame iframe { width: 100%; height: 380px; border: 0; display: none;
  filter: grayscale(1) invert(.92) hue-rotate(185deg) contrast(.9) brightness(.95); }
.map-frame iframe.active { display: block; }
@media (min-width: 768px) { .map-frame iframe { height: 440px; } }

/* ============================== Footer ============================== */
.footer { background: #060709; color: var(--ink); text-align: center;
  padding: 56px 0 36px; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(680px, 90%); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .6; }
.footer .logo { margin-bottom: 22px; }
.footer .logo img { height: 88px; width: auto; margin: 0 auto; display: block;
  filter: brightness(0) invert(1); opacity: .95; }
.socials { display: flex; gap: 14px; justify-content: center; margin-bottom: 26px; }
.socials a { width: 44px; height: 44px; border-radius: 14px; background: var(--glass);
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--dim);
  transition: all .25s; }
.socials a:hover { background: var(--grad-brand); color: #fff; border-color: transparent;
  transform: translateY(-3px); box-shadow: var(--glow-red); }
.footer .copy { color: var(--mute); font-size: .85rem; }
.footer .credit { color: var(--mute); font-size: .78rem; margin-top: 6px; opacity: .85; }
.footer .credit a { color: var(--gold); font-weight: 700; }
.footer .credit a:hover { text-decoration: underline; }

/* ============================== WhatsApp float ============================== */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%; background: var(--green);
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ============================== Subpage hero ============================== */
.page-hero { position: relative; padding: 138px 0 64px; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, #0b0d15, var(--bg));
  border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 90% at 50% -20%, rgba(227,24,55,.18), transparent 70%); }
.page-hero .crumbs { position: relative; font-family: var(--mono); font-size: .72rem; color: var(--mute);
  text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.page-hero .crumbs a:hover { color: var(--gold); }
.page-hero .crumbs span { color: var(--mute); }
.page-hero h1 { position: relative; font-size: clamp(30px, 5vw, 52px); text-transform: uppercase; }
.page-hero p { position: relative; color: var(--dim); margin: 16px auto 0; max-width: 660px; }
.page-hero .gold-rule { margin-top: 22px; }

/* ============================== Blog listing + ads ============================== */
.blog-layout { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
.blog-main { display: grid; gap: 22px; }
.post { display: grid; grid-template-columns: 1fr; background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: border-color .3s, transform .3s var(--ease); }
.post:hover { border-color: rgba(227,24,55,.4); transform: translateY(-3px); }
.post img { height: 100%; width: 100%; object-fit: cover; min-height: 190px; }
.post-body { padding: 24px 26px; }
.post-date { color: var(--gold); font-family: var(--mono); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.post-body h3 { font-size: 1.22rem; margin: 8px 0 10px; }
.post-body p { color: var(--dim); font-size: .92rem; }
.read-more { display: inline-block; margin-top: 14px; color: var(--red-bright); font-weight: 700; font-size: .84rem; }
.read-more:hover { color: var(--gold); }
.ad-sidebar { position: static; display: grid; gap: 18px; }
.ad-label { font-family: var(--mono); text-transform: uppercase; letter-spacing: .18em; font-size: .66rem;
  font-weight: 700; color: var(--mute); text-align: center; }
.ad-spot { display: grid; place-items: center; gap: 6px; height: 250px; border-radius: var(--radius);
  border: 2px dashed var(--line-2); background: var(--glass); text-align: center; padding: 20px;
  color: var(--dim); transition: border-color .25s; }
.ad-spot:hover { border-color: var(--gold); }
.ad-spot .ad-tag { font-family: var(--mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .14em; color: var(--mute); }
.ad-spot strong { font-size: 1.1rem; color: var(--ink); }
.ad-spot em { font-style: normal; font-size: .8rem; color: var(--mute); }
.ad-cta { display: grid; gap: 4px; padding: 24px; border-radius: var(--radius); text-align: center;
  background: var(--glass-2); border: 1px solid rgba(212,175,95,.35); color: var(--ink); }
.ad-cta strong { color: var(--gold); font-size: 1.05rem; }
.ad-cta span { font-size: .85rem; color: var(--dim); }
.ad-cta:hover strong { text-decoration: underline; }
@media (min-width: 900px) { .blog-layout { grid-template-columns: 1fr 320px; gap: 40px; }
  .ad-sidebar { position: sticky; top: 90px; }
  .post { grid-template-columns: 240px 1fr; } }

/* ============================== Artículo ============================== */
.article { max-width: 820px; margin: 0 auto; }
.article .post-date { display: block; margin-bottom: 12px; }
.article-cover { width: 100%; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); margin-bottom: 34px; max-height: 460px; object-fit: cover; }
.article h2 { font-size: 1.55rem; margin: 36px 0 14px; text-transform: none; }
.article h3 { font-size: 1.18rem; margin: 26px 0 10px; color: var(--ink); text-transform: none; }
.article p { color: var(--dim); margin-bottom: 18px; }
.article p.lead { font-size: 1.12rem; color: var(--ink); }
.article p a, .article li a { color: var(--red-bright); font-weight: 700; text-decoration: underline;
  text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.article p a:hover, .article li a:hover { color: var(--gold); }
.article ul, .article ol { margin: 0 0 18px 22px; color: var(--dim); }
.article li { margin-bottom: 8px; }
.article blockquote { border-left: 3px solid var(--gold); padding: 8px 0 8px 22px; margin: 26px 0;
  color: var(--ink); font-style: italic; font-size: 1.1rem;
  background: linear-gradient(90deg, rgba(212,175,95,.07), transparent 70%); border-radius: 0 12px 12px 0; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .8rem;
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; margin-top: 46px; color: var(--dim); }
.back-link:hover { color: var(--gold); }

/* Bloques de beneficios dentro de artículos */
.benefits, .benefit-grid { display: grid; gap: 14px; margin: 22px 0; }
.benefit { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); }
@media (min-width: 700px) { .benefit-grid { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq { margin: 14px 0 8px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 30px 16px 0; position: relative;
  font-weight: 800; color: var(--ink); font-size: 1rem; transition: color .2s; }
.faq summary:hover { color: var(--gold); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 700; color: var(--gold); transition: transform .25s; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; color: var(--dim); }

/* CTA dentro de artículo */
.article-cta { position: relative; background: var(--glass-2); color: var(--ink); border-radius: var(--radius);
  border: 1px solid rgba(227,24,55,.35); padding: 34px 32px; margin: 40px 0; text-align: center; overflow: hidden; }
.article-cta::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 120% at 50% -30%, rgba(227,24,55,.16), transparent 70%); }
.article-cta h3 { position: relative; color: #fff; margin: 0 0 8px; font-size: 1.35rem; }
.article-cta p { position: relative; color: var(--dim); margin: 0 0 20px; }
.article-cta .btn { position: relative; }

/* ============================== Detalle de servicio ============================== */
.svc-hero { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; }
.svc-hero img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow);
  aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.svc-ic { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center;
  color: var(--red-bright); background: rgba(227,24,55,.08); border: 1px solid rgba(227,24,55,.3); margin-bottom: 20px; }
.svc-ic svg { width: 38px; height: 38px; }
.svc-hero h2 { font-size: clamp(26px, 3.5vw, 40px); text-transform: uppercase; }
.svc-hero > div > p { color: var(--dim); margin: 16px 0; }
.svc-feats { display: grid; gap: 12px; margin: 22px 0 28px; }
.svc-feats li { display: flex; gap: 12px; align-items: flex-start; list-style: none; color: var(--dim); }
.svc-feats svg { color: var(--green); flex: none; margin-top: 4px; }
@media (min-width: 861px) { .svc-hero { grid-template-columns: 1fr 1fr; gap: 52px; } }

/* ============================== Modal ============================== */
.modal-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(3,4,8,.78);
  display: flex; align-items: center; justify-content: center;
  padding: 18px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
@media (min-width: 768px) { .modal-overlay { backdrop-filter: blur(6px); } }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal { background: #0d0f17; border: 1px solid var(--line-2); border-radius: 22px;
  width: 100%; max-width: 520px; max-height: 92vh;
  overflow-y: auto; padding: 38px 30px 30px; position: relative;
  box-shadow: 0 40px 90px rgba(0,0,0,.7);
  transform: translateY(18px) scale(.97); transition: transform .3s var(--ease); }
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 14px; right: 14px; background: none; border: none; cursor: pointer;
  color: var(--mute); padding: 6px; line-height: 0; border-radius: 10px; transition: color .2s, background .2s; }
.modal-close:hover { color: #fff; background: var(--glass-2); }
.modal-head h3 { font-size: 1.4rem; text-transform: uppercase; }
.modal-head p { color: var(--dim); font-size: .9rem; margin: 8px 0 22px; }
.modal-form { display: grid; gap: 0; background: none; border: none; padding: 0; }
.mf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mf-field { display: grid; gap: 5px; margin-bottom: 14px; }
.mf-field input, .mf-field select { margin-bottom: 0; }
.mf-field > span { font-family: var(--mono); font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--mute); }
.modal-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.mf-note { font-size: .76rem; color: var(--mute); text-align: center; margin-top: 10px; }
@media (max-width: 520px) { .mf-row { grid-template-columns: 1fr; gap: 0; } }

/* ============================== Responsive nav ============================== */
@media (max-width: 980px) {
  .nav { position: fixed; top: 70px; left: 0; right: 0; margin: 0; flex-direction: column;
    align-items: stretch; gap: 0; background: rgba(8,9,14,.98); padding: 8px 22px 18px;
    border-bottom: 1px solid var(--line-2);
    box-shadow: 0 30px 50px rgba(0,0,0,.5); transform: translateY(-130%);
    transition: transform .35s var(--ease); z-index: -1; }
  .nav.open { transform: translateY(0); }
  .nav a, .nav button { padding: 16px 0; border-bottom: 1px solid var(--line); justify-content: flex-start; color: var(--ink); }
  .hamburger { display: block; }
}

/* ============================================================
   Secciones LIGHT — variante blanca para alternar ritmo
   (se activa agregando la clase `light` a la sección)
   ============================================================ */
.light, .light.locations { background: #f4f5f8; color: #16181f; border-top: 1px solid #e7e9ef; border-bottom: 1px solid #e7e9ef; }
.light .section-head h2 { color: #14161d; }
.light .section-head p { color: #5c6374; }
.light .gold-rule { box-shadow: none; }

.light .office, .light .loc { background: #fff; border-color: #e6e8ee; box-shadow: 0 8px 26px rgba(15,18,30,.06); }
.light .office:hover, .light .loc:hover { border-color: rgba(227,24,55,.4); box-shadow: 0 20px 48px rgba(15,18,30,.14); }
.light .office h3, .light .loc h3 { color: #14161d; }
.light .o-loc, .light .loc .row { color: #5c6374; }
.light .o-loc svg, .light .loc .row svg { color: var(--red); }
.light .loc::after { background: radial-gradient(260px 260px at var(--mx,50%) var(--my,50%), rgba(227,24,55,.05), transparent 70%); }
.light .loc .tag { color: var(--red); }
.light .loc-status.open, .light .badge--free { background: rgba(37,211,102,.12); color: #0e9c4d; border-color: rgba(14,156,77,.35); }
.light .loc-status.soon { background: rgba(168,132,60,.1); color: #8d6b24; border-color: rgba(141,107,36,.35); }
.light .badge--rented { color: var(--red); }
.light .loc .btn--ghost { background: rgba(168,132,60,.06); border-color: rgba(141,107,36,.5); color: #8d6b24; }
.light .loc .btn--ghost:hover { background: var(--gold); color: #14100a; }

.light .map-tab { background: #fff; border-color: #dfe2ea; color: #5c6374; }
.light .map-tab:hover { color: #14161d; border-color: var(--gold-soft); }
.light .map-tab.active { background: var(--grad-brand); color: #fff; border-color: transparent; }
.light .map-frame { border-color: #e6e8ee; box-shadow: 0 20px 48px rgba(15,18,30,.12); }
.light .map-frame iframe { filter: none; }

.light .service, .light .feature, .light .cinfo, .light form { background: #fff; border-color: #e6e8ee; }
.light .service p, .light .feature p, .light p { color: #5c6374; }
.light .service h3, .light .feature h3, .light .cinfo b, .light h3 { color: #14161d; }

/* ============================================================
   MOTION — reveals + parallax
   `.rv` lo agrega script.js (sin JS todo queda visible).
   ============================================================ */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* Parallax de imágenes (scroll-driven, corre en compositor; se degrada solo) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .office .ph img, .loc .ph img {
      animation: img-plx linear both; animation-timeline: view(); animation-range: cover;
    }
    .plans-img { animation: bg-plx linear both; animation-timeline: view(); animation-range: cover; }
    .article-cover { animation: none; }
  }
}
@keyframes img-plx { from { transform: translateY(-5%) scale(1.14); } to { transform: translateY(5%) scale(1.14); } }
@keyframes bg-plx { from { background-position: center 22%; } to { background-position: center 60%; } }

/* ============================== Reduced motion ============================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .wa-float, .scroll-cue i { animation: none !important; }
  .hero-video video { transform: none !important; }
}
