/*
Theme Name: LujoPost
Theme URI: https://lujopost.com
Author: LujoPost
Author URI: https://lujopost.com
Description: Landing page premium (negro + oro) para agentes inmobiliarios. Recreación pixel-a-pixel de la landing Lovable de LujoPost Kit™ 2026.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lujopost
Tags: one-page, landing, custom-logo, custom-menu, translation-ready
*/

/* =========================================================
   LujoPost — full stylesheet
   Faithful port of the Lovable/Tailwind design.
   ========================================================= */

/* ---------- Design tokens (OKLCH, with hex fallback where useful) ---------- */
:root {
  --radius: 0.5rem;

  --ink: oklch(0.16 0.01 60);
  --ink-2: oklch(0.20 0.01 60);
  --ink-3: oklch(0.12 0.01 60);
  --cream: oklch(0.985 0.008 85);
  --cream-2: oklch(0.95 0.01 80);
  --gold: oklch(0.78 0.13 82);
  --gold-soft: oklch(0.88 0.09 85);
  --gold-deep: oklch(0.62 0.14 68);

  --background: var(--cream);
  --foreground: var(--ink);
  --card: #ffffff;
  --muted: oklch(0.95 0.01 80);
  --muted-foreground: oklch(0.45 0.02 60);
  --border: oklch(0.9 0.015 80);
  --secondary: oklch(0.95 0.01 80);

  --gradient-gold: linear-gradient(135deg, var(--gold-soft), var(--gold) 45%, var(--gold-deep));
  --gradient-ink: linear-gradient(180deg, var(--ink-2), var(--ink-3));
  --shadow-gold: 0 20px 60px -20px color-mix(in oklab, var(--gold) 55%, transparent);
  --shadow-elegant: 0 30px 80px -30px oklch(0 0 0 / 0.35);

  --font-display: "Cormorant Garamond", ui-serif, Georgia, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.05;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em.plain { font-style: normal; }

/* ---------- Utilities ---------- */
.container { width: 100%; margin-inline: auto; padding-inline: 1.5rem; }
.container.max-6xl { max-width: 72rem; }   /* 1152px */
.container.max-5xl { max-width: 64rem; }   /* 1024px */
.container.max-4xl { max-width: 56rem; }   /* 896px */
.container.max-3xl { max-width: 48rem; }   /* 768px */
.container.max-2xl { max-width: 42rem; }   /* 672px */

.text-center { text-align: center; }
.text-left   { text-align: left; }
.mx-auto     { margin-inline: auto; }
.relative    { position: relative; }
.absolute    { position: absolute; }
.hidden      { display: none; }

.text-gold-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bg-ink {
  background: var(--gradient-ink);
  color: var(--cream);
}
.divider-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  border: 0;
  margin: 0;
}
.divider-gold.w-24 { width: 6rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
}
.eyebrow-dark { color: var(--gold); }

/* Rounded pill "chip" (LujoPost Kit™ 2026 badge etc.) */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid color-mix(in oklab, var(--foreground) 15%, transparent);
  background: color-mix(in oklab, var(--card) 60%, transparent);
  backdrop-filter: blur(6px);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
}
.chip .icon { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  text-align: center;
  line-height: 1;
}
.btn-primary {
  color: var(--cream);
  background: var(--gradient-ink);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary .btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem; height: 2rem;
  border-radius: 9999px;
  background: var(--gradient-gold);
  color: var(--ink);
  transition: transform .25s ease;
}
.btn-primary:hover .btn-arrow { transform: translateX(4px); }
.btn-outline-ink {
  border: 1px solid color-mix(in oklab, var(--foreground) 15%, transparent);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  background: transparent;
  border-radius: 9999px;
}
.btn-outline-ink:hover { background: var(--foreground); color: var(--background); }

