/* ---------------------------------------------------------
   Órbita — hoja de estilos
   Estética minimalista "digital agency premium": crema + tinta,
   un único acento (coral de marca), tipografía sans variable.
--------------------------------------------------------- */

:root {
  --bg: #E8E8E0;
  --paper: #F2F2EC;
  --ink: #111111;
  --ink-soft: #3A3A38;
  --muted: #6B6B66;
  --line: #D6D6C9;
  --line-strong: #B9B9A9;
  --accent: #FF6446;
  --accent-ink: #B23F27;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1200px;
  --radius: 3px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.wrap-narrow { max-width: 720px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }

h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}

.lede {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 20px;
}
.nosotros-statement {
  font-size: clamp(2.75rem, 6.8vw, 5.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}
.nosotros-chip {
  display: inline-block;
  object-fit: cover;
  vertical-align: middle;
  margin: 0 0.14em;
}
.nosotros-chip--circle {
  width: 0.95em;
  height: 0.95em;
  border-radius: 50%;
  transform: translateY(-0.02em) rotate(-3deg);
}
.nosotros-chip--pill {
  width: 1.9em;
  height: 0.78em;
  border-radius: 999px;
  transform: translateY(-0.12em) rotate(-5deg);
}
.nosotros-chip--square {
  width: 1.15em;
  height: 1.05em;
  border-radius: 26%;
  transform: translateY(0.05em) rotate(4deg);
}

/* Nosotros — presentación del equipo (dos fundadores) */
.team {
  display: grid;
  gap: 40px;
  margin-top: clamp(56px, 9vw, 108px);
  padding-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid var(--line);
}
.team-intro { max-width: 560px; }
.team-intro h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.team-intro .lede { font-size: 16px; margin-bottom: 0; }
.team-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.team-cta-note { font-size: 13px; color: var(--muted); }

.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 280px)); gap: 20px; }
.team-card { margin: 0; }
.team-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 20px 46px rgba(17, 17, 17, 0.14);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.team-photo--placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: repeating-linear-gradient(135deg, var(--paper), var(--paper) 10px, var(--line) 10px, var(--line) 11px);
  color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.5;
}
.team-card figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; }
.team-name { font-weight: 600; font-size: 17px; color: var(--ink); }
.team-role { font-size: 13px; color: var(--muted); }

@media (min-width: 720px) {
  .team { grid-template-columns: 1fr auto; align-items: center; gap: 64px; }
  .team-grid { grid-template-columns: repeat(2, 260px); gap: 24px; }
}

@media (min-width: 1000px) {
  .team-grid { grid-template-columns: repeat(2, 320px); gap: 28px; }
}

/* El hero queda fijo (position:fixed) para toda la página — cada sección
   que va después necesita su propia capa opaca y con más z-index para
   taparlo de forma permanente, o reaparecería en cuanto pasa la siguiente. */
#contenido > section:not(.hero) { position: relative; z-index: 1; background: var(--bg); }
.site-footer { position: relative; z-index: 1; }

/* Nosotros — primera sección tras el hero: dejamos el hueco de una pantalla
   completa antes de que empiece a deslizarse por encima */
.nosotros-overlap { margin-top: 100svh; }

.br-desktop { display: none; }
@media (min-width: 720px) { .br-desktop { display: inline; } }

/* Links with animated underline */
.link-underline { position: relative; display: inline-block; }
.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transition: right 0.35s var(--ease);
}
.link-underline:hover::after,
.link-underline:focus-visible::after { right: 0; }
@media (prefers-reduced-motion: reduce) { .link-underline::after { transition: none; } }

/* Buttons — pill shape, one accent */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease);
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: var(--paper); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }

.btn-block { width: 100%; justify-content: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(232, 232, 224, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark { color: var(--ink); flex: none; }
.brand-word { font-weight: 600; font-size: 18px; letter-spacing: 0.02em; }
.brand-dot { animation: spin 9s linear infinite; transform-origin: 30px 30px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .brand-dot { animation: none; } }

.header-cta { margin-left: auto; padding: 11px 24px; }

/* Hero — fijo en pantalla; la siguiente sección se desliza encima al scrollear */
.hero { position: fixed; inset: 0; z-index: 0; display: flex; align-items: center; padding: 120px 0 64px; overflow: hidden; }

.hero-video-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #060606; }
.hero-video-bg video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(6px) brightness(0.75);
  transform: scale(1.05);
}
.hero-video-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 6, 6, 0.35) 0%, rgba(6, 6, 6, 0.2) 45%, rgba(6, 6, 6, 0.5) 100%);
}

