/* Atik Tech — sistema de diseño compartido (home y landings).
   Paleta Jade, Unbounded + IBM Plex, secciones que alternan oscuro/claro. */
:root {
  /* Marca Atik Tech · paleta Jade (ver kit de marca) */
  --bg: #0d1a16; /* negro + 9 % jade */
  --bg-2: #13241e;
  --bg-3: #1a2e27;
  --accent-bright: #5fd6bb; /* jade brillante: acentos sobre oscuro */
  --accent-ink: #0b6b54; /* jade profundo: legible sobre claro (AA) */
  --accent-deep: #0e8f73; /* jade */
  --paper: #f1f5f2;
  --text: #f4f2ea; /* hueso */
  --ink: #14140f;
  --ink-2: #4a5249;
  --mute: #b3bdb6;
  --line-dark: rgba(244, 242, 234, 0.12);
  --line-light: rgba(13, 26, 22, 0.1);
  --font: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Unbounded', 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --max: 1120px;
  --nav-h: 64px;
  /* Caja de bits (oscuro por defecto; las zonas claras la redefinen) */
  --bb-frame: #22a58a;
  --bb-hi: #5fd6bb;
  --bb-lo: #0b6b54;
  --bb-off: rgba(95, 214, 187, 0.1);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--mute);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: var(--text);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 8px;
}

/* ---------- tipografía ---------- */
h1,
h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
h3,
h4 {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
h1,
h2,
h3 {
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  line-height: 1.1;
}
h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.45;
  max-width: 40em;
}
.center {
  text-align: center;
}
.center .lead,
.center > p {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- secciones alternas ---------- */
.s {
  padding: clamp(72px, 11vw, 140px) 0;
}
.s-dark {
  background: var(--bg);
  color: var(--mute);
}
.s-light {
  background: var(--paper);
  color: var(--ink-2);
}
.s-light h1,
.s-light h2,
.s-light h3,
.s-light h4 {
  color: var(--ink);
}
.s-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.s-head p {
  margin-top: 18px;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.5;
}
.s-head.center {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- navegación ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 26, 22, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-dark);
}
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
/* Logotipo: caja de bits + ATIK / TECH, las dos palabras al mismo ancho (kit de marca §1) */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1;
  color: var(--text);
}
.logo-box {
  width: 2.1em;
  height: 2.1em;
  flex: none;
}
.logo-word {
  display: grid;
  gap: 0.32em;
  width: 5.1em;
}
.logo-word > span {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.logo-atik {
  font-weight: 600;
}
.logo-atik svg {
  width: 0.95em;
  height: 0.75em;
  display: inline-block;
  max-width: none;
}
.logo-tech {
  font-weight: 400;
  font-size: 0.5em;
  color: var(--accent-bright);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.85rem;
}
.nav-links a {
  color: var(--mute);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current] {
  color: var(--text);
}
.nav-cta {
  background: var(--accent-bright);
  color: var(--bg);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}

/* ---------- botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.02rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.2s,
    opacity 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--accent-bright);
  color: var(--bg);
}
.btn-primary:hover {
  background: #86e3ce;
}
.btn-dark {
  background: var(--bg);
  color: var(--text);
}
.btn-dark:hover {
  background: var(--bg-3);
}
.btn-outline {
  border-color: var(--line-dark);
  color: var(--text);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
}
.btn-outline-light {
  border-color: var(--line-light);
  color: var(--ink);
}
.btn-outline-light:hover {
  background: rgba(13, 26, 22, 0.05);
}
.btn[aria-disabled='true'] {
  opacity: 0.5;
  pointer-events: none;
}
.link-more {
  display: inline-block;
  padding: 10px 0;
  font-weight: 600;
  color: var(--accent-bright);
}
.link-more::after {
  content: ' ›';
}
.s-light .link-more {
  color: var(--accent-ink);
}
.link-more:hover {
  text-decoration: underline;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- hero ---------- */
.hero-box {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 0 auto clamp(20px, 3vw, 32px);
}
.hero-box svg {
  width: clamp(96px, 12vw, 132px);
  height: auto;
}
.hero-box figcaption {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  min-height: 1em;
}

.hero {
  padding-top: clamp(48px, 6.5vw, 88px);
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 70% 50% at 50% 100%,
      rgba(95, 214, 187, 0.1),
      transparent 70%
    ),
    var(--bg);
}
.hero h1 {
  max-width: 14em;
  margin: 0 auto;
}
.hero .lead {
  margin: 24px auto 0;
}
.hero .actions {
  margin-top: 28px;
}
.hero .trust {
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--mute);
}
.stage {
  position: relative;
  margin: clamp(36px, 5vw, 60px) auto 0;
  max-width: 1000px;
  padding: 0 24px;
  -webkit-mask-image: linear-gradient(#000 62%, transparent);
  mask-image: linear-gradient(#000 62%, transparent);
}
.frame {
  border-radius: 14px 14px 0 0;
  background: #0a1612;
  border: 1px solid var(--line-dark);
  border-bottom: 0;
  overflow: hidden;
}
.frame-bar {
  display: flex;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-dark);
}
.frame-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2a3d35;
}
.frame img {
  width: calc(100% + 15px); /* recorta la barra de scroll de la captura */
  max-width: none;
  height: auto;
}
.phone {
  position: absolute;
  right: 6%;
  bottom: -14%;
  width: 24%;
  min-width: 120px;
  border-radius: 28px;
  border: 5px solid #1b2e27;
  background: #000;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px var(--line-dark);
}
.phone img {
  width: 100%;
  height: auto;
}