/* ---------- NAV ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 30;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.25rem;
}
.nav-logo img { height: 40px; width: auto; }
.nav-logo .site-title { font-family: var(--font-display); font-size: 1.5rem; }
.nav-cta { display: none; }
@media (min-width: 640px) { .nav-cta { display: inline-flex; } }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 8rem 0 5rem;
  text-align: center;
}
@media (min-width: 768px) { .hero { padding: 10rem 0 7rem; } }
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg::before {
  content: "";
  position: absolute;
  top: 10rem; left: 50%;
  transform: translateX(-50%);
  height: 600px; width: 900px;
  border-radius: 9999px;
  filter: blur(60px);
  opacity: 0.3;
  background: radial-gradient(circle, var(--gold-soft), transparent 60%);
}
.hero h1 {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.5vw, 6rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.hero h1 em { font-style: normal; font-weight: 600; }
.hero .subtitle {
  margin: 1.75rem auto 0;
  max-width: 42rem;
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.65;
}
@media (min-width: 768px) { .hero .subtitle { font-size: 1.25rem; } }

.hero-mockup {
  position: relative;
  margin: 3.5rem auto 0;
  max-width: 56rem;
}
.hero-mockup::before {
  content: "";
  position: absolute;
  inset: -1.5rem;
  border-radius: 1.5rem;
  filter: blur(40px);
  opacity: 0.4;
  background: var(--gradient-gold);
}
.hero-mockup .mockup-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid color-mix(in oklab, var(--foreground) 10%, transparent);
  box-shadow: var(--shadow-elegant);
}

/* Social proof row */
.social-proof {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 2rem;
  font-size: 0.875rem;
}
.social-proof .stars { display: inline-flex; color: var(--gold); gap: 2px; }
.social-proof .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: color-mix(in oklab, var(--foreground) 80%, transparent);
}
.social-proof .pill .icon { color: var(--gold); width: 16px; height: 16px; }
.social-proof .muted { color: var(--muted-foreground); }

.hero-cta-row {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.hero-cta-row .fineprint { font-size: 0.75rem; color: var(--muted-foreground); }

/* ---------- Section common ---------- */
section { position: relative; }
.section-pad     { padding-block: 6rem; }
@media (min-width: 768px) { .section-pad { padding-block: 8rem; } }
.section-pad-sm  { padding-block: 5rem; }
.section-dark    { background: var(--gradient-ink); color: var(--cream); }
.section-title   { text-align: center; max-width: 42rem; margin: 0 auto; }
.section-title h2 {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  line-height: 1.1;
}
.section-title p { margin-top: 1.25rem; color: var(--muted-foreground); }

/* ---------- PROBLEM / SOLUTION (Método 3-2-1) ---------- */
.problem { padding: 6rem 0; text-align: center; }
@media (min-width: 768px) { .problem { padding: 8rem 0; } }
.problem h2 {
  margin-top: 1rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
}
.problem .lede {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: color-mix(in oklab, var(--cream) 80%, transparent);
}
@media (min-width: 768px) { .problem .lede { font-size: 1.25rem; } }
.problem .note {
  margin-top: 1rem;
  color: color-mix(in oklab, var(--cream) 70%, transparent);
}
.method-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
  text-align: left;
}
@media (min-width: 640px) { .method-grid { grid-template-columns: repeat(3, 1fr); } }
.method-card {
  border-radius: 1rem;
  border: 1px solid color-mix(in oklab, var(--cream) 15%, transparent);
  background: color-mix(in oklab, var(--cream) 3%, transparent);
  padding: 1.5rem;
}
.method-card .num-row { display: flex; align-items: baseline; gap: 0.5rem; }
.method-card .num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  background: var(--gradient-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.method-card .unit {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: color-mix(in oklab, var(--cream) 60%, transparent);
}
.method-card p {
  margin-top: 0.75rem;
  color: color-mix(in oklab, var(--cream) 85%, transparent);
}

/* ---------- WHAT YOU GET ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-5 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }

.what-grid { margin-top: 4rem; }
.item-card {
  position: relative;
  border-radius: 1rem;
  border: 1px solid color-mix(in oklab, var(--foreground) 10%, transparent);
  background: var(--card);
  padding: 2rem;
  transition: transform .25s ease, border-color .25s ease;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.item-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--gold) 50%, transparent);
}
.item-card .head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.item-card .icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem; height: 3.5rem;
  border-radius: 0.85rem;
  background: var(--gradient-gold);
  color: var(--ink);
}
.item-card .icon-box svg { width: 28px; height: 28px; }
.item-card .count {
  font-family: var(--font-display);
  font-size: 3rem;
  opacity: 0.7;
  background: var(--gradient-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.item-card h3 { margin-top: 1.5rem; font-size: 1.5rem; }
.item-card p  { margin-top: 0.5rem; color: var(--muted-foreground); line-height: 1.6; }
/* First card spans 2 cols on lg (like the React version) */
@media (min-width: 1024px) {
  .what-grid .item-card:first-child { grid-column: span 2; }
}

/* ---------- BONUSES ---------- */
.bonuses {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  background: linear-gradient(180deg, oklch(0.97 0.015 82), oklch(0.94 0.03 82));
}
@media (min-width: 768px) { .bonuses { padding: 8rem 0; } }
.bonuses::before {
  content: "";
  position: absolute;
  top: -10rem; right: -10rem;
  width: 500px; height: 500px;
  border-radius: 9999px;
  filter: blur(80px);
  opacity: 0.4;
  background: var(--gradient-gold);
  pointer-events: none;
}
.bonuses .chip { border-color: color-mix(in oklab, var(--gold) 40%, transparent); color: var(--gold-deep); background: color-mix(in oklab, var(--cream) 60%, transparent); }
.bonus-card {
  position: relative;
  border-radius: 1rem;
  background: var(--card);
  padding: 2rem;
  border: 1px solid color-mix(in oklab, var(--foreground) 5%, transparent);
  box-shadow: var(--shadow-elegant);
}
.bonus-card .bono-tag {
  position: absolute;
  top: -1rem; left: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink);
  background: var(--gradient-gold);
}
.bonus-card .gift-icon { width: 32px; height: 32px; color: var(--gold-deep); }
.bonus-card h3 { margin-top: 1.25rem; font-size: 1.5rem; line-height: 1.25; }
.bonus-card p  { margin-top: 0.5rem; color: var(--muted-foreground); }

