/*
Theme Name: Novaclick
Theme URI: https://novaclickconsultingllc.com
Author: Novaclick Consulting LLC
Author URI: https://novaclickconsultingllc.com
Description: Brutalismo moderno refinado — landing de agencia digital Novaclick. Animaciones GSAP + ScrollTrigger + Lenis, toggle de idioma EN/ES.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: novaclick
*/

/* =========================================================
   NOVACLICK — Brutalismo moderno refinado
   ========================================================= */

:root {
  --bg: #F4F1EC;
  --bg-deep: #ECE7DE;
  --ink: #0A0A0A;
  --ink-soft: #1A1A1A;
  --line: #0A0A0A;
  --accent: #C6FF00;
  --accent-ink: #0A0A0A;
  --muted: #6B655C;

  --border: 1px;
  --border-thick: 2px;
  --radius: 4px;
  --radius-lg: 6px;

  --font-display: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

[data-theme="dark"] {
  --bg: #0A0A0A;
  --bg-deep: #141414;
  --ink: #F4F1EC;
  --ink-soft: #E8E3D8;
  --line: #F4F1EC;
  --muted: #888378;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body {
  font-size: 16px;
  line-height: 1.45;
  cursor: none;
}

/* grano */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.08;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
[data-theme="dark"] body::before,
body[data-theme="dark"]::before { mix-blend-mode: screen; opacity: 0.06; }

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

/* =====================  Typography  ===================== */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.85;
  text-transform: uppercase;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.mono { font-family: var(--font-mono); }

/* =====================  Cursor  ===================== */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .25s ease, height .25s ease, background .25s ease;
}
.cursor-ring.hover {
  width: 64px; height: 64px;
  background: var(--accent);
  border-color: var(--accent);
  mix-blend-mode: normal;
}

@media (hover: none) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* =====================  Layout helpers  ===================== */
.container {
  width: 100%;
  padding: 0 32px;
}
@media (max-width: 768px) { .container { padding: 0 20px; } }

.divider {
  border-top: var(--border) solid var(--line);
}
.divider-thick {
  border-top: var(--border-thick) solid var(--line);
}

section {
  position: relative;
}
section + section { margin-top: 0; }

/* reveal line mask helper */
.reveal { overflow: hidden; display: block; }
.reveal > .reveal-inner { display: block; transform: translateY(105%); }

/* =====================  Nav  ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border) solid color-mix(in srgb, var(--line) 18%, transparent);
  height: 72px;
}
.nav-inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.nav-logo .dot {
  width: 12px; height: 12px;
  background: var(--accent);
  display: inline-block;
}
.nav-menu {
  display: flex; gap: 28px;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav-menu a {
  position: relative;
  padding: 8px 0;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  height: 2px; width: 0;
  background: var(--accent);
  transition: width .35s cubic-bezier(.7,0,.2,1);
}
.nav-menu a:hover::after { width: 100%; }
@media (max-width: 900px) {
  .nav-menu { display: none; }
  /* sin menú: logo a la izquierda, idioma + CTA agrupados a la derecha */
  .nav-inner { grid-template-columns: 1fr auto auto; gap: 12px; }
}
@media (max-width: 380px) {
  /* pantallas muy chicas: CTA compacto para no desbordar */
  .nav .btn-primary { padding: 12px 16px; }
  .nav .btn-primary .arrow { display: none; }
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border: var(--border) solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: background .25s ease, color .25s ease;
  position: relative;
}
.btn .arrow {
  display: inline-block;
  transition: transform .35s cubic-bezier(.7,0,.2,1);
}
.btn:hover { background: var(--accent); color: var(--accent-ink); }
.btn:hover .arrow { transform: translate(4px, -4px) rotate(0deg); }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { background: var(--accent); color: var(--accent-ink); }

/* magnetic wrapper */
.magnetic { display: inline-block; }