/* ---------- tarjetas / bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--text);
  border: 1px solid var(--line-light);
  border-radius: 28px;
  padding: clamp(28px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 380px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(13, 26, 22, 0.1);
}
.card p {
  color: var(--ink-2);
}
.card .chips {
  margin-top: auto;
}
.card.dark {
  background: var(--bg);
  border-color: var(--bg);
}
.card.dark h3 {
  color: var(--text);
}
.card.dark p {
  color: var(--mute);
}
.card.dark .link-more {
  color: var(--accent-bright);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(13, 26, 22, 0.06);
  color: var(--ink-2);
}
.card.dark .chip,
.s-dark .chip {
  background: rgba(255, 255, 255, 0.08);
  color: var(--mute);
}

/* ---------- pasos y valores ---------- */
.cols3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
.step .num {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--accent-bright);
  margin-bottom: 16px;
}
.step p {
  margin-top: 10px;
  font-size: 1.05rem;
}
.value {
  border-top: 1px solid var(--line-light);
  padding-top: 28px;
}
.value h3 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}
.value p {
  font-size: 1.05rem;
}

/* ---------- servicio y precios ---------- */
.checks {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 40px;
  max-width: 860px;
  margin: 0 auto 56px;
}
.checks li {
  position: relative;
  padding-left: 28px;
  font-size: 1.02rem;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 7px;
  height: 12px;
  border: solid var(--accent-bright);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.tier {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line-dark);
  border-radius: 28px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tier.featured {
  border-color: var(--accent-bright);
  background: linear-gradient(180deg, #17352c, var(--bg-2));
}
.tier-badge {
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--accent-bright);
  color: var(--bg);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.price {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
.price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--mute);
}
.tier ul {
  list-style: none;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}
.tier li::before {
  content: '— ';
  color: var(--accent-bright);
}
.service-cta {
  margin-top: 56px;
  text-align: center;
}
.service-cta p {
  margin-top: 14px;
  font-size: 0.95rem;
}
.waitlist {
  max-width: 760px;
  margin: 0 auto;
  background: var(--text);
  border: 1px solid var(--line-light);
  border-radius: 32px;
  padding: clamp(36px, 6vw, 72px);
  text-align: center;
}
.waitlist p {
  margin: 16px auto 32px;
  max-width: 34em;
  font-size: 1.1rem;
}
.note {
  margin-top: 28px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--ink-2);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--line-light);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--accent-ink);
  transition: transform 0.25s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 0 24px;
  font-size: 1.05rem;
  max-width: 44em;
}