.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { font-size: clamp(2.75rem, 6.6vw, 5.5rem); font-weight: 600; letter-spacing: -0.03em; max-width: 15ch; margin: 0 auto 24px; color: #fff; }
.hero-lede { max-width: 540px; font-size: 19px; color: rgba(255, 255, 255, 0.78); margin: 0 auto 36px; }
.hero-path { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); font-weight: 500; }

.hero-case {
  margin-top: 32px; width: min(480px, 100%); text-align: left;
  background: rgba(232, 232, 224, 0.14); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 3px;
  padding: 22px 24px 22px;
}
.hero-case-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.hero-case h3 { margin: 0 0 8px; font-size: 19px; color: #fff; }
.hero-case p:not(.hero-case-tag) { color: rgba(255, 255, 255, 0.78); font-size: 14px; margin: 0 0 16px; }
.hero-case-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-case-actions .btn { padding: 10px 18px; font-size: 14px; }
.hero-case-actions .btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.hero-case-actions .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

/* En celulares el hero es una caja de altura fija (100svh) con overflow oculto
   y encima un botón flotante fijo ("Menú"); si el contenido crece de más,
   el título queda tapado por el header y el botón de flotante se pisa con
   la tarjeta. Acá lo compactamos para que entre con margen. */
@media (max-width: 560px) {
  .hero { padding: 96px 0 104px; }
  .hero h1 { font-size: clamp(2.1rem, 8vw, 2.75rem); margin-bottom: 16px; }
  .hero-lede { font-size: 16px; margin-bottom: 22px; }
  .hero-path { display: none; }
  .hero-case { margin-top: 20px; padding: 16px 18px; }
  .hero-case h3 { font-size: 17px; }
  .hero-case p:not(.hero-case-tag) { font-size: 13px; margin-bottom: 12px; }
  .hero-case-actions .btn { padding: 9px 14px; font-size: 13px; }
}

/* Sections */
.section { padding: 100px 0; border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 20px; max-width: 18ch; letter-spacing: -0.02em; }
#servicios { padding-top: 100px; }
#servicios > .wrap:first-child { padding-bottom: 0; }
#paquetes { border-top: none; padding: 0; }
#trabajo { border-top: none; }

/* Servicios — pin de scroll: 01 aparece, y al hacer scroll se difumina
   para dar paso a 02, 03 y 04 en el mismo lugar; al terminar, sigue el
   flujo normal (vertical) hacia Paquetes. */
.servicios-pin { position: relative; height: 370vh; margin-top: 56px; }
.servicios-pin-inner { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); overflow: hidden; }
.servicios-stage { position: relative; height: 100%; }
.service-panel {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  will-change: opacity, filter;
}
.service-panel[data-step="0"] { opacity: 1; }
@media (min-width: 900px) {
  .service-panel { flex-direction: row; align-items: center; text-align: left; gap: 56px; }
}

.showcase-number {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
  flex: none;
}
@media (min-width: 900px) {
  .showcase-number { font-size: clamp(56px, 7vw, 96px); font-weight: 600; letter-spacing: -0.02em; color: var(--line-strong); line-height: 1; }
}

.showcase-media { flex: none; }
.showcase-frame {
  position: relative;
  width: min(78vw, 320px);
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  background: var(--ink);
}
@media (min-width: 900px) { .showcase-frame { width: 320px; } }
.showcase-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.showcase-pill {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(232, 232, 224, 0.94);
  color: var(--ink);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.showcase-text { max-width: 380px; }
.showcase-q { font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.01em; margin: 0 0 12px; }
.showcase-desc { color: var(--muted); font-size: 17px; margin: 0; }

/* Paquetes — pin de scroll en 3 fases, en mobile y desktop por igual:
   1) el vídeo aparece nítido y el título se desvanece encima
   2) título + vídeo se difuminan mientras los paquetes aparecen en el mismo lugar
   3) se libera el pin y la página sigue el flujo normal hacia Trabajo */
.packages-video-section { position: relative; }
.packages-pin { position: relative; height: 300vh; }
.packages-pin-inner { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); overflow: hidden; }

