/* ============================================================
   NONSENSE — landing site (nonsensestudio.es)
   Brand system per CLAUDE.md
   ============================================================ */

:root {
  --ns-black: #222222;
  --ns-acid: #C9ED19;
  --ns-cream: #EDEDE1;
  --ns-taupe: #A99C8B;

  --font-display: 'neue-haas-grotesk-display', 'Neue Haas Grotesk Display Pro', 'Helvetica Neue', Inter, system-ui, sans-serif;
  --font-text: 'neue-haas-grotesk-text', 'Neue Haas Grotesk Text Pro', 'Helvetica Neue', Inter, system-ui, sans-serif;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--ns-cream);
  color: var(--ns-black);
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--ns-acid); color: var(--ns-black); }

/* ============================================================
   Marcas de registro técnicas en esquinas
   ============================================================ */
.reg {
  position: fixed;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  color: var(--ns-black);
  opacity: .55;
  z-index: 50;
  pointer-events: none;
  user-select: none;
}
.reg-tl { top: 14px; left: 16px; }
.reg-tr { top: 14px; right: 16px; }
.reg-bl { bottom: 14px; left: 16px; }
.reg-br { bottom: 14px; right: 16px; }

/* ============================================================
   Header
   ============================================================ */
.hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 48px 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hdr-left { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
}
.brand-name {
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}
.hdr-right { display: flex; align-items: center; gap: 10px; opacity: .65; }
.hdr-sep { opacity: .4; }

/* ============================================================
   Líneas técnicas decorativas
   ============================================================ */
.tech-line {
  position: absolute;
  background: var(--ns-black);
  opacity: .12;
  z-index: 0;
  pointer-events: none;
}
.tl-h-1 {
  top: 72px;
  left: 48px;
  right: 48px;
  height: 1px;
}
.tl-h-2 {
  top: 50%;
  left: 0;
  width: 32%;
  height: 1px;
}
.tl-v-1 {
  top: 80px;
  bottom: 80px;
  left: 50%;
  width: 1px;
  opacity: .07;
}

/* ============================================================
   Main
   ============================================================ */
.main {
  position: relative;
  padding: 80px 48px 64px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ============================================================
   Intro / título
   ============================================================ */
.intro {
  position: relative;
  margin-bottom: 96px;
}
.code-tag {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .55;
  margin-bottom: 24px;
}
.title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(64px, 14vw, 220px);
  line-height: .88;
  letter-spacing: -0.05em;
  margin: 0;
  text-transform: lowercase;
}
.title-mark {
  display: inline-block;
  font-weight: 700;
  letter-spacing: -0.04em;
  position: relative;
  top: -.05em;
}
.acid-bar {
  display: inline-block;
  width: 96px;
  height: 10px;
  background: var(--ns-acid);
  margin-top: 28px;
}

/* ============================================================
   Body
   ============================================================ */
.body { margin-bottom: 96px; }
.body-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
.body-col p {
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 22px;
  max-width: 60ch;
}
.body-col .lede {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 400;
}
.code-inline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .55;
  margin-right: 10px;
  display: inline-block;
  vertical-align: 2px;
}
.highlight {
  background: linear-gradient(transparent 55%, var(--ns-acid) 55%, var(--ns-acid) 92%, transparent 92%);
  padding: 0 2px;
}
.quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  margin-top: 36px !important;
  padding-left: 20px;
  border-left: 2px solid var(--ns-black);
}
em { font-style: italic; font-weight: 600; }

/* tech spec block (columna derecha) */
.tech-spec {
  border: 1px solid var(--ns-black);
  padding: 24px 22px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(34,34,34,.02);
}
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(34,34,34,.25);
}
.spec-row:last-child { border-bottom: none; }
.spec-row span:first-child { opacity: .55; }
.spec-row span:last-child { text-align: right; }
.status-on::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--ns-acid);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(201,237,25,.6);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(201,237,25,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(201,237,25,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,237,25,0); }
}

/* ============================================================
   Divider de sección
   ============================================================ */