/* language toggle */
.lang-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px;
  padding: 10px 14px;
  border: var(--border) solid var(--line);
  border-radius: 100px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: background .25s ease, color .25s ease;
}
.lang-toggle:hover { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 480px) { .lang-toggle { min-width: 38px; padding: 9px 11px; } }

/* =====================  Hero  ===================== */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.hero-top {
  padding: 40px 40px 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.hero-top .label::before {
  content: "/";
  margin-right: 8px;
  color: var(--ink);
}
.hero-main {
  flex: 1;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 64px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4.5rem, 13vw, 16rem);
  line-height: 0.82;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.hero h1 .accent {
  color: var(--accent);
  -webkit-text-stroke: 0;
}
.hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.hero-sub {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}
.hero-sub p {
  font-size: clamp(16px, 1.2vw, 19px);
  max-width: 52ch;
  color: var(--ink-soft);
}
.hero-sub .actions {
  display: flex; gap: 16px;
  justify-content: flex-end;
}
@media (max-width: 800px) {
  .hero-sub { grid-template-columns: 1fr; }
  .hero-sub .actions { justify-content: flex-start; }
  .hero-top { grid-template-columns: 1fr 1fr; }
  .hero-top .label:last-child { display: none; }
}
.hero-bottom {
  padding: 24px 40px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.scroll-indicator {
  display: flex; align-items: center; gap: 12px;
}
.scroll-indicator .line {
  display: inline-block;
  width: 40px; height: 2px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.scroll-indicator .line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: scrollLine 2s cubic-bezier(.7,0,.2,1) infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  60% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

/* split chars */
.split-char, .split-word {
  display: inline-block;
  will-change: transform, opacity, filter;
}

/* =====================  Marquee / social proof  ===================== */
.marquee-section {
  padding: 0;
  border-top: var(--border) solid color-mix(in srgb, var(--line) 18%, transparent);
  border-bottom: var(--border) solid color-mix(in srgb, var(--line) 18%, transparent);
  overflow: hidden;
}
.marquee-row {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  padding: 32px 0;
}
.marquee-row + .marquee-row { border-top: var(--border) solid color-mix(in srgb, var(--line) 14%, transparent); }
.marquee-row.inverse { background: var(--ink); color: var(--bg); }
.marquee-track {
  display: flex;
  gap: 56px;
  padding-right: 56px;
  will-change: transform;
  align-items: center;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.marquee-item .star {
  width: 24px; height: 24px;
  display: inline-block;
  background: currentColor;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.marquee-row.badges {
  padding: 22px 0;
  background: var(--bg-deep);
}
.badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 20px;
  border: var(--border) solid var(--line);
  border-radius: 100px;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  position: relative;
  overflow: hidden;
}
.badge::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  animation: shine 5s cubic-bezier(.7,0,.2,1) infinite;
}
[data-theme="dark"] .badge::after {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
}
@keyframes shine {
  0% { left: -120%; }
  50% { left: 130%; }
  100% { left: 130%; }
}
.badge .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* =====================  Section header  ===================== */
.sect-head {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 56px;
  padding: 140px 40px 80px;
  align-items: end;
}
.sect-head .left { display: flex; flex-direction: column; gap: 18px; }
.sect-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 6.5vw, 8rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.sect-head .right p {
  font-size: clamp(15px, 1.1vw, 18px);
  max-width: 50ch;
  color: var(--ink-soft);
}
.sect-tag {
  display: inline-flex; align-items: center; gap: 10px;
}
.sect-tag .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.sect-tag .bar {
  width: 36px; height: 2px;
  background: var(--ink);
}
.sect-tag .label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
@media (max-width: 800px) {
  .sect-head { grid-template-columns: 1fr; padding: 80px 20px 48px; gap: 24px; }
}

/* =====================  Services horizontal  ===================== */
.services {
  background: var(--bg);
  overflow: hidden;
}
.services-pin {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.services-track {
  display: flex;
  height: 100%;
  will-change: transform;
}
.svc-card {
  flex: 0 0 80vw;
  max-width: 880px;
  height: 100%;
  padding: 56px 48px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 32px;
  background: var(--bg);
  position: relative;
}
.svc-card + .svc-card { border-left: var(--border) solid color-mix(in srgb, var(--line) 18%, transparent); }
.svc-card.accent { background: var(--accent); color: var(--accent-ink); }
.svc-card.ink { background: var(--ink); color: var(--bg); }
.svc-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.svc-num { font-size: 14px; }
.svc-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 7.5rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  align-self: end;
}
.svc-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
.svc-desc {
  font-size: clamp(15px, 1vw, 17px);
  max-width: 38ch;
}
.svc-deliverables {
  list-style: none;
  display: grid;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.svc-deliverables li {
  display: flex; gap: 12px;
  padding: 8px 0;
  border-top: 1px solid currentColor;
  opacity: 0.85;
}
.svc-deliverables li:last-child { border-bottom: 1px solid currentColor; }
.svc-deliverables li span:first-child { opacity: 0.55; min-width: 32px; }
.svc-glyph {
  position: absolute;
  right: 40px; top: 40px;
  width: 96px; height: 96px;
  display: grid; place-items: center;
}
.svc-glyph svg { width: 100%; height: 100%; }

@media (max-width: 800px) {
  .services-pin { height: auto; }
  .services-track { flex-direction: column; will-change: auto; }
  .svc-card {
    flex: 0 0 auto;
    height: auto;
    width: 100%;
    max-width: none;
    border-right: none;
    border-bottom: var(--border) solid color-mix(in srgb, var(--line) 18%, transparent);
    padding: 40px 20px;
  }
  .svc-body { grid-template-columns: 1fr; gap: 24px; }
}

/* =====================  Cases  ===================== */
.cases {
  padding: 0 40px 140px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.case {
  border-radius: var(--radius-lg);
  padding: 36px;
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  gap: 16px;
  min-height: 340px;
  transition: background .4s ease, color .4s ease;
}
.case:hover { background: var(--ink); color: var(--bg); }
.case:hover .case-tag { border-color: color-mix(in srgb, var(--bg) 40%, transparent); }
.case:hover .case-img { background: var(--ink-soft); }
.case-1 { grid-column: span 7; min-height: 440px; }
.case-2 { grid-column: span 5; }
.case-3 { grid-column: span 5; }
.case-4 { grid-column: span 7; }
@media (max-width: 900px) {
  .cases { grid-template-columns: 1fr; padding: 0 20px 56px; }
  .case-1, .case-2, .case-3, .case-4 { grid-column: span 1; min-height: 280px; }
}
.case-head { display: flex; justify-content: space-between; }
.case-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 6px 12px;
  border: 1px solid color-mix(in srgb, var(--line) 30%, transparent);
  border-radius: 100px;
  transition: border-color .35s ease;
  white-space: nowrap;
}
.case-client {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.case-metric {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.case-metric .unit { font-size: 0.5em; opacity: 0.6; }
.case-desc {
  font-size: 14px;
  max-width: 36ch;
}
.case-img {
  position: absolute;
  inset: auto 0 0 auto;
  width: 55%;
  height: 50%;
  border-top-left-radius: var(--radius-lg);
  background: var(--bg);
  background-image:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(0,0,0,0.04) 14px 15px);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  transition: background .35s ease;
  overflow: hidden;
}
.case-1 .case-img, .case-4 .case-img { width: 45%; height: 65%; }
.case-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* =====================  Process  ===================== */
.process {
  padding: 0 40px 140px;
}
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.step {
  padding: 32px 28px 40px;
  background: var(--bg-deep);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 16px;
  min-height: 340px;
  position: relative;
  transition: background .35s ease, color .35s ease;
}
.step:last-child { border-right: none; }
.step:hover { background: var(--ink); color: var(--bg); }
.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
}
.step-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 2.2vw, 2.4rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-top: auto;
}
.step-desc {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color .35s ease;
}
.step:hover .step-desc { color: var(--bg); }
.step-bar {
  height: 4px;
  background: var(--line);
  width: 0;
}
@media (max-width: 900px) {
  .process { padding: 0 20px 80px; }
  .process-track { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 600px) {
  .process-track { grid-template-columns: 1fr; }
  .step { min-height: 220px; }
}

/* =====================  Why  ===================== */
.why {
  padding: 0 0 140px;
}
.why-track {
  padding: 0 40px;
}
.pillar {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 44px 32px;
  border-bottom: var(--border) solid color-mix(in srgb, var(--line) 16%, transparent);
  position: relative;
  overflow: hidden;
  cursor: none;
}
.why-track .pillar:first-child { border-top: var(--border) solid color-mix(in srgb, var(--line) 16%, transparent); }
.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform .55s cubic-bezier(.7,0,.2,1);
  z-index: 0;
}
.pillar > * { position: relative; z-index: 1; transition: color .35s ease; }
.pillar:hover::before { transform: translateY(0); }
.pillar:hover { color: var(--accent-ink); }
.pillar-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.pillar:hover .pillar-num { color: var(--accent-ink); }
.pillar-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.pillar-desc {
  font-size: 14px;
  max-width: 32ch;
  text-align: right;
  color: var(--ink-soft);
}
.pillar:hover .pillar-desc { color: var(--accent-ink); }
@media (max-width: 800px) {
  .pillar { grid-template-columns: 60px 1fr; padding: 24px 20px; gap: 16px; }
  .pillar-desc { grid-column: 1 / -1; text-align: left; }
}

/* =====================  Social secondary  ===================== */
.social-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  padding: 0 40px 140px;
}
.social-cell {
  padding: 36px 28px;
  background: var(--bg-deep);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 18px;
  min-height: 320px;
  justify-content: space-between;
}
.social-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.social-platform {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@media (max-width: 800px) {
  .social-secondary { grid-template-columns: 1fr; padding: 0 20px 80px; }
}

/* =====================  CTA  ===================== */
.cta {
  background: var(--ink);
  color: var(--bg);
  padding: 160px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin: 0 40px;
}
@media (max-width: 800px) {
  .cta { margin: 0 20px; padding: 100px 24px; border-radius: var(--radius); }
}
.cta h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.5rem, 11vw, 14rem);
  line-height: 0.85;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.cta h2 .accent { color: var(--accent); }
.cta-sub {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}
.cta-btn {
  margin-top: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  border: var(--border) solid var(--accent);
}
.cta-btn::after {
  content: "→";
  position: absolute;
  bottom: 18px; right: 24px;
  font-size: 22px;
}

/* =====================  Contact form  ===================== */
.contact {
  padding: 0 0 0;
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
  padding: 0 40px 140px;
}
.contact-info {
  padding: 48px 36px;
  background: var(--bg-deep);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 32px;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.contact-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid color-mix(in srgb, var(--line) 18%, transparent);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
}
.contact-row .k {
  text-transform: uppercase;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.contact-form {
  padding: 48px 36px;
  background: var(--bg-deep);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  position: relative;
  min-height: 580px;
}
.form-steps-head {
  display: flex; gap: 8px;
  margin-bottom: 32px;
}
.form-step-dot {
  flex: 1;
  height: 4px;
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}
.form-step-dot.active::after,
.form-step-dot.done::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--ink);
  transform-origin: left;
  animation: fillBar .4s cubic-bezier(.7,0,.2,1) forwards;
}
.form-step-dot.done::after { background: var(--ink); }
@keyframes fillBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.form-step {
  display: none;
  flex-direction: column; gap: 24px;
  flex: 1;
}
.form-step.active { display: flex; }
.form-step .step-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-step h4 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.field {
  display: flex; flex-direction: column; gap: 8px;
}
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea {
  font-family: var(--font-display);
  font-size: 22px;
  background: transparent;
  border: none;
  border-bottom: var(--border) solid color-mix(in srgb, var(--line) 25%, transparent);
  padding: 12px 0;
  color: var(--ink);
  outline: none;
  letter-spacing: -0.01em;
  resize: none;
  transition: border-color .25s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.4; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--accent); }