/* ---------- WHY LUJOPOST ---------- */
.why { padding: 6rem 0; }
@media (min-width: 768px) { .why { padding: 8rem 0; } }
.why-grid { margin-top: 4rem; display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-col { text-align: center; }
@media (min-width: 768px) { .why-col { text-align: left; } }
.why-col .why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  border-radius: 9999px;
  border: 1px solid color-mix(in oklab, var(--gold) 40%, transparent);
  color: var(--gold-deep);
}
.why-col h3 { margin-top: 1.25rem; font-size: 1.5rem; }
.why-col p  { margin-top: 0.75rem; color: var(--muted-foreground); line-height: 1.6; }

/* ---------- FOR WHO ---------- */
.for-who {
  background: color-mix(in oklab, var(--secondary) 50%, transparent);
  padding: 5rem 0;
}
.for-who h2 {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 3rem);
}
.for-list {
  margin-top: 3rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) { .for-list { grid-template-columns: repeat(2, 1fr); } }
.for-item {
  display: flex;
  gap: 1rem;
  border-radius: 0.75rem;
  background: var(--card);
  padding: 1.25rem;
  border: 1px solid color-mix(in oklab, var(--foreground) 5%, transparent);
}
.for-item .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem; height: 1.5rem;
  border-radius: 9999px;
  background: var(--gradient-gold);
  color: var(--ink);
  flex-shrink: 0;
  margin-top: 2px;
}
.for-item .check svg { width: 14px; height: 14px; stroke-width: 3; }
.for-item span.text { color: color-mix(in oklab, var(--foreground) 85%, transparent); }