.divider {
  display: flex;
  align-items: baseline;
  gap: 28px;
  padding: 64px 0 56px;
  border-top: 1px solid var(--ns-black);
  position: relative;
}
.div-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(64px, 10vw, 140px);
  line-height: .9;
  letter-spacing: -0.05em;
}
.div-line {
  flex: 1;
  height: 1px;
  background: var(--ns-black);
  opacity: .25;
}
.div-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.04em;
  text-transform: lowercase;
}
.div-bar {
  position: absolute;
  top: 64px;
  right: 0;
  width: 64px;
  height: 8px;
  margin-top: 0;
}

/* ============================================================
   Contacto / formulario
   ============================================================ */
.contact { padding-bottom: 32px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 96px);
  line-height: .9;
  letter-spacing: -0.05em;
  text-transform: lowercase;
  margin: 0 0 28px;
}
.contact-sub {
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 22px;
  max-width: 36ch;
}
.contact-sub strong { font-weight: 700; }
.contact-meta {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .55;
  line-height: 1.7;
  margin: 0;
}

/* Form */
.form { display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .65;
}
.field input,
.field textarea {
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 400;
  color: var(--ns-black);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ns-black);
  border-radius: 0;
  padding: 8px 0 10px;
  outline: none;
  transition: border-color .18s ease, background .18s ease;
  resize: none;
}
.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--ns-acid);
  border-bottom-width: 2px;
  padding-bottom: 9px;
}
.field textarea { line-height: 1.5; }

/* Honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.btn-submit {
  margin-top: 12px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--ns-black);
  color: var(--ns-cream);
  border: 1px solid var(--ns-black);
  padding: 16px 24px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  transition: background .18s ease, color .18s ease, transform .18s ease;
  border-radius: 0;
}
.btn-submit:hover:not(:disabled) {
  background: var(--ns-acid);
  color: var(--ns-black);
  border-color: var(--ns-acid);
}
.btn-submit:active:not(:disabled) { transform: translateY(1px); }
.btn-submit:disabled { opacity: .6; cursor: wait; }
.btn-arrow { font-size: 16px; }

.form-status {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: 4px;
  min-height: 1em;
}
.form-status.ok  { color: var(--ns-black); }
.form-status.ok::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--ns-acid);
  margin-right: 10px;
  vertical-align: middle;
}
.form-status.err { color: var(--ns-black); opacity: .9; }
.form-status.err::before {
  content: '×';
  margin-right: 8px;
  font-weight: 700;
}

/* IG block */
.ig-block {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px dashed rgba(34,34,34,.3);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.ig-or {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .55;
}
.ig-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--ns-black);
  padding: 12px 20px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .04em;
  font-weight: 400;
  transition: background .18s ease, color .18s ease;
}
.ig-btn:hover {
  background: var(--ns-black);
  color: var(--ns-cream);
}
.ig-mark { font-weight: 700; opacity: .7; }
.ig-handle { letter-spacing: .02em; }
.ig-arrow { font-size: 14px; opacity: .65; }

/* ============================================================
   Footer
   ============================================================ */
.ftr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px 36px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-top: 1px solid var(--ns-black);
  margin: 64px 48px 0;
}
.ftr-left { display: flex; align-items: center; gap: 12px; }
.ftr-mark { font-weight: 700; font-size: 18px; }
.ftr-statement {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  font-size: 14px;
}
.ftr-right { opacity: .55; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hdr { padding: 20px 24px 0; font-size: 11px; }
  .main { padding: 56px 24px 40px; }
  .tl-h-1 { left: 24px; right: 24px; }
  .ftr { margin: 48px 24px 0; padding: 20px 0 28px; flex-wrap: wrap; gap: 16px; }
  .body-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .body-col-right { order: -1; }
  .tech-spec { padding: 18px; }
  .divider { gap: 16px; padding: 48px 0 40px; }
  .div-bar { right: 0; width: 48px; height: 6px; }
  .ig-block { margin-top: 40px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .reg { font-size: 12px; }
  .reg-tl, .reg-tr { top: 10px; }
  .reg-bl, .reg-br { bottom: 10px; }
}

@media (max-width: 480px) {
  .hdr-right { display: none; }
  .title { font-size: clamp(56px, 18vw, 96px); }
  .intro { margin-bottom: 64px; }
  .body { margin-bottom: 64px; }
}
