/* =========================================================
   PIXELIA MD — Static rebuild
   Brand tokens ported 1:1 from src/styles.css + src/lib/brand.ts
   ========================================================= */

:root {
  --radius: 1.25rem;

  --brand-morado: #712066;
  --brand-magenta: #b81158;
  --brand-coral: #eb625d;
  --brand-white: #ffffff;
  --brand-dark: #180a17;
  --brand-deep: #32102e;

  --surface-light: #fcf7fa;
  --surface-coral: #fff4f2;
  --surface-dark: #180a17;

  --ink: #241522;
  --ink-soft: #66535f;
  --ink-faint: #927f8b;
  --hairline: #eedfe8;

  --gradient-pixelia: linear-gradient(135deg, #eb625d 0%, #b81158 55%, #712066 100%);
  --gradient-pixelia-soft: linear-gradient(135deg, #fff4f2 0%, #fcf7fa 100%);
  --gradient-pixelia-light: linear-gradient(120deg, #ffd1c4 0%, #ffa39b 30%, #f47ba0 60%, #c98bc0 100%);

  --shadow-card: 0 1px 2px rgba(36, 21, 34, 0.04), 0 12px 32px -18px rgba(113, 32, 102, 0.18);
  --shadow-hover: 0 2px 4px rgba(36, 21, 34, 0.06), 0 24px 48px -20px rgba(184, 17, 88, 0.28);

  --font-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--brand-white);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.text-gradient {
  background: var(--gradient-pixelia);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--brand-magenta);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 999px;
  padding: 1rem 1.75rem;
  font-size: .9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-primary { background: var(--gradient-pixelia); color: #fff; box-shadow: var(--shadow-hover); }
.btn-primary:hover { transform: scale(1.03); }
.btn-outline { border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--brand-morado); font-weight: 700; box-shadow: var(--shadow-hover); }
.btn-white:hover { transform: scale(1.02); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .container {
  height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo { display: flex; align-items: center; gap: .6rem; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--gradient-pixelia);
  display: grid; place-items: center;
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
}
.logo-word { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.logo-word span { color: var(--brand-magenta); }

.nav-links { display: none; align-items: center; gap: 2.25rem; }
.nav-links a {
  font-size: .95rem; font-weight: 600; color: var(--ink);
  position: relative; padding-bottom: 4px; transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--brand-magenta); }
.nav-cta { display: none; }
.nav-toggle {
  display: inline-flex; background: none; border: none; padding: .4rem;
  cursor: pointer; color: var(--ink);
}
.mobile-menu {
  display: none;
  border-top: 1px solid var(--hairline);
  background: rgba(255,255,255,.98);
}
.mobile-menu.open { display: block; }
.mobile-menu .container { flex-direction: column; align-items: stretch; height: auto; padding-block: 1rem; gap: .25rem; }
.mobile-menu a { padding: .85rem 1rem; border-radius: 1rem; font-weight: 600; }
.mobile-menu a:hover { background: var(--surface-light); }
.mobile-cta { margin-top: .5rem; text-align: center; }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

main { padding-top: 5.5rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 4rem 6rem;
}
.hero-blob {
  position: absolute; border-radius: 999px; filter: blur(90px); pointer-events: none;
}
.hero-blob.coral { top: -8rem; right: -6rem; width: 520px; height: 520px; background: radial-gradient(circle at 30% 30%, #eb625d 0%, transparent 60%); opacity: .6; }
.hero-blob.morado { top: 10rem; left: -10rem; width: 480px; height: 480px; background: radial-gradient(circle at 70% 40%, #712066 0%, transparent 65%); opacity: .5; }
.hero-inner { position: relative; }
.hero h1 {
  margin-top: 2rem;
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.03em;
  font-size: clamp(2.6rem, 8vw, 6.5rem);
}
.hero h1 em { font-style: italic; }
.hero-lead {
  max-width: 40rem;
  margin-top: 2.5rem;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--ink-soft);
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-tag { margin-top: 1.5rem; font-family: var(--font-display); font-style: italic; color: var(--brand-morado); }

/* ---------- Sections ---------- */
section { padding-block: 5.5rem; }
.section-light { background: var(--surface-light); }
.section-dark { background: var(--surface-dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-soft { background: var(--gradient-pixelia-soft); }

.section-head { max-width: 46rem; }
.section-head h2 {
  margin-top: .75rem;
  font-weight: 900;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.section-head p { margin-top: 1.5rem; color: var(--ink-soft); font-size: 1.1rem; }
.section-dark .section-head p { color: rgba(255,255,255,.85); }

/* Manifesto values */
.value-grid { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.value-item { display: flex; gap: 1rem; align-items: flex-start; }
.value-icon {
  width: 2.75rem; height: 2.75rem; border-radius: 1rem; flex-shrink: 0;
  background: var(--gradient-pixelia); color: #fff; display: grid; place-items: center;
  font-weight: 800; box-shadow: var(--shadow-card);
}
.value-item h4 { font-size: 1.1rem; font-weight: 700; }
.value-item p { margin: .2rem 0 0; color: var(--ink-soft); font-size: .92rem; }

.two-col { display: grid; gap: 3rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Card grid (services / values) */
.card-grid { display: grid; gap: 1.25rem; margin-top: 3rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--hairline); border-radius: 2rem;
  padding: 2rem; box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-icon {
  width: 3.4rem; height: 3.4rem; border-radius: 1rem; background: var(--gradient-pixelia);
  color: #fff; display: grid; place-items: center; font-size: 1.3rem; box-shadow: var(--shadow-card);
}
.card h3 { margin-top: 1.75rem; font-size: 1.35rem; font-weight: 700; }
.card p { margin-top: .65rem; color: var(--ink-soft); font-size: .92rem; }
.card-link { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--brand-magenta); font-size: .9rem; }

.placeholder-box {
  border: 1.5px dashed var(--hairline); border-radius: 2rem; padding: 3.5rem 2rem;
  text-align: center; color: var(--ink-soft);
}

/* Methodology steps */
.steps { display: grid; gap: 2.5rem; margin-top: 4rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step-circle {
  width: 5rem; height: 5rem; border-radius: 999px; background: var(--gradient-pixelia);
  color: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: var(--shadow-hover);
  position: relative;
}
.step-num {
  position: absolute; top: -.3rem; right: -.3rem; width: 1.8rem; height: 1.8rem; border-radius: 999px;
  background: #fff; color: var(--brand-morado); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: .8rem;
}
.step h3 { margin-top: 1.25rem; font-size: 1.4rem; }
.step p { margin-top: .4rem; color: rgba(255,255,255,.85); font-size: .92rem; }

/* Testimonials */
.testi-grid { display: grid; gap: 1.5rem; margin-top: 3rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.testi-card {
  background: #fff; border: 1px solid var(--hairline); border-radius: 2rem; padding: 2rem;
  box-shadow: var(--shadow-card); position: relative;
}
.testi-quote-mark {
  position: absolute; top: -1.1rem; left: 1.75rem; width: 2.5rem; height: 2.5rem; border-radius: 999px;
  background: var(--gradient-pixelia); color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; box-shadow: var(--shadow-hover);
}
.testi-card blockquote { margin: .75rem 0 0; font-family: var(--font-display); font-size: 1.05rem; }
.testi-person { display: flex; gap: .85rem; align-items: center; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline); }
.testi-avatar { width: 2.75rem; height: 2.75rem; border-radius: 999px; background: var(--gradient-pixelia); color:#fff; display:grid; place-items:center; font-weight:800; font-size:.85rem; }
.testi-person .name { font-weight: 700; font-size: .92rem; }
.testi-person .role { font-size: .82rem; color: var(--ink-soft); }

/* Final CTA banner */
.cta-banner {
  position: relative; overflow: hidden; border-radius: 2.5rem; background: var(--gradient-pixelia);
  padding: 3.5rem 2rem; color: #fff; box-shadow: var(--shadow-hover);
}
.cta-banner h2 { color: #fff; font-weight: 900; font-size: clamp(2rem, 4vw, 3rem); }
.cta-banner p { margin-top: 1rem; max-width: 34rem; color: rgba(255,255,255,.92); font-size: 1.05rem; }
.cta-flex { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .cta-flex { grid-template-columns: 2fr 1fr; } }
.cta-actions { display: flex; flex-direction: column; gap: .85rem; }

/* Contact page */
.contact-grid { display: grid; gap: 3rem; padding-block: 4rem; }
@media (min-width: 950px) { .contact-grid { grid-template-columns: 5fr 7fr; } }
.contact-item {
  display: flex; align-items: center; gap: 1rem; border: 1px solid var(--hairline); border-radius: 1.25rem;
  padding: 1rem; box-shadow: var(--shadow-card); margin-top: 1rem; transition: border-color .2s;
}
.contact-item:hover { border-color: var(--brand-magenta); }
.contact-item .ico { width: 2.75rem; height: 2.75rem; border-radius: 1rem; background: var(--gradient-pixelia-soft); color: var(--brand-magenta); display:grid; place-items:center; }
.contact-item .lbl { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); font-weight: 700; }
.contact-item .val { font-weight: 600; }
.how-we-work { margin-top: 2rem; border: 1px solid var(--hairline); border-radius: 1.5rem; background: var(--surface-light); padding: 1.5rem; }
.how-we-work ol { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .75rem; font-size: .92rem; color: var(--ink-soft); }
.how-we-work li { display: flex; gap: .6rem; }
.how-we-work b { color: var(--brand-morado); font-family: var(--font-display); }

form.contact-form {
  border: 1px solid var(--hairline); border-radius: 2rem; background: #fff; padding: 2rem;
  box-shadow: var(--shadow-card);
}
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: .5rem; font-size: .9rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--hairline); border-radius: 1rem; padding: .8rem 1rem;
  font-family: var(--font-sans); font-size: .92rem; color: var(--ink); outline: none; background: #fff;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-magenta); }
.field.full { grid-column: 1 / -1; }
.consent { margin-top: 1.5rem; display: flex; gap: .75rem; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); }
.consent input { margin-top: .3rem; }
.honeypot { position: absolute; left: -9999px; }
.submit-row { margin-top: 2rem; }
.form-success {
  border-radius: 2rem; background: var(--gradient-pixelia); color: #fff; padding: 3rem 2rem; text-align: center;
  box-shadow: var(--shadow-hover);
}
.form-error {
  border: 1px solid var(--brand-coral); background: var(--surface-coral); color: var(--brand-morado);
  border-radius: 1rem; padding: 1rem 1.25rem; margin-bottom: 1.5rem; font-size: .9rem;
}

/* Footer */
.site-footer { background: var(--surface-dark); color: #fff; }
.footer-grid { display: grid; gap: 3rem; padding-block: 4rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-tag { margin-top: 1.5rem; font-family: var(--font-display); font-size: 1.1rem; color: rgba(255,255,255,.85); max-width: 26rem; }
.footer-tag em { color: var(--brand-coral); font-style: italic; }
.footer-desc { margin-top: .75rem; font-size: .88rem; color: rgba(255,255,255,.6); max-width: 26rem; }
.social-row { display: flex; gap: .75rem; margin-top: 1.5rem; }
.social-row a {
  width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.15);
  display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.social-row a:hover { background: var(--brand-coral); border-color: var(--brand-coral); }
.footer-col h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: rgba(255,255,255,.5); }
.footer-col ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .55rem; font-size: .92rem; }
.footer-col ul a { color: rgba(255,255,255,.8); }
.footer-col ul a:hover { color: var(--brand-coral); }
.footer-cta { margin-top: 1.5rem; display: inline-flex; background: var(--brand-coral); color: #fff; padding: .65rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: .88rem; }
.footer-cta:hover { background: var(--brand-magenta); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.75rem; font-size: .78rem;
  color: rgba(255,255,255,.5); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
}
.footer-bottom a:hover { color: rgba(255,255,255,.8); }

/* ---------- Logo como imagen (jpg) ---------- */
.logo-img { height: auto; width: 130px; display: block; }
@media (min-width: 1024px) { .logo-img { width: 170px; } }
.footer-logo-img { height: auto; width: 130px; display: block; }

/* ---------- Skeleton loading (contenido dinámico) ---------- */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* Simple inner-page hero */
.page-hero { background: var(--gradient-pixelia-soft); padding-block: 5rem; }
.page-hero h1 { margin-top: .75rem; font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; }
.page-hero p { margin-top: 1.25rem; max-width: 34rem; color: var(--ink-soft); font-size: 1.1rem; }

.badge-list { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.badge-list span {
  border: 1px solid var(--hairline); border-radius: 999px; padding: .4rem 1rem; font-size: .82rem;
  color: var(--ink-soft); background: #fff;
}
