/* ===========================================================
   flujomator — Landing IA para PYMEs
   Tech/minimal monospace · paleta cálida terracota
   (nombre de trabajo, fácil de cambiar)
   =========================================================== */

:root {
  /* Warm terracotta system */
  --paper:    #f8f2ea;
  --paper-2:  #f1e8db;
  --card:     #fdfaf5;
  --ink:      #221a12;
  --ink-2:    #4a3d30;
  --muted:    #8c7c6b;
  --muted-2:  #a9997f;
  --line:     #e3d8c8;
  --line-2:   #d3c3ad;
  --accent:   #c2562b;   /* terracotta */
  --accent-d: #a8421f;   /* deep rust */
  --accent-l: #e6a173;   /* clay */
  --accent-w: #f7e9dd;   /* wash */
  --ok:       #5c7a4a;   /* warm green */

  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --maxw: 1120px;
  --gut: 28px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--mono);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}

/* ---------- Shared bits ---------- */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

.sec-num {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 var(--accent-d) inset, 0 6px 18px rgba(168,66,31,0.18);
}
.btn-primary:hover { background: var(--accent-d); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Scroll reveal — content is visible by DEFAULT (no-JS / IO-failure safe).
   IMPORTANT: opacity is NOT transitioned. Some embedded/preview iframes pause the
   document animation timeline, which freezes CSS transitions at their FROM value —
   if opacity were tweened it would stay stuck at 0 and hide all content. So .in
   flips opacity 0→1 instantly; only transform carries the (optional) motion. */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================
   NAV
   ===================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.logo .dot { color: var(--accent); }
.logo svg { display: block; }
.nav-links {
  display: flex;
  gap: 26px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.nav-links a { transition: color .15s; position: relative; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav .btn { padding: 10px 16px; font-size: 13px; }
@media (max-width: 860px) {
  .nav-links { display: none; }
}
@media (max-width: 520px) {
  :root { --gut: 16px; }
  .nav-in { gap: 10px; }
  .logo {
    gap: 8px;
    font-size: 18px;
  }
  .logo svg {
    width: 25px;
    height: 25px;
  }
  .nav .btn {
    padding: 8px 10px;
    font-size: 11.5px;
    gap: 6px;
  }
}
@media (max-width: 340px) {
  .nav .btn .arr { display: none; }
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  padding: 86px 0 70px;
  position: relative;
}
.hero::before {
  /* warm radial glow */
  content: "";
  position: absolute;
  top: -120px; right: -160px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(230,161,115,0.30), transparent 62%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 22px 0 0;
  text-wrap: balance;
}
.hero h1 .hl {
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 10px;
  background: var(--accent-l);
  opacity: .35;
  z-index: -1;
}
.hero-sub {
  font-size: 16px;
  color: var(--ink-2);
  margin-top: 22px;
  max-width: 50ch;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-micro {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-micro b { color: var(--ink); font-weight: 600; }

/* Hero terminal/agent card */
.agent-card {
  background: var(--ink);
  color: #f3ece2;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 28px 60px -22px rgba(34,26,18,0.55);
  overflow: hidden;
  border: 1px solid #3a2f24;
}
.agent-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: #2c2117;
  border-bottom: 1px solid #3a2f24;
}
.agent-bar .d { width: 9px; height: 9px; border-radius: 50%; background: #4d3f31; }
.agent-bar .d.r { background: var(--accent); }
.agent-bar .t {
  margin-left: 8px;
  font-size: 11.5px;
  color: #b6a796;
  letter-spacing: 0.04em;
}
.agent-body { padding: 18px 18px 20px; font-size: 13px; }
.agent-line { display: flex; gap: 9px; margin-bottom: 11px; align-items: flex-start; }
.agent-line .pre { color: var(--accent-l); flex: 0 0 auto; }
.agent-line .txt { color: #e7ddd0; }
.agent-line .txt .mut { color: #9a8b7a; }
.agent-tag {
  display: inline-block;
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(230,161,115,0.16);
  color: var(--accent-l);
  border: 1px solid rgba(230,161,115,0.3);
  letter-spacing: 0.04em;
}
.agent-divider { height: 1px; background: #3a2f24; margin: 14px 0; }
.agent-result {
  display: flex; align-items: center; gap: 10px;
  background: rgba(92,122,74,0.14);
  border: 1px solid rgba(92,122,74,0.4);
  color: #b9d0a6;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12.5px;
}
.agent-result .chk {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ok); color: #fff;
  display: grid; place-items: center; font-size: 11px; flex: 0 0 auto;
}
.agent-cursor {
  display: inline-block; width: 8px; height: 15px;
  background: var(--accent-l); vertical-align: -2px;
  animation: blink 1.1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero { padding: 56px 0 50px; }
}

/* =====================================================
   MARQUEE / integrations strip
   ===================================================== */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  padding: 20px 0;
}
.strip-in {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
}
.strip-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.strip-items { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.chip {
  font-size: 13px;
  color: var(--ink-2);
  background: var(--card);
  border: 1px solid var(--line-2);
  padding: 6px 13px;
  border-radius: 999px;
}

/* Sectores band */
.sectors { padding: 34px 0 8px; text-align: center; }
.sectors-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.sectors-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.sectors-chips span {
  font-size: 13px;
  color: var(--ink-2);
  background: var(--card);
  border: 1px solid var(--line-2);
  padding: 7px 14px;
  border-radius: 999px;
  transition: border-color .15s, color .15s;
}
.sectors-chips span:hover { border-color: var(--accent); color: var(--accent); }

/* =====================================================
   SECTION scaffold
   ===================================================== */.section { padding: 78px 0; }
.section.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}
.sec-head .l { max-width: 62ch; }
.sec-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-top: 14px;
  text-wrap: balance;
}
.sec-desc {
  font-size: 15px;
  color: var(--ink-2);
  margin-top: 14px;
  line-height: 1.7;
}
@media (max-width: 760px) {
  .sec-head { flex-direction: column; align-items: flex-start; }
}

/* =====================================================
   SERVICIOS
   ===================================================== */
.serv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.serv {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 22px 22px;
  position: relative;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.serv:hover {
  transform: translateY(-3px);
  border-color: var(--accent-l);
  box-shadow: 0 16px 30px -20px rgba(168,66,31,0.4);
}
.serv-ix {
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.serv-icon {
  width: 38px; height: 38px;
  margin: 4px 0 14px;
  color: var(--accent);
}
.serv h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.serv p { font-size: 13.5px; color: var(--ink-2); line-height: 1.62; }
@media (max-width: 860px) { .serv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .serv-grid { grid-template-columns: 1fr; } }

/* =====================================================
   PROCESO
   ===================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}
.step {
  padding: 26px 22px 24px;
  border-left: 1px solid var(--line-2);
  position: relative;
}
.step:first-child { border-left: none; }
.step-n {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 9px;
}
.step-n::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--accent);
  border-radius: 50%;
}
.step h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-2); }
  .step { background: var(--paper-2); border-left: none; }
}
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* =====================================================
   RESULTADOS
   ===================================================== */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.metric {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 22px;
}
.metric .big {
  font-size: clamp(34px, 4.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
}
.metric .lbl { font-size: 13px; color: var(--ink-2); margin-top: 10px; line-height: 1.5; }
.metrics-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 20px;
  text-align: center;
}
@media (max-width: 820px) { .metrics { grid-template-columns: 1fr 1fr; } }

/* =====================================================
   PRECIOS
   ===================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: 22px;
  align-items: start;
}
.flow-def,
.price-panel {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: 0 22px 50px -36px rgba(34,26,18,0.38);
}
.flow-def {
  padding: 28px;
}
.flow-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.flow-def h3 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.flow-def p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.68;
}
.flow-example {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}
.flow-example span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  color: var(--ink);
}
.flow-example span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}
.flow-plain {
  padding-top: 2px;
}
.flow-scope {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}
.flow-scope h4 {
  font-size: 13.5px;
  margin-bottom: 9px;
  letter-spacing: -0.01em;
}
.flow-scope ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.flow-scope li {
  position: relative;
  padding-left: 18px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.flow-scope li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}
.flow-scope div:last-child li::before {
  content: "×";
  color: var(--muted);
}
.price-panel {
  overflow: hidden;
}
.price-offer {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  color: #f3ece2;
  padding: 18px 20px;
}
.price-offer span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-l);
  font-weight: 700;
  white-space: nowrap;
}
.price-offer b {
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
  text-align: right;
}
.price-table-wrap {
  overflow-x: auto;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
}
.price-table th,
.price-table td {
  text-align: left;
  vertical-align: top;
}
.price-table th {
  padding: 16px 18px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
  font-weight: 700;
}
.price-table td {
  padding: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
}
.price-table tr.featured td {
  background: var(--accent-w);
}
.price-table td:first-child {
  color: var(--ink);
  min-width: 178px;
}
.price-table td b {
  display: block;
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 4px;
}
.price-table td span,
.price-table td em {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.price-table td strong {
  display: block;
  color: var(--accent);
  font-size: 15px;
  line-height: 1.35;
}
.price-note {
  border-top: 1px solid var(--line);
  padding: 14px 18px 18px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}
@media (max-width: 940px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .flow-def { padding: 24px 20px; }
  .flow-scope { grid-template-columns: 1fr; }
  .price-offer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .price-offer b { text-align: left; }
  .price-table thead { display: none; }
  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100%;
  }
  .price-table tr {
    border-top: 1px solid var(--line);
    padding: 12px 0;
  }
  .price-table tr:first-child { border-top: none; }
  .price-table td {
    border-top: none;
    display: block;
    padding: 8px 16px;
  }
  .price-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
  }
}

/* =====================================================
   EQUIPO / QUIÉNES SOMOS
   ===================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.team-cap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 20px;
  transition: transform .2s ease, border-color .2s ease;
}
.team-cap:hover { transform: translateY(-3px); border-color: var(--accent-l); }
.team-cap-k {
  width: 30px; height: 30px;
  border-radius: 7px;
  background: var(--accent-w);
  color: var(--accent);
  display: grid; place-items: center;
  font-weight: 700; font-size: 13px;
  margin-bottom: 14px;
}
.team-cap h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 7px; letter-spacing: -0.01em; }
.team-cap p { font-size: 13px; color: var(--ink-2); line-height: 1.6; }

.team-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 24px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
}
.team-stats .ts { padding: 24px 22px; border-right: 1px solid var(--line); }
.team-stats .ts:last-child { border-right: none; }
.team-stats .ts-v {
  font-size: 32px; font-weight: 800;
  letter-spacing: -0.03em; color: var(--accent); line-height: 1;
}
.team-stats .ts-l { font-size: 12.5px; color: var(--ink-2); margin-top: 9px; line-height: 1.5; }

@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .team-stats { grid-template-columns: 1fr 1fr; }
  .team-stats .ts:nth-child(2) { border-right: none; }
  .team-stats .ts:nth-child(1), .team-stats .ts:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 460px) { .team-grid { grid-template-columns: 1fr; } }

/* =====================================================
   CALCULADORA ROI
   ===================================================== */
.calc {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 22px 50px -30px rgba(34,26,18,0.4);
}
.calc-inputs { padding: 32px 30px; }
.calc-out {
  background: var(--ink);
  color: #f3ece2;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc-field { margin-bottom: 24px; }
.calc-field:last-child { margin-bottom: 0; }
.calc-field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13.5px;
  color: var(--ink-2);
  margin-bottom: 10px;
}
.calc-field .val {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--line-2);
  border-radius: 4px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--card);
  box-shadow: 0 2px 6px rgba(168,66,31,0.4);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--card);
  cursor: pointer;
}
.calc-out .out-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b6a796;
}
.calc-out .out-big {
  font-size: clamp(40px, 6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent-l);
  line-height: 1;
  margin: 8px 0 4px;
}
.calc-out .out-unit { font-size: 14px; color: #c9bbab; }
.calc-out .out-divider { height: 1px; background: #3a2f24; margin: 22px 0; }
.calc-out .out-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  font-size: 13.5px;
}
.calc-out .out-row .k { color: #b6a796; }
.calc-out .out-row .v { font-weight: 700; font-size: 17px; color: #f3ece2; }
.calc-out .out-foot { font-size: 12px; color: #9a8b7a; margin-top: 12px; line-height: 1.5; }
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; } }

/* =====================================================
   QUIZ
   ===================================================== */
.sector-lens {
  max-width: 860px;
  margin: 0 auto 18px;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 18px 44px -36px rgba(34,26,18,0.38);
}
.sector-lens .field {
  margin-bottom: 16px;
}
.sector-reco {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
}
.sector-reco-head {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}
.sector-reco-head span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.sector-reco-head strong {
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.sector-reco-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.sector-reco h4 {
  font-size: 12.5px;
  margin-bottom: 8px;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.sector-reco ul {
  list-style: none;
  display: grid;
  gap: 7px;
}
.sector-reco li {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.sector-reco li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.form-sector-reco {
  margin: 0 0 18px;
}
@media (max-width: 680px) {
  .sector-lens {
    padding: 18px;
  }
  .sector-reco-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.quiz {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 22px 50px -34px rgba(34,26,18,0.4);
}
.quiz-head {
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--paper-2);
}
.quiz-head .qtitle { font-size: 15px; font-weight: 700; }
.quiz-progress {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.quiz-bar {
  height: 3px;
  background: var(--line-2);
}
.quiz-bar .fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width .4s cubic-bezier(.2,.7,.2,1);
}
.quiz-body { padding: 34px 28px 30px; }
.quiz-q {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 24px;
  text-wrap: balance;
  min-height: 52px;
}
.quiz-opts { display: flex; flex-direction: column; gap: 10px; }
.quiz-opt {
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 9px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color .15s, background .15s, transform .1s;
}
.quiz-opt:hover { border-color: var(--accent); background: var(--accent-w); }
.quiz-opt:active { transform: scale(.99); }
.quiz-opt .marker {
  width: 22px; height: 22px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  flex: 0 0 auto;
  display: grid; place-items: center;
  font-size: 12px; color: var(--accent);
  font-weight: 700;
}
.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
}
.quiz-back {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
}
.quiz-back:hover { color: var(--ink); }
.quiz-back[disabled] { opacity: .3; cursor: default; }

/* Quiz result */
.quiz-result { padding: 38px 30px; text-align: center; display: none; }
.quiz-result.show { display: block; }
.quiz-score-ring {
  width: 130px; height: 130px;
  margin: 0 auto 20px;
  position: relative;
}
.quiz-score-ring svg { transform: rotate(-90deg); }
.quiz-score-ring .num {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 30px; font-weight: 800;
  color: var(--accent); letter-spacing: -0.03em;
}
.quiz-result h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.quiz-result p { font-size: 14.5px; color: var(--ink-2); max-width: 52ch; margin: 0 auto 22px; line-height: 1.65; }
.quiz-restart { background: none; border: none; color: var(--muted); font-size: 12.5px; margin-top: 16px; text-decoration: underline; }
.quiz-restart:hover { color: var(--accent); }

/* =====================================================
   RECURSOS
   ===================================================== */
.res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.res {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  transition: transform .2s, border-color .2s;
}
.res:hover { transform: translateY(-3px); border-color: var(--accent-l); }
.res .cat {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.res h4 { font-size: 16px; font-weight: 700; margin: 12px 0 10px; line-height: 1.35; letter-spacing: -0.01em; }
.res p { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.res .meta { margin-top: 16px; font-size: 12px; color: var(--muted); display: flex; gap: 10px; align-items: center; }
@media (max-width: 860px) { .res-grid { grid-template-columns: 1fr; } }

/* =====================================================
   CONTACTO
   ===================================================== */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-copy h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 16px 0 16px;
  text-wrap: balance;
}
.contact-copy p { font-size: 15px; color: var(--ink-2); line-height: 1.7; max-width: 44ch; }
.contact-list { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.contact-item .ck { color: var(--accent); font-weight: 700; flex: 0 0 auto; }
.contact-item .ct b { display: block; }
.contact-item .ct span { color: var(--muted); font-size: 13px; }

.form {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 22px 50px -34px rgba(34,26,18,0.4);
}
.form-honey {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
  opacity: 0;
  pointer-events: none;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 12px 13px;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(194,86,43,0.12);
}
.form.was-validated .field input:invalid,
.form.was-validated .field select:invalid,
.form.was-validated .field textarea:invalid {
  border-color: var(--accent-d);
  box-shadow: 0 0 0 3px rgba(168,66,31,0.12);
}
.field textarea { resize: vertical; min-height: 92px; }
.form .btn-primary { width: 100%; justify-content: center; margin-top: 4px; }
.form .btn-primary[disabled] {
  opacity: .72;
  cursor: progress;
  transform: none;
}
.form-status {
  min-height: 18px;
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.45;
  text-align: center;
  color: var(--muted);
}
.form-status:empty { display: none; }
.form-status.error { color: var(--accent-d); }
.form-status.info { color: var(--muted); }
.form-fine { font-size: 11.5px; color: var(--muted); margin-top: 14px; text-align: center; line-height: 1.5; }

.form-success {
  display: none;
  text-align: center;
  padding: 26px 10px;
}
.form-success.show { display: block; }
.form-success .big-chk {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--ok); color: #fff;
  display: grid; place-items: center; font-size: 26px;
  margin: 0 auto 18px;
}
.form-success h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.02em; }
.form-success p { font-size: 14px; color: var(--ink-2); line-height: 1.6; max-width: 40ch; margin: 0 auto; }

@media (max-width: 820px) {
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
}

/* =====================================================
   FINAL CTA band
   ===================================================== */
.cta-band {
  background: var(--ink);
  color: #f3ece2;
  border-radius: 16px;
  padding: 52px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(194,86,43,0.4), transparent 60%);
  pointer-events: none;
}
.cta-band h2 {
  position: relative;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
  text-wrap: balance;
}
.cta-band p { position: relative; color: #c9bbab; font-size: 15px; max-width: 52ch; margin: 0 auto 28px; }
.cta-band .btn-primary { position: relative; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  padding: 50px 0 38px;
  border-top: 1px solid var(--line);
  margin-top: 78px;
}
.footer-in {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}
.footer .logo { font-size: 18px; }
.footer-tag { font-size: 13px; color: var(--muted); margin-top: 10px; max-width: 34ch; line-height: 1.6; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h5 {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px; font-weight: 600;
}
.footer-col a { display: block; font-size: 13.5px; color: var(--ink-2); margin-bottom: 8px; transition: color .15s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted);
}
.footer-bottom .wm { color: var(--accent); }
