/* PerformanceMedia — home.css
   Todos los estilos de la home. Se encola solo en la portada via functions.php
   ─────────────────────────────────────────────────────────────────────────── */

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

:root {
  --bg:     #F0EDE7;
  --bg-alt: #EDE9E2;
  --bg-dark:#1a1a1a;
  --border: #E0DCD4;
  --red:    #D93025;
  --text:   #1a1a1a;
  --text-2: #555;
  --text-3: #888;
  --text-4: #aaa;
  --white:  #ffffff;
  --font:   'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* UTILITIES */
.eyebrow {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 14px;
}
.h1 {
  font-size: clamp(28px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.035em;
}
.h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
  margin-bottom: 14px;
}
.h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}
.body-t  { font-size: 14px; line-height: 1.75; color: var(--text-2); margin-bottom: 14px; }
.body-sm { font-size: 13px; line-height: 1.7;  color: var(--text-3); }

.section     { padding: 72px 48px; border-top: 1px solid var(--border); }
.section-alt { background: var(--bg-alt); }
.container   { max-width: 1080px; margin: 0 auto; }
.two-col     { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
}
.nav-logo-icon {
  width: 22px;
  height: 22px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}
.nav-links { display: flex; gap: 28px; font-size: 13px; color: var(--text-3); }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 9px 20px;
  letter-spacing: .03em;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity .15s;
}
.nav-cta:hover { opacity: .88; }
.nav-hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: .2s; }
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.mobile-menu a {
  padding: 12px 48px;
  font-size: 14px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }

/* HERO */
.hero { padding: 72px 48px 80px; border-top: none; }
.hero .container { max-width: none; }
.hero-eyebrow { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 20px; font-weight: 500; }
.hero-h1 { max-width: 100%; margin-bottom: 24px; color: var(--text); }
.hero-sub { font-size: 16px; line-height: 1.7; color: var(--text-2); max-width: 600px; margin-bottom: 32px; }
.hero-sub strong { color: var(--text); font-weight: 500; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 52px; max-width: 600px; }
.btn-dark {
  background: var(--text);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 2px;
  cursor: pointer;
  border: none;
  transition: opacity .15s;
  font-family: var(--font);
  letter-spacing: .02em;
}
.btn-dark:hover { opacity: .82; }
.btn-outline {
  border: 1.5px solid var(--text);
  color: var(--text);
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  padding: 11px 24px;
  border-radius: 2px;
  cursor: pointer;
  transition: background .15s;
  font-family: var(--font);
}
.btn-outline:hover { background: rgba(0,0,0,.05); }
.trust-row { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--text-4); flex-wrap: wrap; }
.trust-sep { color: #ccc; }

/* VALUE PROPS */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.value-item { padding: 36px 32px; border-right: 1px solid var(--border); }
.value-item:last-child { border-right: none; }
.value-title { font-size: 16px; font-weight: 600; margin-bottom: 10px; line-height: 1.3; }
.value-desc  { font-size: 13px; color: var(--text-3); line-height: 1.65; }

/* TLDR */
.tldr {
  padding: 28px 48px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-left: 3px solid var(--red);
}
.tldr-label { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; font-weight: 600; }
.tldr-text  { font-size: 13px; line-height: 1.8; color: var(--text-3); max-width: 900px; }

/* STATS */
.stats-col { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
.stat-item { background: var(--bg-alt); padding: 28px 24px; }
.stat-n    { font-size: 44px; font-weight: 700; color: var(--red); letter-spacing: -.04em; line-height: 1; }
.stat-lbl  { font-size: 12px; color: var(--text-3); margin-top: 6px; line-height: 1.5; }

/* ACCORDIONS */
.acc-wrap { border-top: 1px solid var(--border); margin-top: 28px; }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 18px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font);
  line-height: 1.4;
}
.acc-trigger:hover .acc-q { color: var(--red); }
.acc-q { flex: 1; }
.acc-icon {
  font-size: 22px;
  color: #bbb;
  transition: transform .2s, color .15s;
  flex-shrink: 0;
  line-height: 1;
  font-weight: 300;
}
.acc-icon.open { transform: rotate(45deg); color: var(--red); }
.acc-body { display: none; padding: 0 0 20px; }
.acc-body.open { display: block; }
.acc-body p { font-size: 14px; line-height: 1.8; color: var(--text-2); max-width: 700px; }

/* SERVICES */
.service-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1px;
  background: var(--border);
  margin-top: 28px;
}
.svc-card { background: var(--bg); padding: 28px; }
.section-alt .svc-card { background: var(--bg-alt); }
.svc-label { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-4); margin-bottom: 14px; font-weight: 500; }
.svc-list  { list-style: none; margin-top: 16px; }
.svc-list li {
  font-size: 13px;
  color: var(--text-2);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 10px;
  line-height: 1.5;
}
.svc-list li::before { content: "—"; color: var(--red); flex-shrink: 0; font-size: 11px; margin-top: 2px; }

/* DIFF GRID */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1px;
  background: var(--border);
  margin-top: 28px;
}
.diff-card { background: var(--bg-alt); padding: 28px; }
.diff-num  { font-size: 11px; color: var(--red); font-weight: 600; letter-spacing: .06em; margin-bottom: 10px; }

