/* Local, licensed brand fonts; only the weights used on this site. */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/geist-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/geist-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/newsreader-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =============================================================
   THAC — styles.css
   Dark aqua system derived from the THAC logo
   (mint → turquoise → cyan on near-black navy).
   Single file, sectioned. Mobile-first.
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Surfaces */
  --bg:       #04070c;
  --bg-2:     #070c15;
  --surface:  #0b1420;
  --surface-2:#0f1b28;
  --line:     rgba(150, 205, 214, 0.12);
  --line-2:   rgba(150, 205, 214, 0.22);

  /* Ink */
  --text:  #eef4f5;
  --muted: #a1b4ba;
  --dim:   #82969e;

  /* Brand — pulled from the logo gradient */
  --aqua:  #8fe9d0;
  --teal:  #34d6c6;
  --cyan:  #4fc3e8;
  --accent: #34d6c6;
  --accent-ink: #04211f;
  --brand-grad: linear-gradient(100deg, #8fe9d0 0%, #34d6c6 46%, #4fc3e8 100%);
  --glow: rgba(52, 214, 198, 0.28);

  /* Type */
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Rhythm */
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(3.5rem, 8vw, 6rem);
  --radius: 16px;
  --radius-lg: 24px;

  /* Easings */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: wrap; }
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.02em; font-weight: 500; }
h1, h2 { text-wrap: balance; }

/* Display headlines use the serif (Mercury-style editorial contrast).
   Body, labels, eyebrows, buttons and small UI stay on the sans. */
.hero__title,
.section__title,
.area__title {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.06;
}
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  padding: 0.7rem 1.1rem; border-radius: 10px;
  background: var(--text); color: var(--bg); font-weight: 600;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 1.1rem;
}

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease-out), background-color 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn--solid {
  background: var(--brand-grad);
  color: var(--accent-ink);
  box-shadow: 0 8px 30px -12px var(--glow);
}
.btn--solid:hover { box-shadow: 0 14px 44px -14px var(--glow); }
.btn--ghost {
  border: 1px solid var(--line-2);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--aqua); background: rgba(143, 233, 208, 0.06); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }

/* =============================================================
   5. Header / nav
   ============================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background-color 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
  /* readable over the video hero before any scroll */
  background: linear-gradient(180deg, rgba(4, 7, 12, 0.62), rgba(4, 7, 12, 0));
}
.site-header.is-scrolled {
  background: rgba(4, 7, 12, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand__mark { width: 36px; height: 36px; object-fit: contain; }
.brand__name {
  font-weight: 600; font-size: 1.15rem; letter-spacing: 0.14em;
}

.nav { display: flex; align-items: center; }
.nav__menu { display: flex; align-items: center; gap: 2rem; }
.nav__menu a {
  font-size: 0.95rem; color: var(--muted);
  transition: color 0.25s var(--ease-out);
}
.nav__menu a:hover { color: var(--text); }
.nav__cta-item a { color: var(--accent-ink); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: 12px;
}
.nav__toggle-bar,
.nav__toggle-bar::before,
.nav__toggle-bar::after {
  content: ""; display: block;
  width: 18px; height: 1.5px; background: var(--text);
  transition: transform 0.3s var(--ease-out), opacity 0.2s var(--ease-out);
}
.nav__toggle-bar::before { transform: translateY(-6px); }
.nav__toggle-bar::after { transform: translateY(4.5px); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::before { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::after { transform: rotate(-45deg); }

/* =============================================================
   6. Hero — native film, first-scroll playback
   ============================================================= */
.hero { position: relative; background: var(--bg); }
.hero__stage {
  position: relative;
  min-height: calc(100svh - 72px);
  isolation: isolate;
  overflow: clip;
}
.hero__media { position: absolute; inset: 0; z-index: 0; background: #05080d; }
.hero__poster, .hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
}
.hero__video { opacity: 0; transition: opacity 0.45s ease; }
.hero--video-live .hero__video { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,7,12,.80), rgba(4,7,12,.40) 27%,
    rgba(4,7,12,.08) 49%, rgba(4,7,12,.20) 65%, rgba(4,7,12,.90));
}
.hero__inner {
  position: relative; z-index: 1;
  min-height: calc(100svh - 72px);
  display: grid; grid-template-rows: auto minmax(100px, 1fr) auto;
  text-align: center;
  padding-top: clamp(1.5rem, 4vh, 3rem);
  padding-bottom: clamp(1.75rem, 4vh, 3rem);
}
.hero__lead {
  display: grid; justify-items: center; gap: .9rem;
  transition: opacity .65s ease, transform .65s ease;
}
.hero__lead .eyebrow { margin: 0; }
.hero__foot {
  grid-row: 3; display: grid; justify-items: center; gap: .85rem;
  transition: opacity .65s ease, transform .65s ease;
}
.hero__title {
  font-size: clamp(2.05rem, 4.6vw, 3.5rem); line-height: 1.1;
  max-width: 20ch; text-wrap: balance;
  text-shadow: 0 2px 30px rgba(4,7,12,.65);
}
.hero__lede {
  max-width: 44ch; color: var(--text);
  font-size: clamp(.95rem, 1.4vw, 1.075rem); line-height: 1.55;
  text-shadow: 0 1px 18px rgba(4,7,12,.8);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.hero__play {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: .5rem .9rem; font-size: .78rem;
  color: var(--text); text-decoration: underline; text-underline-offset: .3em;
}
.hero__play:hover { color: var(--aqua); }
/* Keep the hero, Web and NFC eager. Render secondary sections near the
   viewport; intrinsic sizes preserve scroll space until actual layout. */
@supports (content-visibility: auto) {
  #soluciones, #smart-menu, #sistemas, #sistemas-listos, #automate, #industrias,
  #proceso, #planes, #proyectos, #faq, #contacto {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
  }
  #sistemas { contain-intrinsic-size: auto 1800px; }
  #smart-menu { contain-intrinsic-size: auto 1400px; }
  .has-section-navigation #soluciones, .has-section-navigation #smart-menu,
  .has-section-navigation #sistemas, .has-section-navigation #sistemas-listos,
  .has-section-navigation #automate,
  .has-section-navigation #industrias, .has-section-navigation #proceso,
  .has-section-navigation #planes, .has-section-navigation #proyectos,
  .has-section-navigation #faq, .has-section-navigation #contacto {
    content-visibility: visible;
  }
}
@media (min-width: 701px) {
  /* The copy sits over the film here, so it steps aside while it runs and
     returns when it ends, pauses or fails. Focus inside the group brings it
     back, so the buttons and the play control are never invisible-but-
     reachable for a keyboard visitor. */
  .hero--playing .hero__lead { opacity: 0; transform: translateY(-12px); }
  .hero--playing .hero__foot { opacity: 0; transform: translateY(12px); pointer-events: none; }
  .hero--playing .hero__foot:focus-within { opacity: 1; transform: none; pointer-events: auto; }
}
@media (max-width: 700px) {
  .hero__stage { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; }
  .hero__inner { display: contents; }
  .hero__lead, .hero__foot, .hero__actions { min-width: 0; }
  .hero__lede { max-width: 100%; }
  .hero__lead {
    position: relative; z-index: 1; grid-row: 1;
    padding: 1.4rem var(--gutter) 1rem; gap: .8rem; text-align: center;
  }
  .hero__title { font-size: clamp(1.85rem, 7.3vw, 2.65rem); }
  .hero__lede { max-width: 38ch; }
  .hero__media {
    position: relative; grid-row: 2; width: 100%; aspect-ratio: 16 / 9;
  }
  .hero__poster, .hero__video { object-fit: contain; }
  .hero__scrim {
    background: linear-gradient(180deg, var(--bg), transparent 16%, transparent 82%, var(--bg));
  }
  .hero__foot {
    position: relative; z-index: 1; grid-row: 3;
    align-content: center; padding: .9rem var(--gutter) 1.5rem;
    text-align: center; gap: .65rem;
  }
  .hero__actions { width: 100%; max-width: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__lead, .hero__foot, .hero__video { transition: none; }
}

/* =============================================================
   7. Connected — the netgraph beat (was the hero's right column)
   ============================================================= */
.connected { background: var(--bg-2); overflow: clip; }
.connected__inner {
  display: grid; gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}
.connected__inner > * { min-width: 0; }
.connected__copy .hero__tags { margin-top: 1.6rem; }
.hero__tags {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em;
  color: var(--dim); text-transform: uppercase;
}
.hero__tags li { position: relative; }
.hero__tags li + li::before {
  content: "·"; position: absolute; left: -0.85rem; color: var(--line-2);
}

.connected__visual { justify-self: center; width: min(430px, 100%); }
.netgraph { width: 100%; height: auto; }
.netgraph__nodes rect {
  fill: var(--surface); stroke: var(--line-2); stroke-width: 1;
}
.netgraph__core circle { filter: drop-shadow(0 0 26px var(--glow)); }
.netgraph__links path { stroke-dasharray: 2 7; }

/* =============================================================
   8. Sections (generic)
   ============================================================= */
.section { padding-block: var(--section-y); position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section__title {
  font-size: clamp(1.95rem, 4.7vw, 3.5rem);
  line-height: 1.08;
  max-width: 20ch;
}
.section__lede {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 52ch;
}

/* =============================================================
   9. Problem
   ============================================================= */
.prob__grid {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.prob__card {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
}
.prob__card p { color: var(--muted); font-size: 0.95rem; }
.prob__ic {
  flex: none; width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center; font-size: 1.05rem;
  background: rgba(52, 214, 198, 0.1);
  filter: grayscale(0.15);
}
.prob__shift {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: 1.8rem;
  display: flex; align-items: baseline; gap: 1rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--text); max-width: 46ch;
}
.prob__shift-line {
  flex: none; width: 40px; height: 2px; align-self: center;
  background: var(--brand-grad); border-radius: 2px;
}

/* =============================================================
   10. Solutions overview + service "areas"
   ============================================================= */
.sol__grid {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.sol__card {
  display: grid; align-content: start; gap: 0.55rem;
  padding: 1.6rem 1.5rem 1.4rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.sol__card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.sol__k {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--aqua); margin-bottom: 0.2rem;
}
.sol__card h3 { font-size: 1.15rem; }
.sol__card > p { color: var(--muted); font-size: 0.94rem; }
.sol__link {
  margin-top: 0.4rem;
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em;
  color: var(--aqua);
}
.sol__link:hover { color: var(--text); }

.sol__close {
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  padding-top: clamp(1.6rem, 4vw, 2.4rem);
  border-top: 1px solid var(--line);
  display: grid; gap: 1.2rem;
  max-width: 60ch;
}
.sol__close p { color: var(--muted); }
.sol__close p b { color: var(--text); }

.area { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.area + .area { border-top: 1px solid var(--line); }
.area__inner {
  display: grid; gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}
.area__inner > * { min-width: 0; }
.area__title {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  margin-bottom: 1rem;
  max-width: 26ch;
}
.area__copy > p { color: var(--muted); max-width: 48ch; }

.ticks { margin-top: 1.5rem; display: grid; gap: 0.55rem; }
.ticks li {
  position: relative; padding-left: 1.6rem;
  color: var(--muted); font-size: 0.94rem;
}
.ticks li::before {
  content: ""; position: absolute; left: 0.15rem; top: 0.4em;
  width: 11px; height: 6px; border-left: 1.6px solid var(--aqua); border-bottom: 1.6px solid var(--aqua);
  transform: rotate(-45deg);
}
.area__eg {
  margin-top: 1.6rem; padding: 1rem 1.2rem;
  border-left: 2px solid var(--line-2); border-radius: 0 10px 10px 0;
  background: var(--surface);
  color: var(--muted); font-size: 0.92rem; max-width: 52ch;
}
.area__eg b { color: var(--aqua); font-weight: 500; }
.area__note {
  margin-top: 1.6rem; padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem; color: var(--dim);
  display: flex; flex-wrap: wrap; gap: 0.5rem 0.6rem; align-items: baseline;
  max-width: 54ch;
}
.area__note .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  flex: none; box-shadow: 0 0 10px var(--glow); translate: 0 -1px;
}
.area__cta { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 0.7rem; }
.area__link {
  color: var(--aqua);
  border-bottom: 1px solid var(--line-2);
  transition: border-color 0.25s var(--ease-out);
}
.area__link:hover { border-color: var(--aqua); }

/* Area visuals -------------------------------------------------- */
.area__visual { justify-self: center; width: min(460px, 100%); }
.mock {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: 1.2rem;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.flow { width: 100%; height: auto; }
.flow__stops rect { fill: var(--surface); stroke: var(--line-2); stroke-width: 1; }
.flow__line path { stroke-dasharray: 3 5; opacity: 0.75; }

.chatcard__bar { display: flex; gap: 0.4rem; margin-bottom: 1rem; }
.chatcard__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.chatcard__in, .chatcard__out {
  padding: 0.7rem 1rem; border-radius: 12px; font-size: 0.92rem; max-width: 85%;
  margin-bottom: 0.6rem;
}
.chatcard__in { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.chatcard__out { background: rgba(52, 214, 198, 0.12); color: var(--text); border: 1px solid var(--line-2); margin-left: auto; }
.chatcard__meta { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--dim); margin-top: 0.6rem; }

.panel__row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.6rem 0; border-bottom: 1px solid var(--line);
  font-size: 0.9rem; color: var(--muted);
}
.panel__row b { color: var(--text); font-weight: 600; font-size: 1.1rem; }
.panel__row b.warn { color: #ffcf7a; }
.panel__bars { display: flex; align-items: flex-end; gap: 0.5rem; height: 90px; margin-top: 1.1rem; }
.panel__bars i { flex: 1; border-radius: 4px 4px 0 0; background: var(--brand-grad); opacity: 0.8; }
.panel__bars i:nth-child(1) { height: 40%; }
.panel__bars i:nth-child(2) { height: 70%; }
.panel__bars i:nth-child(3) { height: 55%; }
.panel__bars i:nth-child(4) { height: 85%; }
.panel__bars i:nth-child(5) { height: 60%; }
.panel__bars i:nth-child(6) { height: 95%; }

.browser__bar { display: flex; gap: 0.4rem; margin-bottom: 1rem; }
.browser__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.browser__body { display: grid; gap: 0.7rem; }
.browser__lh { height: 46px; border-radius: 8px; background: var(--brand-grad); opacity: 0.25; }
.browser__ln { height: 12px; border-radius: 6px; background: var(--line-2); }
.browser__ln.short { width: 60%; }
.browser__cta { height: 30px; width: 42%; border-radius: 999px; background: var(--brand-grad); opacity: 0.8; }
.browser__score {
  margin-top: 1.1rem; display: inline-flex; align-items: baseline; gap: 0.5rem;
  font-family: var(--mono); color: var(--aqua);
}
.browser__score span:first-child { font-size: 1.5rem; }
.browser__score span:last-child { font-size: 0.7rem; letter-spacing: 0.14em; color: var(--dim); }

/* =============================================================
   11. NFC — catálogo
   ============================================================= */
.nfc__head { margin-bottom: clamp(2rem, 5vw, 3rem); }

.nfc__how {
  display: grid; gap: clamp(1.8rem, 5vw, 3.5rem);
  margin-bottom: clamp(3rem, 8vw, 5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.nfc__how-copy h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.15; margin-bottom: 1rem; max-width: 22ch;
}
.nfc__how-copy p { color: var(--muted); max-width: 52ch; }
.nfc__how-copy p + p { margin-top: 0.9rem; }

.nfc__steps { display: grid; gap: 1.2rem; align-content: start; }
.nfc__steps li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.nfc__n { font-family: var(--mono); font-size: 0.85rem; color: var(--aqua); padding-top: 0.15rem; }
.nfc__steps p { color: var(--muted); }
.nfc__steps--row { margin-top: clamp(2rem, 4vw, 2.6rem); }
@media (min-width: 800px) {
  .nfc__steps--row { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
}

.nfc__cat-label { margin-bottom: 1.4rem; }
.nfc__cat {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.nfc__card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.nfc__card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.nfc__card-img { aspect-ratio: 3 / 2; background: var(--surface-2); overflow: hidden; }
.nfc__card--tall .nfc__card-img { aspect-ratio: 4 / 5; }
.nfc__card-img img { width: 100%; height: 100%; object-fit: cover; }
.nfc__card-body { padding: 1.25rem 1.3rem 1.4rem; display: grid; gap: 0.4rem; }
.nfc__card-body h3 { font-size: 1.08rem; }
.nfc__card-body p { color: var(--muted); font-size: 0.92rem; }

.nfc__foot {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  max-width: 62ch; color: var(--muted);
  padding-top: 1.6rem; border-top: 1px solid var(--line);
}

/* =============================================================
   12. Projects
   ============================================================= */
.projects__grid {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.project {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
  display: flex; flex-direction: column;
}
.project__media { aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.project__media img { width: 100%; height: 100%; object-fit: cover; }
.project__body { padding: 1.4rem; display: grid; gap: 0.5rem; }
.project__area { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aqua); }
.project__body p { color: var(--muted); font-size: 0.95rem; }

/* =============================================================
   13. Process steps
   ============================================================= */
.num {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em;
  color: var(--aqua);
}
.steps {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.steps li {
  padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
}
.steps h3 { font-size: 1.1rem; margin: 0.7rem 0 0.4rem; }
.steps p { color: var(--muted); font-size: 0.93rem; }
@media (min-width: 900px) { .steps--5 { grid-template-columns: repeat(5, 1fr); } }

/* =============================================================
   14. Mini-UI mocks (demostrativos — sin backend)
   ============================================================= */
.panel__alert {
  margin-top: 0.7rem; font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.06em; color: #ffcf7a;
}

/* Calendario */
.cal { display: grid; gap: 0.5rem; }
.cal__wk { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.3rem; }
.cal__wk span {
  text-align: center; font-family: var(--mono); font-size: 0.66rem;
  color: var(--dim); padding: 0.3rem 0;
  border: 1px solid var(--line); border-radius: 6px;
}
.cal__slot {
  display: flex; align-items: baseline; gap: 0.7rem;
  padding: 0.55rem 0.7rem; border: 1px solid var(--line); border-radius: 9px;
  background: var(--surface); font-size: 0.85rem; color: var(--muted);
}
.cal__slot b { font-family: var(--mono); font-size: 0.78rem; color: var(--text); }
.cal__slot--on { border-color: var(--line-2); background: rgba(52, 214, 198, 0.1); }
.cal__slot--on b { color: var(--aqua); }

/* Kanban pedidos */
.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.kanban__col {
  display: grid; gap: 0.4rem; align-content: start;
  padding: 0.5rem; border: 1px solid var(--line); border-radius: 9px;
  background: var(--surface);
}
.kanban__col span {
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--dim);
}
.kanban__col i {
  display: block; height: 20px; border-radius: 5px;
  background: linear-gradient(90deg, rgba(52,214,198,.25), rgba(79,195,232,.18));
}
.kanban__col:nth-child(4) i { background: rgba(150,205,214,0.12); }

/* Filas / listas */
.rows { display: grid; gap: 0.5rem; }
.rows__r {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.7rem;
  padding: 0.6rem 0.8rem; border: 1px solid var(--line); border-radius: 9px;
  background: var(--surface);
}
.rows__r span { font-size: 0.9rem; color: var(--text); }
.rows__r small { font-family: var(--mono); font-size: 0.68rem; color: var(--dim); }

/* Documento / cotización */
.doc { display: grid; gap: 0.5rem; }
.doc__t { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--aqua); }
.doc__row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.5rem 0; border-bottom: 1px solid var(--line);
  font-size: 0.88rem; color: var(--muted);
}
.doc__row b { color: var(--dim); font-weight: 400; font-family: var(--mono); font-size: 0.78rem; }
.doc__total { border-bottom: 0; }
.doc__total span { color: var(--text); }
.doc__total b { color: var(--aqua); }

/* Pills de estado */
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em;
  padding: 0.5rem 0.85rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
}
.pill--on { border-color: var(--line-2); background: rgba(52, 214, 198, 0.12); color: var(--aqua); }

/* Formulario interno */
.formy { display: grid; gap: 0.6rem; }
.formy__field { height: 30px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg-2); }
.formy__field--area { height: 66px; }
.formy__btn { height: 34px; width: 45%; border-radius: 999px; background: var(--brand-grad); opacity: 0.85; }

/* Teléfono (Smart Menu cliente) */
.phone {
  width: min(280px, 100%); margin-inline: auto;
  padding: 0.7rem 0.7rem 1.1rem; border-radius: 30px;
}
.phone__notch { width: 40%; height: 6px; border-radius: 4px; background: var(--line-2); margin: 0 auto 0.7rem; }
.phone__screen {
  border-radius: 20px; border: 1px solid var(--line);
  background: var(--bg-2); padding: 0.9rem;
  display: grid; gap: 0.55rem;
}
.phone__brand { font-family: var(--serif); font-size: 0.95rem; color: var(--text); }
.phone__cats { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.phone__cats span {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.04em;
  padding: 0.25rem 0.5rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--dim);
}
.phone__cats .is-on { border-color: var(--aqua); color: var(--aqua); }
.phone__item {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.5rem 0; border-bottom: 1px solid var(--line);
  font-size: 0.85rem; color: var(--muted);
}
.phone__item b { color: var(--text); font-family: var(--mono); font-size: 0.78rem; font-weight: 400; }
.phone__item.is-out { color: var(--dim); }
.phone__item.is-out b { color: #ffcf7a; }
.phone__item.is-out span { text-decoration: line-through; }

/* Panel admin (Smart Menu negocio) */
.admin { display: grid; gap: 0.55rem; }
.admin__t { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--aqua); }
.admin__row {
  display: flex; justify-content: space-between; align-items: center; gap: 0.7rem;
  padding: 0.6rem 0.8rem; border: 1px solid var(--line); border-radius: 9px;
  background: var(--surface); font-size: 0.88rem; color: var(--text);
}
.admin__off {
  font-family: var(--mono); font-size: 0.68rem; color: #ffcf7a;
  border: 1px solid rgba(255, 207, 122, 0.4); border-radius: 999px; padding: 0.15rem 0.55rem;
}
.admin__price {
  font-family: var(--mono); font-size: 0.78rem; color: var(--aqua);
  border: 1px dashed var(--line-2); border-radius: 6px; padding: 0.15rem 0.5rem;
}
.admin__row--new { color: var(--aqua); border-style: dashed; }
.admin__drag { color: var(--dim); letter-spacing: 0.1em; }

/* Autoflow (Automate) */
.autoflow { display: grid; gap: 0.7rem; justify-items: center; text-align: center; }
.autoflow__step {
  width: 100%; padding: 0.8rem 1rem;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  font-size: 0.9rem; color: var(--muted);
}
.autoflow__step--core {
  border-color: var(--line-2);
  background: linear-gradient(180deg, rgba(52,214,198,.14), rgba(52,214,198,.04));
  color: var(--aqua); font-family: var(--mono); letter-spacing: 0.04em;
}
.autoflow__arrow {
  width: 1px; height: 18px;
  background: linear-gradient(var(--aqua), transparent);
}
.autoflow__fan { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.autoflow__fan span {
  font-family: var(--mono); font-size: 0.72rem;
  padding: 0.45rem 0.75rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
}

/* =============================================================
   14b. Smart Menu section
   ============================================================= */
.smartmenu { background: var(--bg-2); }
.smartmenu__head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.smartmenu__grid {
  display: grid; gap: clamp(2rem, 6vw, 4rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.smartmenu__exp { display: grid; gap: 1.2rem; align-content: start; }
.smartmenu__exp > p { color: var(--muted); max-width: 42ch; }
.smartmenu__role {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--aqua);
}
.smartmenu__pitch { margin-top: clamp(2.5rem, 6vw, 4rem); }
.pitch3 { display: grid; gap: 0.8rem; max-width: 46ch; }
.pitch3 li {
  position: relative; padding-left: 1.5rem; color: var(--muted); font-size: 0.96rem;
}
.pitch3 li::before {
  content: ""; position: absolute; left: 0.15rem; top: 0.45em;
  width: 11px; height: 6px; border-left: 1.6px solid var(--aqua); border-bottom: 1.6px solid var(--aqua);
  transform: rotate(-45deg);
}
.pitch3 b { color: var(--text); font-weight: 500; }
.smartmenu__vs {
  margin-top: 1.6rem; color: var(--muted); max-width: 54ch;
  padding-left: 1rem; border-left: 2px solid var(--line-2);
}

/* =============================================================
   14c. Systems section
   ============================================================= */
.systems__head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.sys__grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.sys__card {
  display: grid; align-content: start; gap: 0.6rem;
  padding: 1.5rem;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface);
}
.sys__card h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.15rem; line-height: 1.2; margin-top: 0.3rem;
}
.sys__card > p { color: var(--muted); font-size: 0.9rem; }
.sys__card > p b { color: var(--aqua); font-weight: 500; }
.sys__mock {
  border: 1px solid var(--line); border-radius: 12px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: 0.9rem; margin-bottom: 0.4rem;
}
.sys__mock .mock {
  border: 0; background: none; padding: 0; box-shadow: none;
}
.sys__mock .panel__row { font-size: 0.82rem; }
.sys__mock .panel__row b { font-size: 0.9rem; }
.sys__mock .panel__bars { height: 54px; }

/* =============================================================
   14f. Turnkey systems — Smart Menu · Booking
   Two packaged products next to the made-to-measure Systems grid.
   Same surface, radius and border language as .sys__card / .uc__card;
   the icon plate reuses the aqua tint already used by .prob__ic.
   ============================================================= */
.tk__grid {
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  display: grid; gap: 1.4rem;
  grid-template-columns: minmax(0, 1fr);
}
.tk__card {
  display: grid; align-content: start; gap: .6rem;
  padding: 1.75rem 1.6rem 1.5rem;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  transition: border-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.tk__card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.tk__card:focus-within { border-color: var(--line-2); }
.tk__ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: .45rem;
  border: 1px solid var(--line-2); border-radius: 12px;
  background: rgba(143, 233, 208, .06);
  color: var(--aqua);
}
.tk__ic svg { width: 22px; height: 22px; }
.tk__card h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.35rem; line-height: 1.15;
}
.tk__card > p { color: var(--muted); font-size: .92rem; }
.tk__win {
  color: var(--text); font-size: .9rem;
  padding-left: .85rem; border-left: 2px solid var(--teal);
}
.tk__lbl {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--dim);
  margin-top: .35rem;
}
.tk__for { display: flex; flex-wrap: wrap; gap: .4rem .45rem; }
/* The bare inline link is only 22px tall — half the 44px touch target.
   Grow the hit area vertically without moving the text or widening it
   into empty card space. */
.tk__card .sol__link {
  display: inline-flex; align-items: center;
  justify-self: start;
  min-height: 44px;
  margin-top: -.4rem;
}
.tk__for li {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .04em;
  color: var(--muted); white-space: nowrap;
  padding: .22rem .55rem;
  border: 1px solid var(--line); border-radius: 999px;
}
@media (min-width: 760px) {
  .tk__grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .tk__card { transition: none; }
  .tk__card:hover { transform: none; }
}

/* =============================================================
   14d. Use cases (industrias)
   ============================================================= */
.uc__grid {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.uc__card {
  display: grid; align-content: start; gap: 0.7rem;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface);
}
.uc__card h3 { font-size: 1.15rem; }
.uc__card > p { color: var(--dim); font-size: 0.88rem; }
.uc__list { display: grid; gap: 0.5rem; margin-top: 0.2rem; }
.uc__list li {
  position: relative; padding-left: 1.4rem; color: var(--muted); font-size: 0.9rem;
}
.uc__list li::before {
  content: ""; position: absolute; left: 0.1rem; top: 0.45em;
  width: 6px; height: 6px; border-radius: 2px; background: var(--accent);
  box-shadow: 0 0 10px var(--glow);
}
.uc__card--open { border-style: dashed; }
.uc__card--open .sol__link { margin-top: 0.4rem; }

/* =============================================================
   14e. FAQ
   ============================================================= */
.faq__inner { max-width: 52rem; }
.faq__list { margin-top: clamp(2rem, 5vw, 3rem); display: grid; gap: 0.8rem; }
.faq__item {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
}
.faq__item summary {
  list-style: none; cursor: pointer;
  padding: 1.1rem 1.3rem;
  font-size: 1rem; color: var(--text);
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex: none;
  font-family: var(--mono); color: var(--aqua); font-size: 1.1rem;
  transition: transform 0.25s var(--ease-out);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  padding: 0 1.3rem 1.2rem;
  color: var(--muted); font-size: 0.95rem; max-width: 60ch;
}

/* =============================================================
   15b. Planes web
   ============================================================= */
.plans { background: var(--bg-2); }
.plans__grid {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: grid; gap: 1.4rem;
  grid-template-columns: 1fr;
}
.plan {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 1.8rem 1.7rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  position: relative;
}
.plan--star { border-color: var(--line-2); background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.plan__badge {
  align-self: flex-start;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--brand-grad);
  padding: 0.3rem 0.7rem; border-radius: 999px;
}
.plan h3 { font-size: 1.25rem; }
.plan__for { color: var(--muted); font-size: 0.92rem; }
.plan__list { display: grid; gap: 0.6rem; margin-top: 0.2rem; }
.plan__list li {
  position: relative; padding-left: 1.5rem;
  color: var(--muted); font-size: 0.92rem;
}
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 12px; height: 7px; border-left: 1.5px solid var(--aqua); border-bottom: 1.5px solid var(--aqua);
  transform: rotate(-45deg); border-radius: 1px;
}
.plan__note {
  margin-top: auto; padding-top: 0.9rem; border-top: 1px solid var(--line);
  color: var(--dim); font-size: 0.85rem;
}
.plans__foot {
  margin-top: clamp(2rem, 5vw, 3rem);
  max-width: 62ch; color: var(--muted);
  padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.plans__foot b { color: var(--text); font-weight: 500; }


/* =============================================================
   16. Contacto (canales + formulario)
   ============================================================= */
.contact { background: var(--bg-2); }
.contact__inner {
  display: grid; gap: clamp(2.5rem, 6vw, 4rem);
  align-items: start;
}
.contact__aside .section__title { max-width: 18ch; }
.contact__aside .section__lede { max-width: 40ch; margin-bottom: 2.2rem; }

.contact__channels { display: grid; gap: 0.9rem; }
.contact__channels li {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
}
.contact__ic {
  flex: none; width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(52, 214, 198, 0.12);
  color: var(--aqua);
}
.contact__ic svg { width: 20px; height: 20px; }
.contact__ic--ig { background: rgba(200, 100, 190, 0.14); color: #e59bd9; }
.contact__ic--tt { background: rgba(120, 200, 220, 0.14); color: #74dfe6; }
.contact__meta { display: grid; gap: 0.1rem; min-width: 0; }
.contact__k {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--dim);
}
.contact__v {
  color: var(--text); font-size: 0.95rem;
  overflow-wrap: anywhere;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease-out);
}
.contact__channels li:hover .contact__v { border-color: var(--line-2); }

.contact__panel {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.contact__panel-t {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}
.contact__panel-sub { color: var(--muted); font-size: 0.95rem; margin-top: 0.4rem; }

.cform { display: grid; gap: 1.1rem; margin-top: 1.6rem; }
.cform__hp { position: absolute; left: -9999px; }
.cform__field { display: grid; gap: 0.4rem; }
.cform__field > span {
  font-size: 0.85rem; color: var(--muted);
}
.cform__field input,
.cform__field textarea {
  width: 100%;
  font: inherit; color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--line-2); border-radius: 12px;
  padding: 0.8rem 1rem;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.cform__field textarea { resize: vertical; min-height: 120px; }
.cform__field input::placeholder,
.cform__field textarea::placeholder { color: var(--dim); }
.cform__field input:focus,
.cform__field textarea:focus {
  outline: none;
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(52, 214, 198, 0.16);
}
.cform__opt { color: var(--dim); font-weight: 400; }
.cform__submit { margin-top: 0.4rem; justify-self: start; }
.cform__status {
  font-size: 0.9rem; padding: 0.7rem 0.9rem; border-radius: 10px;
  border: 1px solid var(--line-2);
}
.cform__status.is-ok { color: var(--aqua); background: rgba(52, 214, 198, 0.1); }
.cform__status.is-err { color: #ffb2a8; background: rgba(255, 120, 100, 0.1); border-color: rgba(255,120,100,.3); }

/* =============================================================
   17. Footer
   ============================================================= */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 7vw, 5rem) 2rem; }
.site-footer__inner {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
.site-footer__brand { display: grid; gap: 0.9rem; align-content: start; }
.site-footer__tag { color: var(--muted); font-size: 0.95rem; }
.site-footer__col h2 {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 1rem;
}
.site-footer__col ul { display: grid; gap: 0.6rem; }
.site-footer__col a { color: var(--muted); font-size: 0.95rem; }
.site-footer__col a:hover { color: var(--text); }
.site-footer__loc { margin-top: 1rem; color: var(--dim); font-size: 0.9rem; }
.site-footer__legal {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between;
  font-size: 0.82rem; color: var(--dim);
}
.site-footer__legal p:last-child { font-family: var(--mono); letter-spacing: 0.08em; }

/* =============================================================
   18. Effects — scroll reveal
   ============================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.is-ready .reveal[data-delay="1"] { transition-delay: 0.08s; }
.is-ready .reveal[data-delay="2"] { transition-delay: 0.16s; }
.is-ready .reveal[data-delay="3"] { transition-delay: 0.24s; }

.netgraph.is-in .netgraph__links path { animation: dash 1.1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.flow.is-in .flow__line path { animation: flowdash 2.4s linear infinite; }
@keyframes flowdash { to { stroke-dashoffset: -16; } }

/* =============================================================
   19. Responsive
   ============================================================= */
@media (min-width: 720px) {
  .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 760px) {
  .plans__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .smartmenu__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .connected__inner { grid-template-columns: 1.05fr 0.95fr; }
  .area__inner { grid-template-columns: 1fr 1fr; }
  .area--flip .area__copy { order: 2; }
  .area--flip .area__visual { order: 1; }
  .contact__inner { grid-template-columns: 0.85fr 1.15fr; }
  .section__title { max-width: 24ch; }
}

@media (max-width: 540px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .cform__submit { justify-self: stretch; width: 100%; }
}

@media (max-width: 959px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(4, 7, 12, 0.96);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 2rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none; visibility: hidden;
    transition: transform 0.35s var(--ease-out), opacity 0.35s var(--ease-out);
  }
  .nav__menu.is-open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; }
  .nav__menu li { border-bottom: 1px solid var(--line); }
  .nav__menu li:last-child { border-bottom: 0; }
  .nav__menu a { display: block; padding: 1rem 0; font-size: 1.05rem; color: var(--text); }
  .nav__cta-item { margin-top: 1rem; }
  .nav__cta-item a { display: inline-flex; padding: 0.85rem 1.5rem; }
}

/* =============================================================
   20. Reduced motion — only the intrusive stuff
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .netgraph__links path,
  .flow__line path { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* The .reveal class is only ever added by main.js, so a JS failure
   leaves every element visible. The hero video falls back to its
   poster (first frame) when native playback is unavailable. */

/* =============================================================
   21. Error page
   ============================================================= */
.page-404 {
  min-height: 100svh;
  display: grid; place-content: center; text-align: center;
  gap: 1.4rem;
  padding-block: 6rem;
}
.page-404 .section__title,
.page-404 .section__lede { margin-inline: auto; }
