/* Landing — Control Taller "Garage Forge" */
.landing {
  background: var(--bg);
  color: var(--text);
}

/* ——— Nav ——— */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 2rem;
  background: rgba(243, 240, 235, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--border);
}
.landing-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.landing-logo svg { color: var(--brand); flex-shrink: 0; }
.landing-logo:hover { color: var(--text); text-decoration: none; }
.landing-nav-links { display: flex; align-items: center; gap: 1.25rem; }
.landing-nav-links a { color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; text-decoration: none; }
.landing-nav-links a:hover { color: var(--brand); }

/* ——— Hero ——— */
.landing-hero {
  position: relative;
  background: var(--sidebar-bg);
  overflow: hidden;
}
.landing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 400px at 80% -10%, rgba(212, 82, 10, 0.18), transparent 60%),
    repeating-linear-gradient(-12deg, transparent, transparent 18px, rgba(212, 82, 10, 0.045) 18px, rgba(212, 82, 10, 0.045) 19px);
  pointer-events: none;
}
.landing-hero-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.5rem 2rem 3.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d8d0c5;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(212, 82, 10, 0.25);
}
.landing-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  color: #fff;
}
.landing-hero h1 em { font-style: normal; color: var(--brand-muted); }
.landing-hero .lead {
  font-size: 1.1rem;
  color: #a8a096;
  line-height: 1.65;
  margin: 0 0 2rem;
  max-width: 32rem;
}
.landing-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.landing-hero .landing-cta .btn-primary {
  background: var(--brand);
  box-shadow: 0 6px 24px rgba(212, 82, 10, 0.4);
}
.landing-hero .landing-cta .btn-primary:hover { background: var(--brand-hover); }
.landing-hero .landing-cta .btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #f5f0e8;
}
.landing-hero .landing-cta .btn-secondary:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 0;
  margin: 1.75rem 0 0;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #c4bdb4;
}
.hero-trust svg { color: var(--brand-muted); }

/* ——— Hero mockup (app realista) ——— */
.landing-mockup {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 0.8rem;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}
.landing-mockup-inner {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.mock-app { display: grid; grid-template-columns: 56px 1fr; min-height: 250px; }
.mock-side {
  background: var(--sidebar-bg);
  border-right: 3px solid var(--brand);
  padding: 0.6rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mock-brand { display: flex; align-items: center; justify-content: center; padding-bottom: 0.4rem; }
.mock-nav { height: 8px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); }
.mock-nav.active { background: var(--brand); }
.mock-main { display: flex; flex-direction: column; }
.mock-bar {
  height: 30px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  gap: 0.35rem;
}
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.mock-content { padding: 1rem; }
.mock-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin-bottom: 0.9rem; }
.mock-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 2px solid var(--brand);
  border-radius: var(--radius);
  padding: 0.6rem 0.7rem;
  font-size: 0.68rem;
  color: var(--muted);
}
.mock-stat:nth-child(2) { border-top-color: var(--petrol); }
.mock-stat:nth-child(3) { border-top-color: var(--warning); }
.mock-stat:nth-child(4) { border-top-color: var(--success); }
.mock-stat strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--text); }
.mock-rows { display: flex; flex-direction: column; gap: 0.4rem; }
.mock-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.45rem 0.6rem;
}
.mock-pill { width: 26px; height: 8px; border-radius: 3px; background: var(--border-strong); flex-shrink: 0; }
.mock-line { flex: 1; height: 8px; border-radius: 3px; background: var(--bg-subtle); }
.mock-tag {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  flex-shrink: 0;
}
.tag-repair { background: var(--brand-soft); color: var(--brand-hover); }
.tag-wait { background: var(--warning-soft); color: var(--warning); }
.tag-done { background: var(--success-soft); color: var(--success); }

.hero-logos {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}
.hero-logos span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: #6b635a; }
.hero-logos strong { font-family: var(--font-display); font-size: 0.95rem; color: #8a8278; font-weight: 600; }

/* ——— Stats band ——— */
.landing-stats-band { background: var(--brand); }
.stats-band-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.band-item { text-align: center; color: #fff; }
.band-item strong { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; line-height: 1; }
.band-item span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.85); }