/* ICP */
.icp-sectors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1px;
  background: var(--border);
  margin: 20px 0 28px;
}
.icp-sector { background: var(--bg); padding: 18px 22px; }
.section-alt .icp-sector { background: var(--bg-alt); }
.icp-name { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.icp-desc { font-size: 12px; color: var(--text-3); line-height: 1.5; }

.ctable { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; }
.ctable th {
  text-align: left;
  padding: 10px 14px;
  background: #E5E1D9;
  color: var(--text-3);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.ctable td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  vertical-align: top;
  line-height: 1.5;
}
.ctable td:first-child {
  color: var(--text);
  font-weight: 500;
  font-size: 12px;
  white-space: nowrap;
  width: 180px;
}

/* PROCESS */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px;
  background: var(--border);
  margin-top: 32px;
}
.pstep  { background: var(--bg); padding: 26px 22px; }
.section-alt .pstep { background: var(--bg-alt); }
.pnum   { font-size: 38px; font-weight: 700; color: var(--border); letter-spacing: -.03em; margin-bottom: 14px; line-height: 1; }
.ptime  { font-size: 10px; color: var(--red); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; font-weight: 600; }
.ptitle { font-size: 13px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.pdesc  { font-size: 12px; color: var(--text-3); line-height: 1.65; }

/* PRICE */
.price-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1.5px solid var(--border);
  margin-top: 32px;
  max-width: 700px;
}
.price-left  { padding: 36px 32px; border-right: 1px solid var(--border); }
.price-right { padding: 36px 32px; }
.price-amount { font-size: 54px; font-weight: 700; color: var(--red); letter-spacing: -.04em; line-height: 1; }
.price-mo     { font-size: 20px; color: var(--text-3); font-weight: 400; }
.price-tag    { font-size: 12px; color: var(--text-4); margin-top: 6px; margin-bottom: 26px; }
.price-cta {
  display: inline-block;
  background: var(--text);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 2px;
  cursor: pointer;
  letter-spacing: .03em;
  transition: opacity .15s;
}
.price-cta:hover { opacity: .8; }
.price-note { font-size: 11px; color: var(--text-4); margin-top: 20px; line-height: 1.65; border-top: 1px solid var(--border); padding-top: 16px; }
.price-inc   { list-style: none; }
.price-inc li {
  font-size: 13px;
  color: var(--text-2);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 9px;
  align-items: flex-start;
  line-height: 1.45;
}
.price-inc li::before { content: "✓"; color: var(--red); flex-shrink: 0; font-size: 11px; font-weight: 700; margin-top: 1px; }

/* TESTIMONIALS */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1px;
  background: var(--border);
  margin-top: 32px;
}
.testi-card  { background: var(--bg); padding: 32px; }
.testi-quote { font-size: 15px; line-height: 1.75; color: #444; margin-bottom: 20px; font-style: italic; }
.testi-name  { font-size: 13px; font-weight: 600; color: var(--text); }
.testi-co    { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.testi-badge {
  display: inline-block;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid #F5C5C1;
  background: #FEF5F5;
  padding: 3px 8px;
  margin-top: 8px;
  font-weight: 500;
  border-radius: 2px;
}

/* LOGOS */
.logos-strip {
  padding: 40px 48px;
  background: #E8E4DC;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.logos-label { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-4); margin-bottom: 22px; font-weight: 500; }
.logos-row   { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.logo-pill   { font-size: 12px; color: #aaa; font-weight: 500; }

/* CTA FINAL */
.cta-final { padding: 88px 48px; background: var(--bg-dark); text-align: center; }
.cta-h     { font-size: clamp(26px, 4vw, 42px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; max-width: 660px; margin: 0 auto 16px; color: var(--white); }
.cta-sub   { font-size: 15px; color: #888; max-width: 500px; margin: 0 auto 32px; line-height: 1.65; }
.cta-btn {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 2px;
  cursor: pointer;
  letter-spacing: .04em;
  margin-bottom: 14px;
  transition: opacity .15s;
}
.cta-btn:hover { opacity: .88; }
.cta-micro { font-size: 11px; color: #444; letter-spacing: .05em; }

/* FOOTER */
.pm-footer {
  padding: 32px 48px;
  background: #111;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #1e1e1e;
}
.footer-logo      { font-size: 14px; font-weight: 700; color: var(--white); }
.footer-logo span { color: var(--red); font-weight: 400; }
.footer-links     { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a   { font-size: 12px; color: #555; transition: color .15s; }
.footer-links a:hover { color: #ccc; }
.footer-email     { font-size: 12px; color: #444; }
.footer-legal     { font-size: 11px; color: #333; width: 100%; padding-top: 16px; border-top: 1px solid #1e1e1e; margin-top: 4px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav { padding: 14px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero, .section, .cta-final { padding-left: 24px; padding-right: 24px; }
  .tldr, .logos-strip, .pm-footer { padding-left: 24px; padding-right: 24px; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-item { border-right: none; border-bottom: 1px solid var(--border); }
  .service-grid, .diff-grid, .testi-grid { grid-template-columns: 1fr; }
  .icp-sectors { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .price-wrap { grid-template-columns: 1fr; max-width: 100%; }
  .price-left { border-right: none; border-bottom: 1px solid var(--border); }
  .ctable td:first-child { white-space: normal; width: auto; }
}

@media (max-width: 600px) {
  .h1 { font-size: 28px; }
  .h2 { font-size: 24px; }
  .process-steps { grid-template-columns: 1fr; }
}

/* ── Hero caption (stat 83%) ─────────────────────────────── */
.hero-caption {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 20px;
  max-width: 520px;
  line-height: 1.6;
  border-left: 2px solid var(--border);
  padding-left: 12px;
}

/* ── Diff grid 6 cards (2 columnas × 3 filas) ────────────── */
.diff-grid {
  grid-template-columns: repeat(2, minmax(0,1fr));
}
