/* =========================================================
   KOOLBRAND · /metodo/  · sistema visual compartido
   Paleta pura Koolbrand + tipografía Outfit + JetBrains Mono
   ========================================================= */

:root {
  --lime: #CCE673;
  --lime-soft: #EFFFC9;
  --ink: #111111;
  --ink-2: #2A2A2A;
  --muted: #6E6E6E;
  --bg: #FAFAF7;
  --soft: #ECECEC;
  --line: #DDDDDD;
  --max: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter Tight', 'Inter Tight', -apple-system, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

/* ---------- topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,250,247,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.topbar img.logo { height: 22px; width: auto; }
.topbar nav { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.topbar nav a { color: var(--ink-2); transition: opacity .2s; }
.topbar nav a:hover { opacity: .6; }
.topbar nav a.active { font-weight: 700; }
.topbar .cta-mini {
  background: var(--ink);
  color: var(--lime);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.01em;
}

/* ---------- HERO ---------- */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px 32px 80px;
  position: relative;
}
.hero .brand-mark {
  position: absolute;
  top: 80px;
  right: 32px;
  width: 88px;
  opacity: .9;
}
.hero .eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero .eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--ink);
  display: inline-block;
}
.hero h1 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(56px, 9vw, 120px);
  line-height: .94;
  letter-spacing: -.035em;
  color: var(--ink);
  margin-bottom: 36px;
}
.hero h1 .hl {
  background: var(--lime);
  padding: 0 .14em .04em;
  display: inline-block;
  transform: rotate(-3deg);
  border-radius: 10px;
  line-height: .9;
}
/* Badge secundario (gris claro) — para palabra complementaria al .hl primario */
.hl, .underline { /* base shared properties no aplicables fuera de inline-block */ }
h1 .underline,
h2 .underline,
h3 .underline,
blockquote .underline {
  background: var(--soft);
  padding: 0 .14em .04em;
  display: inline-block;
  transform: rotate(-1deg);
  border-radius: 8px;
  line-height: .9;
  color: var(--ink-2);
}
.hero .lede {
  font-size: 22px;
  line-height: 1.4;
  max-width: 720px;
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: -.005em;
}
.hero .meta {
  margin-top: 56px;
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero .meta span strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  margin-top: 4px;
}

/* ---------- secciones genéricas ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 32px;
  position: relative;
}
.section.tight { padding: 64px 32px; }
.section.dark {
  background: var(--ink);
  color: #F0F0EC;
  max-width: 100%;
  padding-left: max(32px, calc((100vw - var(--max))/2 + 32px));
  padding-right: max(32px, calc((100vw - var(--max))/2 + 32px));
}
.section.cream {
  background: #F4F1E6;
  max-width: 100%;
  padding-left: max(32px, calc((100vw - var(--max))/2 + 32px));
  padding-right: max(32px, calc((100vw - var(--max))/2 + 32px));
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .5;
}
.section.dark .section-label { color: #B0B0A8; }

.section h2 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: .98;
  letter-spacing: -.025em;
  margin-bottom: 32px;
  max-width: 940px;
}
.section h2 .hl {
  background: var(--lime);
  padding: 0 .12em .04em;
  display: inline-block;
  transform: rotate(-3deg);
  border-radius: 8px;
  line-height: .92;
}
.section h3 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.015em;
  margin-bottom: 12px;
}
.section p { font-size: 17px; line-height: 1.6; color: var(--ink-2); margin-bottom: 16px; max-width: 700px; }
.section.dark p { color: #C7C7C0; }
.section.dark h2, .section.dark h3 { color: #FAFAF7; }

/* ---------- filosofía hero block ---------- */
.philosophy {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 80px 32px;
  background: #FFFEF8;
}
.philosophy .inner {
  max-width: var(--max);
  margin: 0 auto;
}
.philosophy blockquote {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--ink);
  max-width: 980px;
  margin-bottom: 32px;
}
.philosophy blockquote .hl {
  background: var(--lime);
  padding: 0 .12em .04em;
  display: inline-block;
  transform: rotate(-3deg);
  border-radius: 6px;
  line-height: .92;
}
.philosophy p {
  font-size: 19px;
  line-height: 1.5;
  max-width: 720px;
  color: var(--ink-2);
  margin-bottom: 28px;
}
.philosophy ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  padding: 0;
}
.philosophy ul li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -.01em;
  color: var(--ink);
  line-height: 1.3;
}
.philosophy ul li::before {
  content: "";
  background: var(--lime) url("/wp-content/uploads/koolbrand-metodo/icons/check.svg") no-repeat center / 60%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- fases grid ---------- */
.phases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.phase-card {
  background: var(--bg);
  padding: 40px 32px 48px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  transition: background .25s;
  position: relative;
}
.phase-card:hover { background: #FFFEF0; }
.phase-card .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 24px;
}
.phase-card h3 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 16px;
}
.phase-card .desc {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 24px;
  flex-grow: 1;
}
.phase-card .go {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.phase-card .go::after {
  content: "";
  background: currentColor;
  -webkit-mask: url("/wp-content/uploads/koolbrand-metodo/icons/arrow-right.svg") no-repeat center / contain;
  mask: url("/wp-content/uploads/koolbrand-metodo/icons/arrow-right.svg") no-repeat center / contain;
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  transition: transform .2s;
}
.phase-card:hover .go::after { transform: translateX(6px); }

/* ---------- koolgrowth block ---------- */
.kg-block {
  border-radius: 18px;
  background: var(--ink);
  color: #F0F0EC;
  padding: 80px 56px;
  margin: 80px auto;
  max-width: var(--max);
  position: relative;
  overflow: hidden;
}
.kg-block::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: var(--lime);
  border-radius: 50%;
  opacity: .12;
  filter: blur(40px);
}
.kg-block .badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 24px;
}
.kg-block h2 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: .98;
  letter-spacing: -.025em;
  color: #FAFAF7;
  margin-bottom: 24px;
  max-width: 880px;
}
.kg-block h2 .hl {
  background: var(--lime);
  color: var(--ink);
  padding: 0 .12em .04em;
  display: inline-block;
  transform: rotate(-3deg);
  border-radius: 8px;
  line-height: .92;
}
.kg-block p {
  font-size: 19px;
  line-height: 1.55;
  max-width: 740px;
  color: #C7C7C0;
  margin-bottom: 28px;
}
.kg-block .kg-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 600;
  border-bottom: 1px solid var(--lime);
  padding-bottom: 4px;
}