/* ——— Sections ——— */
.landing-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.5rem 2rem;
}
.section-kicker {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 0.6rem;
}
.section-kicker.light { color: var(--brand-muted); }
.landing-section h2,
.landing-flow h2,
.landing-pricing-wrap h2 {
  font-family: var(--font-display);
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.section-lead {
  text-align: center;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

/* ——— Features ——— */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.feature-card {
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  border-color: var(--brand-muted);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.feature-card h3 { font-family: var(--font-display); margin: 0.85rem 0 0.5rem; font-size: 1.05rem; font-weight: 600; }
.feature-card p { margin: 0; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.55; }
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card:nth-child(even) .feature-icon { background: var(--petrol-soft); color: var(--petrol); }

/* ——— Flow ——— */
.landing-flow { background: var(--bg-subtle); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.flow-inner { max-width: 1120px; margin: 0 auto; padding: 4.5rem 2rem; }
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}
.flow-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.flow-step::after {
  content: '';
  position: absolute;
  top: 2.1rem;
  right: -0.6rem;
  width: 1.2rem;
  height: 2px;
  background: var(--brand-muted);
}
.flow-step:last-child::after { display: none; }
.flow-num {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}
.flow-step h3 { font-family: var(--font-display); margin: 0 0 0.4rem; font-size: 1.02rem; }
.flow-step p { margin: 0; font-size: 0.88rem; color: var(--text-secondary); line-height: 1.5; }

/* ——— Pricing ——— */
.landing-pricing-wrap { background: var(--sidebar-bg); }
.pricing-inner { max-width: 1120px; margin: 0 auto; padding: 4.5rem 2rem; }
.landing-pricing-wrap h2 { color: #fff; }
.landing-pricing-wrap .section-lead { color: #a8a096; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 760px;
  margin: 0 auto;
}
.pricing-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  background: rgba(255, 255, 255, 0.04);
  color: #f5f0e8;
}
.pricing-card.featured {
  border-color: var(--brand);
  background: rgba(212, 82, 10, 0.12);
  box-shadow: 0 0 0 1px var(--brand), 0 16px 40px rgba(0, 0, 0, 0.3);
}
.pricing-flag {
  position: absolute;
  top: -0.7rem;
  right: 1.5rem;
  background: var(--brand);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}
.pricing-card h3 { font-family: var(--font-display); margin: 0 0 0.25rem; font-size: 1.15rem; }
.pricing-price { font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; margin: 0.5rem 0 0.25rem; color: #fff; }
.pricing-price span { font-size: 0.9rem; font-weight: 400; color: #a8a096; }
.pricing-tagline { font-size: 0.85rem; color: #a8a096; margin: 0 0 1rem; }
.pricing-card ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; font-size: 0.9rem; color: #d8d0c5; }
.pricing-card li { padding: 0.4rem 0; padding-left: 1.4rem; position: relative; }
.pricing-card li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-muted); font-weight: 700; }
.pricing-card .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}
.pricing-card .btn-secondary:hover { background: rgba(255, 255, 255, 0.14); }
.pricing-note { text-align: center; margin: 2rem 0 0; font-size: 0.88rem; color: #a8a096; }
.pricing-note a { color: var(--brand-muted); }

/* ——— FAQ ——— */
.landing-faq { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0 1.25rem;
}
.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 0;
  font-weight: 600;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--brand);
  font-weight: 400;
  line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 0; padding: 0 0 1.1rem; color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }

/* ——— CTA final ——— */
.landing-cta-final {
  background:
    radial-gradient(700px 300px at 50% 120%, rgba(212, 82, 10, 0.25), transparent 60%),
    var(--brand);
}
.cta-final-inner { max-width: 720px; margin: 0 auto; padding: 4rem 2rem; text-align: center; }
.cta-final-inner h2 { font-family: var(--font-display); color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin: 0 0 0.75rem; }
.cta-final-inner p { color: rgba(255, 255, 255, 0.9); font-size: 1.05rem; margin: 0 0 1.75rem; }
.cta-final-inner .btn-primary { background: #fff; color: var(--brand-hover); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); }
.cta-final-inner .btn-primary:hover { background: #fff7f0; color: var(--brand-hover); }

/* ——— Footer ——— */
.landing-footer { background: var(--sidebar-bg); padding: 2.5rem 2rem 1.5rem; }
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.landing-footer .landing-logo { color: #f5f0e8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a { color: #a8a096; font-size: 0.88rem; text-decoration: none; }
.footer-links a:hover { color: var(--brand-muted); }
.footer-copy { max-width: 1120px; margin: 1.25rem auto 0; text-align: center; color: #6b635a; font-size: 0.8rem; }

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .landing-nav { padding: 0.75rem 1rem; gap: 0.75rem; }
  .landing-nav-links { gap: 0.6rem; }
  .landing-nav-links a:not(.btn) { display: none; }
  .landing-hero-inner { grid-template-columns: 1fr; padding: 2.5rem 1.25rem 3rem; gap: 2rem; }
  .landing-hero h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .landing-mockup { order: -1; }
  .hero-logos { padding: 0 1.25rem 2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .flow-step::after { display: none; }
  .stats-band-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .landing-section,
  .flow-inner,
  .pricing-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
}
@media (max-width: 560px) {
  .landing-logo { font-size: 1.02rem; }
  .landing-nav-links .btn-secondary { display: none; }
  .flow-steps { grid-template-columns: 1fr; }
  .hero-logos { gap: 0.75rem 1rem; }
  .landing-cta { flex-direction: column; }
  .landing-cta .btn { width: 100%; }
}

/* ===================================================================
   Capa premium — inspirada en 21st.dev (heroes, bento, testimonios)
   =================================================================== */

/* ——— Scroll reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-reveal] { transition-delay: var(--reveal-delay, 0ms); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ——— Hero: aurora glow animado ——— */
.landing-hero::after {
  content: '';
  position: absolute;
  top: -25%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 720px;
  max-height: 720px;
  background: radial-gradient(circle at center, rgba(212, 82, 10, 0.30), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
  animation: heroGlow 11s ease-in-out infinite;
}
@keyframes heroGlow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate(-4%, 5%) scale(1.12); opacity: 1; }
}
.landing-hero-inner, .hero-logos { z-index: 1; }

/* badge con punto que late */
.hero-badge-dot { animation: badgePulse 2.4s ease-in-out infinite; }
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(212, 82, 10, 0.25); }
  50% { box-shadow: 0 0 0 6px rgba(212, 82, 10, 0.05); }
}

/* título con acento degradado en el "em" */
.landing-hero h1 em {
  background: linear-gradient(100deg, var(--brand-muted), var(--brand) 55%, #ffb07a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand-muted);
}

/* mockup con leve flotación */
.landing-mockup { animation: floatY 7s ease-in-out infinite; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ——— Botones con barrido de luz (shine) ——— */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }

/* ——— Marquee de sectores ——— */
.logos-marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logos-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.logos-track strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #8a8278;
  font-weight: 600;
  white-space: nowrap;
}
.logos-marquee:hover .logos-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ——— Features: bento grid ——— */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 1rem;
}
.bento-grid .feature-card { display: flex; flex-direction: column; }
.bento-lg { grid-row: span 2; }
.bento-wide { grid-column: span 2; }
.bento-lg h3 { font-size: 1.2rem; }
.feature-card { position: relative; overflow: hidden; }
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 180px at var(--mx, 50%) -10%, rgba(212, 82, 10, 0.10), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.feature-card:hover::before { opacity: 1; }
.bento-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; padding-top: 1rem; }
.bento-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-hover);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}

/* ——— Testimonios ——— */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  border-color: var(--brand-muted);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.testimonial-stars { color: var(--brand); letter-spacing: 0.1em; font-size: 0.95rem; }
.testimonial-card blockquote {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text);
}
.testimonial-card figcaption { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-card figcaption > span { display: flex; flex-direction: column; line-height: 1.3; }
.testimonial-card figcaption strong { font-size: 0.9rem; }
.testimonial-card figcaption small { color: var(--muted); font-size: 0.8rem; }

/* ——— Responsive premium ——— */
@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-lg { grid-row: auto; }
  .bento-wide { grid-column: auto; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .landing-hero::after { max-width: 420px; max-height: 420px; top: -10%; }
}