.packages-video-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.packages-video-bg video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.15);
  will-change: filter;
}
.packages-video-scrim { position: absolute; inset: 0; background: rgba(232, 232, 224, 0.6); opacity: 0; will-change: opacity; }
.packages-top-fade {
  position: absolute; left: 0; right: 0; top: 0; height: min(52vh, 480px); pointer-events: none;
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(232, 232, 224, 0.9) 14%, rgba(232, 232, 224, 0) 100%);
}
.packages-bottom-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: min(52vh, 480px); pointer-events: none;
  background: linear-gradient(to top, var(--bg) 0%, rgba(232, 232, 224, 0.9) 14%, rgba(232, 232, 224, 0) 100%);
}

.packages-stage { position: relative; z-index: 1; height: 100%; }

.packages-title {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; max-width: 820px; margin: 0 auto; padding: 0 24px; will-change: filter, opacity;
}
.packages-title .eyebrow { color: rgba(255, 255, 255, 0.78); }
.packages-title h2 { color: #fff; font-size: clamp(28px, 7vw, 62px); }

/* Paquetes — lista con imagen que cambia al pasar el mouse o tocar */
.packages-showcase {
  position: absolute; inset: 0; display: flex; flex-direction: column-reverse; align-items: center; justify-content: center;
  gap: 8px; padding: 26px 20px 10px; opacity: 0; pointer-events: none; will-change: opacity;
}
.packages-showcase .packages-frame { width: min(30vw, 128px); }
.packages-showcase .package-item-name-btn { padding: 7px 2px; }
.packages-showcase .package-item-name { font-size: 15px; }
.packages-showcase .packages-desc { display: none; }

@media (min-width: 900px) {
  .packages-title h2 { font-size: clamp(32px, 5.2vw, 62px); }
  .packages-showcase { flex-direction: row; gap: 72px; padding: 0; }
  .packages-showcase .packages-frame { width: 400px; }
  .packages-showcase .package-item-name-btn { padding: 22px 2px; }
  .packages-showcase .package-item-name { font-size: clamp(24px, 3.6vw, 40px); }
  .packages-showcase .packages-desc { display: block; }
}

.packages-list { display: flex; flex-direction: column; width: 100%; }
@media (min-width: 900px) { .packages-list { max-width: 520px; flex: none; } }

.package-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; border-top: 1px solid var(--line);
}
.package-item:last-child { border-bottom: 1px solid var(--line); }
.package-item-name-btn {
  flex: 1; display: block; padding: 22px 2px; background: none; border: none; cursor: pointer; text-align: left;
}
.package-item-name {
  font-size: clamp(24px, 3.6vw, 40px); font-weight: 500; letter-spacing: -0.01em; color: rgba(17, 17, 17, 0.45);
  transition: color 0.3s var(--ease);
}
.package-item.is-active .package-item-name { color: var(--ink); font-weight: 600; }
.package-item-cta {
  flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--ink); font-size: 14px; font-weight: 600; color: var(--ink);
  cursor: pointer;
  opacity: 0; transform: translateX(-8px); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  pointer-events: none;
}
.package-item.is-active .package-item-cta {
  opacity: 1; transform: translateX(0); pointer-events: auto;
}

.packages-media { flex: none; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.packages-frame {
  position: relative; width: min(70vw, 420px); aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--ink);
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.22);
}
@media (min-width: 900px) { .packages-frame { width: 400px; } }
.package-tile { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s var(--ease); }
.package-tile.is-active { opacity: 1; }
.packages-desc { max-width: 340px; text-align: center; color: var(--ink-soft); font-size: 16px; margin: 0; }