/* ---------- diferencial ---------- */
.diff {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.diff > div {
  border-top: 3px solid var(--ink);
  padding-top: 24px;
}
.diff .n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 14px;
}
.diff h3 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -.02em;
  line-height: 1.05;
}

/* ---------- "lo que vendemos" ---------- */
.what-not, .what-yes {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.what-not { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.what-yes { color: var(--ink); display: flex; align-items: baseline; gap: 16px; }
.what-yes::before {
  content: "";
  background: var(--ink);
  -webkit-mask: url("/wp-content/uploads/koolbrand-metodo/icons/arrow-right.svg") no-repeat center / contain;
  mask: url("/wp-content/uploads/koolbrand-metodo/icons/arrow-right.svg") no-repeat center / contain;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: inline-block;
}
.what-block { margin-top: 32px; }

/* ---------- CTA final ---------- */
.cta-final {
  border-top: 1px solid var(--line);
  padding: 120px 32px;
  text-align: center;
}
.cta-final .inner { max-width: 980px; margin: 0 auto; }
.cta-final h2 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 6.4vw, 88px);
  line-height: .98;
  letter-spacing: -.03em;
  margin-bottom: 32px;
}
.cta-final h2 .hl {
  background: var(--lime);
  padding: 0 .14em .04em;
  display: inline-block;
  transform: rotate(-3deg);
  border-radius: 10px;
  line-height: .92;
}
.cta-final .btn {
  background: var(--ink);
  color: var(--lime);
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 22px 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  letter-spacing: -.01em;
  margin-top: 24px;
  transition: transform .2s;
}
.cta-final .btn:hover { transform: translateY(-2px); }
.cta-final .btn::after {
  content: "";
  background: currentColor;
  -webkit-mask: url("/wp-content/uploads/koolbrand-metodo/icons/arrow-right.svg") no-repeat center / contain;
  mask: url("/wp-content/uploads/koolbrand-metodo/icons/arrow-right.svg") no-repeat center / contain;
  width: 22px;
  height: 22px;
  display: inline-block;
}