/* ---------- HOW IT WORKS ---------- */
.how { padding: 6rem 0; text-align: center; }
@media (min-width: 768px) { .how { padding: 7rem 0; } }
.how-grid { margin-top: 3.5rem; display: grid; gap: 2rem; }
@media (min-width: 768px) { .how-grid { grid-template-columns: repeat(3, 1fr); } }
.step .step-num {
  font-family: var(--font-display);
  font-size: 4.5rem;
  opacity: 0.8;
  background: var(--gradient-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (min-width: 768px) { .step .step-num { font-size: 5.5rem; } }
.step h3 { margin-top: 0.5rem; font-size: 1.5rem; }
.step p  { margin-top: 0.5rem; color: var(--muted-foreground); }

/* ---------- MUST KNOW (dark) ---------- */
.must-know { padding: 5rem 0; background: var(--gradient-ink); color: var(--cream); }
.must-know h2 { text-align: center; font-size: clamp(1.8rem, 4vw, 3rem); }
.must-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .must-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .must-grid { grid-template-columns: repeat(5, 1fr); } }
.must-card {
  border-radius: 0.75rem;
  border: 1px solid color-mix(in oklab, var(--cream) 15%, transparent);
  background: color-mix(in oklab, var(--cream) 3%, transparent);
  padding: 1.25rem;
  text-align: center;
}
.must-card svg { margin: 0 auto; width: 24px; height: 24px; color: var(--gold); }
.must-card p { margin-top: 0.75rem; font-size: 0.875rem; color: color-mix(in oklab, var(--cream) 85%, transparent); }

/* ---------- FAQ ---------- */
.faq { padding: 6rem 0; }
@media (min-width: 768px) { .faq { padding: 8rem 0; } }
.faq-list {
  margin-top: 3rem;
  border-top: 1px solid color-mix(in oklab, var(--foreground) 10%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--foreground) 10%, transparent);
}
.faq-item + .faq-item { border-top: 1px solid color-mix(in oklab, var(--foreground) 10%, transparent); }
.faq-item .q-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.5rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.25rem;
}
@media (min-width: 768px) { .faq-item .q-btn { font-size: 1.5rem; } }
.faq-item .chev {
  width: 20px; height: 20px;
  color: var(--gold-deep);
  flex-shrink: 0;
  transition: transform .3s ease;
}
.faq-item.open .chev { transform: rotate(180deg); }
.faq-item .a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .3s ease, opacity .3s ease, padding-bottom .3s ease;
}
.faq-item.open .a-wrap {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-bottom: 1.5rem;
}
.faq-item .a-wrap > div { overflow: hidden; }
.faq-item .a-wrap p { color: var(--muted-foreground); line-height: 1.65; }

/* ---------- FINAL CTA ---------- */
.final-cta {
  position: relative;
  padding: 7rem 0;
  background: var(--gradient-ink);
  color: var(--cream);
  overflow: hidden;
  text-align: center;
}
@media (min-width: 768px) { .final-cta { padding: 9rem 0; } }
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  opacity: 0.3;
  background: radial-gradient(circle at 50% 30%, var(--gold-soft), transparent 55%);
  pointer-events: none;
}
.final-cta .inner { position: relative; max-width: 48rem; margin: 0 auto; padding: 0 1.5rem; }
.final-cta .sparkle { margin: 0 auto; width: 24px; height: 24px; color: var(--gold); }
.final-cta h2 {
  margin-top: 1.25rem;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.05;
}
.final-cta .subtitle { margin-top: 1.5rem; font-size: 1.125rem; color: color-mix(in oklab, var(--cream) 80%, transparent); }
.final-cta .price-row {
  margin-top: 2.5rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.final-cta .price {
  display: flex; align-items: baseline; gap: 0.75rem;
}
.final-cta .old-price { font-size: 0.875rem; color: color-mix(in oklab, var(--cream) 60%, transparent); text-decoration: line-through; }
.final-cta .now-price {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 600;
  background: var(--gradient-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (min-width: 768px) { .final-cta .now-price { font-size: 5rem; } }
.final-cta .fineprint { font-size: 0.75rem; color: color-mix(in oklab, var(--cream) 60%, transparent); }
.final-cta .feature-row {
  margin-top: 3.5rem;
  display: flex; justify-content: center; gap: 1.5rem;
  font-size: 0.75rem;
  color: color-mix(in oklab, var(--cream) 50%, transparent);
  flex-wrap: wrap;
}
.final-cta .feature-row span { display: inline-flex; align-items: center; gap: 6px; }
.final-cta .feature-row svg { width: 14px; height: 14px; color: var(--gold); }

/* ---------- FOOTER ---------- */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid color-mix(in oklab, var(--foreground) 10%, transparent);
}
.site-footer .inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}
@media (min-width: 768px) { .site-footer .inner { flex-direction: row; } }
.site-footer img { height: 36px; width: auto; }
.site-footer p { font-size: 0.75rem; color: var(--muted-foreground); }

/* ---------- Misc helpers ---------- */
.mt-6  { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }
