@font-face {
  font-family: Teko;
  src: url("../assets/fonts/teko-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Teko;
  src: url("../assets/fonts/teko-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Teko;
  src: url("../assets/fonts/teko-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Teko;
  src: url("../assets/fonts/teko-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Figtree;
  src: url("../assets/fonts/figtree-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Figtree;
  src: url("../assets/fonts/figtree-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Figtree;
  src: url("../assets/fonts/figtree-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Figtree;
  src: url("../assets/fonts/figtree-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #070807;
  --steel: #101310;
  --panel: #171b16;
  --line: #2a3324;
  --lime: #a8ff32;
  --lime-ink: #081400;
  --dust: #c9b089;
  --paper: #efe8d8;
  --mute: #9aa392;
  --danger: #ff5a3c;
  --wa: #25d366;
  --max: 1120px;
  --header: 64px;
  --font-d: Teko, "Arial Narrow", Impact, sans-serif;
  --font-b: Figtree, system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

body {
  padding-bottom: 64px;
}

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

a {
  color: var(--lime);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #d4ff88;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--lime);
  color: var(--lime-ink);
  padding: 8px 12px;
  z-index: 100;
  font-weight: 700;
}
.skip:focus {
  top: 12px;
}

.demo-ribbon {
  background: var(--lime);
  color: var(--lime-ink);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.01em;
}
.demo-ribbon button {
  margin-left: 8px;
  border: 0;
  background: var(--lime-ink);
  color: var(--lime);
  font: inherit;
  font-weight: 700;
  padding: 4px 10px;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header);
  padding: 8px 16px;
  background: rgba(7, 8, 7, 0.92);
  border-bottom: 2px solid var(--lime);
  backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  text-decoration: none;
  min-height: 44px;
}
.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.brand-name {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  line-height: 0.9;
}
.brand-name span {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--lime);
  letter-spacing: 0.16em;
}

.nav-toggle {
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 2px solid var(--lime);
  background: transparent;
  color: var(--lime);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  flex: 0 0 auto;
}
.nav-toggle[aria-expanded="true"] {
  background: var(--lime);
  color: var(--lime-ink);
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--steel);
  border-bottom: 2px solid var(--lime);
  padding: 8px 16px 16px;
}
.site-nav.is-open {
  display: block;
}
.site-nav a {
  display: block;
  color: var(--paper);
  text-decoration: none;
  padding: 12px 4px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.site-nav a:hover,
.site-nav a:focus {
  color: var(--lime);
}

.header-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  background: var(--lime);
  color: var(--lime-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.header-wa:hover {
  color: var(--lime-ink);
  filter: brightness(1.08);
}

.hero {
  display: grid;
  grid-template-rows: minmax(220px, 48vh) auto;
}

.hero-media {
  position: relative;
  overflow: hidden;
  background: #1a140c;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 8, 7, 0.78) 0%, rgba(7, 8, 7, 0.2) 24%, transparent 42%, rgba(7, 8, 7, 0.55) 72%, rgba(7, 8, 7, 0.96) 100%);
  pointer-events: none;
}
.hero-credit {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  font-size: 0.68rem;
  color: #efe8d8cc;
  background: #07080799;
  padding: 3px 7px;
}

.hero-panel {
  position: relative;
  padding: 20px 16px 36px;
  background:
    linear-gradient(180deg, #070807 0%, #0c100a 100%);
  overflow: hidden;
}
.hero-panel::before {
  content: "11";
  position: absolute;
  right: -8px;
  top: -18px;
  font-family: var(--font-d);
  font-size: 11rem;
  line-height: 0.8;
  color: var(--lime);
  opacity: 0.08;
  pointer-events: none;
  font-weight: 700;
}
.hero-logo {
  width: 148px;
  margin: 0 0 12px;
  filter: drop-shadow(0 0 18px #a8ff3255);
  animation: mark-pulse 3.6s ease-in-out infinite;
}
.hero h1 {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(2.4rem, 10vw, 4.4rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  margin: 0 0 12px;
  max-width: 14ch;
}
.hero-lead {
  margin: 0 0 18px;
  color: var(--dust);
  max-width: 36ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--mute);
  font-size: 0.9rem;
}

@keyframes mark-pulse {
  0%, 100% { filter: drop-shadow(0 0 10px #a8ff3233); }
  50% { filter: drop-shadow(0 0 22px #a8ff3288); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  font-family: var(--font-b);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.btn-lime {
  background: var(--lime);
  color: var(--lime-ink);
}
.btn-lime:hover {
  color: var(--lime-ink);
  filter: brightness(1.06);
}
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line);
}
.btn-ghost:hover {
  color: var(--lime);
  border-color: var(--lime);
}
.btn-wa {
  background: var(--wa);
  color: #04210c;
}

.wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.section {
  padding: 56px 0;
  position: relative;
}
.section h2 {
  font-family: var(--font-d);
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 0.92;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}
.section-lead {
  color: var(--mute);
  max-width: 52ch;
  margin: 0 0 28px;
}

.slash {
  display: inline-block;
  width: 42px;
  height: 6px;
  background: var(--lime);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  margin-bottom: 14px;
}

.enfoque {
  background: var(--steel);
  border-block: 2px solid var(--lime);
}
.enfoque-grid {
  display: grid;
  gap: 18px;
}
.enfoque article {
  padding: 18px 0 6px;
  border-top: 1px solid var(--line);
}
.enfoque h3 {
  font-family: var(--font-d);
  font-size: 1.8rem;
  margin: 0 0 8px;
  letter-spacing: 0.03em;
}
.enfoque p {
  margin: 0;
  color: var(--mute);
}

.explorer {
  display: grid;
  gap: 16px;
}
.explorer-stage {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.explorer-stage img,
.explorer-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.explorer-stage video {
  display: none;
}
.explorer-stage.is-playing video {
  display: block;
}
.explorer-stage.is-playing img.poster {
  display: none;
}
.vid-btn {
  position: absolute;
  left: 12px;
  bottom: 12px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  background: var(--lime);
  color: var(--lime-ink);
  font-weight: 700;
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.zoom-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-height: 44px;
  padding: 0 14px;
  border: 2px solid var(--lime);
  background: #070807cc;
  color: var(--lime);
  font-weight: 700;
  cursor: pointer;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.thumbs button {
  padding: 0;
  border: 2px solid transparent;
  background: var(--panel);
  cursor: pointer;
  color: var(--paper);
  text-align: left;
}
.thumbs button[aria-selected="true"] {
  border-color: var(--lime);
}
.thumbs img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.thumbs span {
  display: block;
  padding: 8px;
  font-size: 0.78rem;
  font-weight: 600;
}

.explorer-copy h3 {
  font-family: var(--font-d);
  font-size: 2rem;
  margin: 8px 0 8px;
}
.explorer-copy p {
  color: var(--mute);
  margin: 0 0 14px;
}

.team-list {
  display: grid;
  gap: 28px;
}
.person {
  display: grid;
  gap: 12px;
}
.person img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
}
.person h3 {
  font-family: var(--font-d);
  font-size: 2rem;
  margin: 0;
}
.person .role {
  color: var(--lime);
  font-weight: 600;
  margin: 0;
}
.person p {
  margin: 0;
  color: var(--mute);
}
.photo-note {
  font-size: 0.75rem;
  color: #7d8578;
}

.planes {
  background:
    repeating-linear-gradient(
      -18deg,
      #101310 0 28px,
      #121612 28px 56px
    );
}
.plan-box {
  background: var(--ink);
  border-left: 6px solid var(--lime);
  padding: 22px 18px;
}
.plan-box p {
  margin: 0 0 16px;
  color: var(--mute);
}

.agenda {
  background: var(--paper);
  color: var(--ink);
}
.agenda h2,
.agenda .slash {
  color: var(--ink);
}
.agenda .slash {
  background: var(--lime-ink);
}
.agenda .section-lead {
  color: #3d4338;
}
.demo-chip {
  display: inline-block;
  background: var(--lime-ink);
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  margin-bottom: 10px;
}
.agenda-week {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
.day-col {
  flex: 0 0 108px;
  background: #fff;
  border: 1px solid #d7d0c2;
  padding: 10px 8px;
}
.day-col h3 {
  margin: 0 0 8px;
  font-size: 0.85rem;
}
.slot {
  width: 100%;
  min-height: 40px;
  margin: 0 0 6px;
  border: 1px dashed #7a8470;
  background: #f7f3ea;
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}
.slot:hover,
.slot:focus {
  border-style: solid;
  border-color: var(--lime-ink);
  background: var(--lime);
}
.agenda-note {
  margin-top: 16px;
  font-size: 0.92rem;
}
.agenda-result {
  min-height: 1.4em;
  margin-top: 10px;
  font-weight: 600;
}

.lugar {
  background: var(--steel);
}
.lugar-grid {
  display: grid;
  gap: 18px;
}
.map-frame {
  aspect-ratio: 4 / 3;
  background: #223;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.lugar dl {
  margin: 0;
}
.lugar dt {
  font-weight: 700;
  color: var(--lime);
  margin-top: 12px;
}
.lugar dd {
  margin: 4px 0 0;
  color: var(--mute);
}

.site-footer {
  padding: 28px 16px 40px;
  border-top: 2px solid var(--lime);
  font-size: 0.92rem;
}
.site-footer .dev {
  margin: 18px 0 0;
  color: var(--mute);
}
.site-footer .dev a {
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--lime);
}

.wa-dock {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 35;
  min-height: 48px;
  padding: 0 16px;
  background: var(--wa);
  color: #04210c;
  text-decoration: none;
  font-weight: 800;
  display: flex;
  align-items: center;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  box-shadow: 0 8px 24px #0008;
}
.wa-dock:hover {
  color: #04210c;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal.is-open {
  display: flex;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: #070807e6;
}
.modal-card {
  position: relative;
  width: min(100%, 520px);
  background: var(--panel);
  border: 2px solid var(--lime);
  padding: 22px 18px 20px;
  max-height: 90vh;
  overflow: auto;
}
.modal-card h2 {
  font-family: var(--font-d);
  font-size: 2.1rem;
  margin: 0 48px 10px 0;
}
.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border: 2px solid var(--lime);
  background: transparent;
  color: var(--lime);
  font-size: 1.4rem;
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  background: #070807f2;
  padding: 16px;
  align-items: center;
  justify-content: center;
}
.lightbox.is-open {
  display: flex;
}
.lightbox img {
  max-height: 86vh;
  max-width: 96vw;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 2px solid var(--lime);
  background: #000;
  color: var(--lime);
  cursor: pointer;
}

.quote {
  margin: 18px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  color: var(--paper);
}
.quote footer {
  color: var(--mute);
  font-size: 0.85rem;
  margin-top: 6px;
}

@media (max-width: 420px) {
  .brand-name {
    display: none;
  }
}

@media (min-width: 720px) {
  .nav-toggle {
    display: none;
  }
  .site-nav {
    display: flex;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
    gap: 4px;
  }
  .site-nav a {
    border: 0;
    padding: 8px 10px;
    font-size: 0.92rem;
  }
  .hero {
    grid-template-rows: minmax(280px, 58vh) auto;
  }
  .hero-panel {
    padding: 28px 8vw 48px;
  }
  .enfoque-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .enfoque article {
    border-top: 0;
    border-left: 3px solid var(--lime);
    padding: 0 0 0 16px;
  }
  .explorer {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
  .thumbs {
    grid-template-columns: repeat(3, 1fr);
  }
  .team-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .lugar-grid {
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
  }
  .map-frame {
    aspect-ratio: 16 / 11;
  }
}

@media (min-width: 1080px) {
  .hero {
    display: grid;
    grid-template-rows: minmax(420px, 78vh);
    grid-template-columns: 1fr;
  }
  .hero-media {
    grid-area: 1 / 1;
  }
  .hero-panel {
    grid-area: 1 / 1;
    align-self: end;
    background: linear-gradient(0deg, #070807f2 0%, #070807d0 55%, transparent 100%);
    padding: 80px 8vw 40px;
  }
  .team-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-logo {
    animation: none;
  }
}

body.modal-open {
  overflow: hidden;
}