/* ---------- footer ---------- */
footer {
  background: var(--ink);
  color: #B0B0A8;
  padding: 72px 32px 40px;
}
footer .f-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
footer h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6E6E6E;
  margin-bottom: 18px;
  font-weight: 500;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul li a { color: #D6D6D0; font-size: 14px; }
footer ul li a:hover { color: var(--lime); }
footer .brand {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #FAFAF7;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
footer .copy {
  border-top: 1px solid #2A2A2A;
  padding-top: 24px;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .05em;
  color: #6E6E6E;
}

/* ---------- páginas de fase ---------- */
.phase-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.phase-hero .brand-mark {
  position: absolute;
  top: 72px;
  right: 32px;
  width: 72px;
  opacity: .85;
}
.phase-hero .left .phase-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.phase-hero .left .phase-num::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--ink);
}
.phase-hero h1 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(54px, 7.4vw, 96px);
  line-height: .94;
  letter-spacing: -.035em;
  margin-bottom: 28px;
}
.phase-hero h1 .hl {
  background: var(--lime);
  padding: 0 .12em .04em;
  display: inline-block;
  transform: rotate(-3deg);
  border-radius: 8px;
  line-height: .92;
}
.phase-hero .subtitle {
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink-2);
  max-width: 540px;
}
.phase-hero .right {
  background: var(--ink);
  color: var(--lime);
  border-radius: 18px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.phase-hero .right::before {
  content: attr(data-num);
  position: absolute;
  top: -40px;
  right: -20px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 360px;
  line-height: 1;
  color: rgba(204,230,115, 0.12);
  letter-spacing: -.05em;
}
.phase-hero .right .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lime);
  opacity: .8;
  margin-bottom: 14px;
  position: relative;
}
.phase-hero .right h2 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: #FAFAF7;
  margin-bottom: 18px;
  max-width: 320px;
  position: relative;
}
.phase-hero .right p {
  font-size: 15px;
  line-height: 1.5;
  color: #C7C7C0;
  max-width: 320px;
  position: relative;
}

.phase-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 32px 96px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
}
.phase-body .side {
  position: sticky;
  top: 100px;
  align-self: start;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.phase-body .side ul { list-style: none; }
.phase-body .side ul li { margin-bottom: 14px; }
.phase-body .side ul li a { color: var(--muted); transition: color .2s; }
.phase-body .side ul li a:hover { color: var(--ink); }

.phase-body article { max-width: 760px; }
.phase-body article > section { margin-bottom: 64px; }
.phase-body article h2 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.phase-body article p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.phase-body article ul.deliverables,
.phase-body article ul.results {
  list-style: none;
  margin-top: 16px;
}
.phase-body article ul.deliverables li,
.phase-body article ul.results li {
  padding: 16px 0 16px 36px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  color: var(--ink);
  position: relative;
  line-height: 1.45;
}
.phase-body article ul.deliverables li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  background: var(--lime) url("/wp-content/uploads/koolbrand-metodo/icons/check.svg") no-repeat center / 60%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}
.phase-body article ul.results li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  background: var(--ink);
  -webkit-mask: url("/wp-content/uploads/koolbrand-metodo/icons/arrow-right.svg") no-repeat center / contain;
  mask: url("/wp-content/uploads/koolbrand-metodo/icons/arrow-right.svg") no-repeat center / contain;
  width: 22px;
  height: 22px;
}

.kg-card {
  background: var(--ink);
  color: #F0F0EC;
  border-radius: 14px;
  padding: 40px;
  margin-top: 32px;
  position: relative;
  overflow: hidden;
}
.kg-card .kg-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
}
.kg-card p {
  color: #C7C7C0 !important;
  font-size: 16px;
  line-height: 1.55;
}
.kg-card strong { color: var(--lime); font-weight: 700; }

.frameworks {
  background: #F4F1E6;
  border-left: 4px solid var(--lime);
  padding: 32px 36px;
  margin-top: 32px;
  border-radius: 0 10px 10px 0;
}
.frameworks h3 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 18px;
  letter-spacing: -.015em;
}
.frameworks ul { list-style: none; }
.frameworks ul li {
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 14px;
  padding-left: 22px;
  position: relative;
  color: var(--ink-2);
}
.frameworks ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--ink);
  font-weight: 700;
}
.frameworks strong { color: var(--ink); font-weight: 700; }

.timing-card {
  background: var(--lime);
  padding: 24px 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.timing-card strong { font-size: 22px; font-family: 'Inter Tight', sans-serif; letter-spacing: -.01em; text-transform: none; }

.phase-nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 32px 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  border-top: 1px solid var(--line);
}
.phase-nav a {
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  background: #FFFEF8;
  transition: background .2s, transform .2s;
}
.phase-nav a:hover { background: #FFFEF0; transform: translateY(-2px); }
.phase-nav .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.phase-nav h4 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.015em;
  color: var(--ink);
}
.phase-nav .prev { text-align: left; }
.phase-nav .next { text-align: right; }
.phase-nav .next .label::after { content: " →"; }
.phase-nav .prev .label::before { content: "← "; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .topbar nav { display: none; }
  .phase-hero { grid-template-columns: 1fr; }
  .phase-body { grid-template-columns: 1fr; gap: 24px; }
  .phase-body .side { position: static; display: none; }
  footer .f-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 80px 24px 60px; }
  .hero .brand-mark { width: 56px; top: 48px; right: 24px; }
  .section { padding: 64px 24px; }
  footer .f-inner { grid-template-columns: 1fr; }
  footer .copy { flex-direction: column; gap: 12px; }
}