/* Paquetes — modal con la descripción al hacer clic en "Ver" */
.package-modal-backdrop {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(17, 17, 17, 0.55);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}
.package-modal-backdrop.is-open {
  opacity: 1; visibility: visible;
  transition: opacity 0.3s var(--ease), visibility 0s;
}
.package-modal {
  position: relative;
  width: min(480px, 100%);
  max-height: min(600px, calc(100vh - 48px));
  overflow-y: auto;
  background: var(--bg);
  border-radius: 24px;
  padding: 40px;
  transform: translateY(16px);
  transition: transform 0.3s var(--ease);
}
.package-modal-backdrop.is-open .package-modal { transform: translateY(0); }
.package-modal-close {
  position: absolute; top: 20px; right: 20px; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer;
}
.package-modal h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; letter-spacing: -0.01em; }
.package-modal-lede { color: var(--muted); font-size: 16px; margin: 0 0 20px; }
.package-modal-list { list-style: none; margin: 0 0 20px; padding: 0; }
.package-modal-list li {
  padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-soft);
  padding-left: 20px; position: relative;
}
.package-modal-list li:first-child { border-top: none; }
.package-modal-list li::before {
  content: ""; position: absolute; left: 0; top: 20px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.package-modal-fit { font-size: 14px; color: var(--muted); font-style: italic; margin: 0 0 28px; }

/* Trabajo — mapa de Córdoba interactivo de fondo */
.trabajo-map { position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: center; }
.trabajo-map-bg {
  position: absolute; inset: 0; z-index: 0;
  filter: sepia(0.65) saturate(1.5) hue-rotate(-12deg) brightness(1.05) contrast(1.05);
}
.trabajo-map-bg .leaflet-control-attribution { font-size: 10px; background: rgba(232, 232, 224, 0.75); }
.trabajo-map::after {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 32%, rgba(232, 232, 224, 0.55) 52%, rgba(232, 232, 224, 0.1) 75%, rgba(232, 232, 224, 0) 100%);
}
.trabajo-map .wrap { position: relative; z-index: 2; pointer-events: none; }
.trabajo-map .wrap > * { pointer-events: auto; }