/* ---------- contacto ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.contact h3 {
  font-size: 1.1rem;
  margin: 0 0 12px;
}
.contact-row {
  margin-bottom: 8px;
}
.contact-row a {
  display: inline-block;
  padding: 10px 0;
  color: var(--accent-bright);
}
form {
  display: grid;
  gap: 18px;
}
label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--mute);
}
input,
textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 14px 16px;
  min-height: 48px;
}
textarea {
  min-height: 140px;
  resize: vertical;
}
input:focus,
textarea:focus {
  outline: 2px solid var(--accent-bright);
  outline-offset: 0;
  border-color: transparent;
}
.form-note {
  font-size: 0.85rem;
  color: var(--mute);
}

/* ---------- landing: referencia de comandos (Aprendizaje) ---------- */
.ref {
  background: #0a1612;
  border: 1px solid var(--line-dark);
  border-radius: 16px 16px 0 0;
  border-bottom: 0;
  overflow: hidden;
  text-align: left;
}
.ref-tabs {
  display: flex;
  gap: 6px;
  padding: 14px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line-dark);
}
.ref-tabs span {
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  color: var(--mute);
}
.ref-tabs span.on {
  background: var(--accent-bright);
  color: var(--bg);
  font-weight: 600;
}
.ref-body {
  padding: 8px 14px 36px;
  display: grid;
}
.ref-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  padding: 18px 8px;
  border-bottom: 1px solid var(--line-dark);
  align-items: baseline;
}
.ref-row:last-child {
  border-bottom: 0;
}
.ref-row code {
  font-family: var(--mono);
  font-size: clamp(0.82rem, 1.6vw, 1rem);
  color: var(--accent-bright);
  overflow-wrap: anywhere;
}
.ref-row span {
  font-size: 0.95rem;
  color: var(--mute);
}
.app-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.app-mark {
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
}
.app-split p {
  margin-top: 16px;
  font-size: 1.12rem;
}
.facts {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 10px;
}
.facts li {
  padding-left: 26px;
  position: relative;
}
.facts li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.4em;
  width: 7px;
  height: 12px;
  border: solid var(--accent-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.lang-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.lang-grid .chip {
  font-size: 0.95rem;
  padding: 10px 18px;
  background: var(--text);
  border: 1px solid var(--line-light);
  color: var(--ink);
  font-weight: 500;
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.stores .btn {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.92rem;
}


/* ---------- landings de Sistemas y Suite ---------- */
.hero-compact {
  padding-bottom: clamp(48px, 7vw, 88px);
}
.jump {
  margin-top: 36px;
  justify-content: center;
}
.jump .chip {
  font-size: 0.9rem;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  transition: background 0.2s;
}
.jump .chip:hover {
  background: rgba(255, 255, 255, 0.16);
}
.app-split h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
}
.app-split.rev > :first-child {
  order: 2;
}
.app-split .chips {
  margin-top: 16px;
}
.s-dark .app-split p {
  color: var(--mute);
}
.s-dark .facts li::before {
  border-color: var(--accent-bright);
}
.s-dark .link-more {
  color: var(--accent-bright);
}
.soon {
  margin-top: 28px;
  font-size: 0.92rem;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.tile {
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  border: 1px solid var(--line-dark);
  background:
    linear-gradient(160deg, rgba(95, 214, 187, 0.14), rgba(14, 143, 115, 0.18)),
    var(--bg-2);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 16px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.25;
  min-width: 0;
  overflow-wrap: anywhere;
}
.tile::before {
  content: attr(data-n);
  color: var(--accent-bright);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.shots {
  position: relative;
  padding-bottom: 14%;
}
.shots .frame {
  border-radius: 14px;
  border-bottom: 1px solid var(--line-dark);
}
.shots .phone {
  bottom: 0;
  right: 4%;
  width: 26%;
}
.carousel {
  position: relative;
}
.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}
.carousel-slide {
  flex: 0 0 88%;
  scroll-snap-align: start;
  margin: 0;
}
.carousel-slide img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--line-light);
  background: var(--text);
}
.carousel-slide figcaption {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.s-dark .carousel-slide img {
  border-color: var(--line-dark);
}
.s-dark .carousel-slide figcaption {
  color: var(--mute);
}
.carousel-arrows {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.carousel-arrows button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  background: var(--text);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
}
.s-dark .carousel-arrows button {
  background: var(--bg-2);
  border-color: var(--line-dark);
  color: var(--text);
}
.band .actions {
  margin-top: 32px;
}

/* ---------- pie ---------- */
footer {
  background: var(--paper);
  color: var(--ink-2);
  font-size: 0.82rem;
  padding: 56px 0 28px;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-light);
}
footer .logo {
  color: var(--ink);
}
footer .logo-tech {
  color: var(--accent-ink);
}
/* Caja de bits sobre fondo claro */
footer,
.s-light {
  --bb-frame: #0e8f73;
  --bb-hi: #1fa184;
  --bb-lo: #06463a;
  --bb-off: rgba(14, 143, 115, 0.09);
}
footer h4 {
  font-size: 0.82rem;
  letter-spacing: 0;
  margin-bottom: 12px;
  color: var(--ink);
}
footer a {
  display: block;
  padding: 4px 0;
}
footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 20px;
}

/* ---------- aparición al hacer scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .card {
    transition: none;
  }
}

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .bento,
  .cols3,
  .tiers,
  .contact,
  .app-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .card {
    min-height: 0;
  }
  .checks {
    grid-template-columns: 1fr;
  }
  .foot-top {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(13, 26, 22, 0.97);
    border-bottom: 1px solid var(--line-dark);
    padding: 8px 24px 16px;
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--line-dark);
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .nav-cta {
    display: none;
  }
  .phone {
    bottom: -8%;
    width: 30%;
  }
  .ref-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