.field .err {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #ff3b30;
  min-height: 14px;
}
[data-theme="dark"] .field .err { color: #ff6b60; }

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.choice {
  padding: 14px 16px;
  border: var(--border) solid color-mix(in srgb, var(--line) 22%, transparent);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg);
  transition: background .25s, color .25s, border-color .25s;
}
.choice.active { background: var(--ink); color: var(--bg); }
.choice .tick { opacity: 0; }
.choice.active .tick { opacity: 1; }
.choice:hover { background: var(--accent); color: var(--accent-ink); }
.choice.active:hover { background: var(--ink); color: var(--bg); }

.form-nav {
  display: flex; justify-content: space-between;
  margin-top: 32px;
}
.btn-ghost {
  background: transparent;
  border: var(--border) solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-ghost[disabled] { opacity: 0.3; pointer-events: none; }

.form-success {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 0;
}
.form-success.show { display: flex; }
.form-success .check {
  width: 56px; height: 56px;
  border: var(--border) solid var(--line);
  display: grid; place-items: center;
  background: var(--accent);
  font-size: 28px;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; padding: 0 20px 80px; }
  .contact-info { padding: 32px 24px; }
  .contact-form { padding: 32px 24px; }
}

/* =====================  Footer  ===================== */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding: 100px 40px 32px;
  position: relative;
}
.footer-massive {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 16vw, 20rem);
  line-height: 0.82;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  padding-bottom: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 48px 0 24px;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 16px;
}
.footer-col a, .footer-col p {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 4px 0;
  opacity: 0.9;
}
.footer-col a:hover { color: var(--accent); }
.footer-map {
  border-radius: var(--radius);
  height: 240px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 50%, rgba(198,255,0,0.15), transparent 40%),
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(244,241,236,0.08) 22px 23px),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(244,241,236,0.08) 22px 23px);
}
.footer-map .pin {
  position: absolute;
  top: 50%; left: 30%;
  width: 18px; height: 18px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(198,255,0,0.25);
}
.footer-map .pin::after {
  content: "522 W RIVERSIDE AVE";
  position: absolute;
  left: 24px; top: -4px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.footer-bottom {
  display: flex; justify-content: space-between;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid rgba(244,241,236,0.14);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =====================  Tweaks panel  ===================== */
.tw-panel {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 280px;
  background: var(--bg);
  border: var(--border) solid var(--line);
  z-index: 200;
  font-family: var(--font-mono);
  display: none;
}
.tw-panel.open { display: block; }
.tw-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px;
  border-bottom: var(--border) solid var(--line);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tw-body { padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.tw-group { display: flex; flex-direction: column; gap: 8px; }
.tw-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tw-swatches { display: flex; gap: 8px; }
.tw-sw {
  width: 36px; height: 36px;
  border: var(--border) solid var(--line);
  display: grid; place-items: center;
}
.tw-sw.active::after {
  content: ""; width: 10px; height: 10px; background: var(--line);
}
.tw-toggle {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px;
  border: var(--border) solid var(--line);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tw-toggle .knob {
  width: 32px; height: 18px;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  position: relative;
}
.tw-toggle .knob::after {
  content: "";
  position: absolute;
  top: 1px; left: 1px;
  width: 14px; height: 14px;
  background: var(--line);
  transition: transform .25s;
}
.tw-toggle.on .knob::after { transform: translateX(14px); background: var(--accent); }

/* helpers */
.no-scroll { overflow: hidden; }