.trabajo-case {
  margin-top: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 3px;
  padding: 28px 28px 26px; max-width: 480px; box-shadow: 0 16px 40px rgba(17, 17, 17, 0.08);
}
.trabajo-case-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.trabajo-case h3 { margin: 0 0 10px; font-size: 20px; }
.trabajo-case p:not(.trabajo-case-tag) { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.trabajo-case-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.trabajo-case-actions .btn { padding: 10px 18px; font-size: 14px; }

/* Contacto */

/* Campos compartidos (usados por el panel de diálogo) */
.field-row { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 480px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 15px; background: var(--bg); color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field textarea { resize: vertical; min-height: 90px; }

.chip {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent;
  font-family: var(--font-body); font-size: 14px; color: var(--ink-soft); cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.chip:hover { border-color: var(--ink); }
.chip.is-selected { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.form-nav-spacer { flex: 1; }

/* Footer */
.site-footer { background: var(--bg); padding: 88px 0 28px; overflow: hidden; }
.footer-top { text-align: center; margin-bottom: 32px; }
.footer-top .eyebrow { text-align: center; }
.footer-email {
  display: inline-flex; align-items: center; gap: 12px; background: none; border: none; padding: 0; margin: 0; cursor: pointer;
  font-family: var(--font-body); color: var(--ink); font-size: clamp(22px, 3.4vw, 34px); font-weight: 600; letter-spacing: -0.01em;
}
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 64px; }
.pill-link { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; color: var(--ink-soft); }
.pill-link:hover { border-color: var(--ink); color: var(--ink); }
.footer-wordmark {
  margin: 0;
  text-align: center;
  font-size: clamp(64px, 16vw, 200px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.85;
  color: var(--ink);
}
.footer-bottom { text-align: center; padding-top: 28px; font-size: 13px; color: var(--muted); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Botón flotante — Menú, centrado abajo (patrón "burbuja") */
.float-cluster { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 150; display: flex; gap: 10px; }
.pill-trigger {
  display: inline-flex; align-items: center; gap: 6px; padding: 12px 22px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(242, 242, 236, 0.92); backdrop-filter: blur(8px);
  color: var(--ink); font-family: var(--font-body); font-size: 14px; font-weight: 500; cursor: pointer;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.1);
  transition: transform 0.2s var(--ease), background 0.2s ease;
}
.pill-trigger:hover { transform: translateY(-2px); }

/* Glass card — menú desplegable estilo burbuja */
.glass-card {
  position: fixed; left: 50%; bottom: 84px; z-index: 160;
  width: min(320px, calc(100vw - 40px));
  background: rgba(242, 242, 236, 0.88);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--line); border-radius: 20px; padding: 24px;
  opacity: 0; transform: translateX(-50%) translateY(12px); visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.glass-card.is-open {
  opacity: 1; transform: translateX(-50%) translateY(0); visibility: visible;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
}
.glass-card-close {
  position: absolute; top: 14px; right: 14px; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font-size: 16px; line-height: 1; cursor: pointer;
}
.glass-card-nav { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.glass-card-nav a { padding: 9px 0; font-size: 17px; font-weight: 500; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.glass-card-nav a:hover { color: var(--ink); }
.glass-card-contact {
  width: 100%; margin-top: 18px; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: none; border: none; font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer;
}
.glass-card-contact:hover .glass-card-arrow { background: var(--ink); color: var(--bg); }
.glass-card-arrow {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center;
  color: var(--ink); flex: none; transition: background 0.2s ease, color 0.2s ease;
}
.glass-card-social { display: flex; gap: 10px; margin-top: 14px; }
.glass-card-social a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-soft); }
.glass-card-social a:hover { border-color: var(--ink); color: var(--ink); }

/* Panel de diálogo — flotante oscuro, estilo burbuja de chat */
.dialogue-panel {
  position: fixed; right: 20px; bottom: 84px; z-index: 160;
  width: min(380px, calc(100vw - 40px));
  max-height: min(560px, calc(100vh - 120px));
  overflow-y: auto;
  background: var(--ink); color: var(--bg);
  border-radius: 20px; padding: 24px;
  opacity: 0; transform: translateY(12px); visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.dialogue-panel.is-open {
  opacity: 1; transform: translateY(0); visibility: visible;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
}
.dialogue-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #9a9a92; margin-bottom: 18px; }
.dialogue-close { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #3a3a38; background: transparent; color: var(--bg); cursor: pointer; }
.dialogue-progress { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #9a9a92; margin: 0 0 8px; }
.dialogue-progress-bar { height: 2px; background: #3a3a38; margin-bottom: 20px; position: relative; }
.dialogue-progress-bar span { position: absolute; left: 0; top: 0; height: 100%; background: var(--accent); transition: width 0.4s var(--ease); display: block; }

.dialogue-step { display: none; }
.dialogue-step.is-active { display: block; animation: stepIn 0.4s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .dialogue-step.is-active { animation: none; } }

.dialogue-question { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 18px; max-width: 30ch; }
.dialogue-chips { display: flex; flex-direction: column; gap: 8px; }
.chip-dark { border-color: #3a3a38; color: var(--bg); text-align: left; }
.chip-dark:hover { border-color: #6b6b66; }
.chip-dark.is-selected { background: var(--accent); border-color: var(--accent); color: #111; }

.dialogue-panel .field label { color: #c8c8c0; }
.dialogue-panel .field input, .dialogue-panel .field textarea { background: #1c1c1a; border-color: #3a3a38; color: var(--bg); }
.dialogue-panel .field input:focus, .dialogue-panel .field textarea:focus { border-color: var(--accent); background: #1c1c1a; }

.dialogue-nav { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.dialogue-btn { background: var(--accent); color: #111; border: none; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; transition: background 0.2s ease; }
.dialogue-btn:hover { background: #fff; }
.dialogue-btn-ghost { background: transparent; border: 1px solid #3a3a38; color: var(--bg); padding: 12px 18px; border-radius: 999px; font-size: 14px; cursor: pointer; }
.dialogue-note { font-size: 13px; color: #c8c8c0; margin-top: 14px; min-height: 16px; }

/* Custom cursor (desktop only, respeta reduced motion) */
.cursor-dot {
  position: fixed; top: 0; left: 0; width: 16px; height: 16px; margin: 0; border-radius: 50%;
  border: 1px solid var(--ink); pointer-events: none; z-index: 999;
  transform: translate(-9999px, -9999px);
  transition: width 0.2s var(--ease), height 0.2s var(--ease), background 0.2s var(--ease);
  mix-blend-mode: difference;
}
.cursor-dot.is-hover { width: 34px; height: 34px; background: rgba(255, 100, 70, 0.5); }
