/**
 * Libro de Reclamaciones Digital — Landing Page Styles
 *
 * Scoped under `.lr-landing` to avoid conflicts with Astra / Elementor.
 *
 * @package Astra Child
 * @since   1.0.0
 */

/* ===== SCOPED RESET ===== */
.lr-landing *, .lr-landing *::before, .lr-landing *::after { margin: 0; padding: 0; box-sizing: border-box; }
.lr-landing { font-family: 'Lato', sans-serif; color: #364151; line-height: 1.7; width: 100%; }
.lr-landing img { max-width: 100%; height: auto; }
.lr-landing a { text-decoration: none; color: inherit; }

/* ===== DESIGN TOKENS ===== */
.lr-landing {
  --navy: #0E2B67;
  --navy-dark: #002C6B;
  --blue: #0067FF;
  --blue-hover: #0052CC;
  --mint: #72F5C4;
  --light-bg: #E7F6FF;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-500: #64748B;
  --gray-700: #364151;
  --gray-900: #0F172A;
  --section-padding: 80px 0;
  --lr-container: 1140px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 50px -12px rgba(14,43,103,0.25);
}

/* ===== CONTAINER ===== */
.lr-landing .lr-container { max-width: var(--lr-container); margin: 0 auto; padding: 0 24px; }

/* ===== TYPOGRAPHY ===== */
.lr-landing .section-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 12px;
}
.lr-landing .section-label.dark { color: var(--blue); }

.lr-landing h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  color: var(--white);
}

.lr-landing h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 20px;
}

.lr-landing h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 8px;
}

.lr-landing h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 8px;
}

.lr-landing p { margin-bottom: 16px; font-size: 17px; }
.lr-landing .lead { font-size: 19px; line-height: 1.8; color: var(--gray-500); }

/* ===== BUTTONS ===== */
.lr-landing .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.lr-landing .btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.lr-landing .btn-primary:hover { background: var(--blue-hover); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.lr-landing .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.lr-landing .btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.lr-landing .btn-sm { padding: 12px 28px; font-size: 14px; }

/* ===== HERO ===== */
.lr-landing .hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #1a3a7a 100%);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}
.lr-landing .hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(114,245,196,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.lr-landing .hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,103,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.lr-landing .hero .lr-container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.lr-landing .hero-content { max-width: 560px; }
.lr-landing .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #FCA5A5;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.lr-landing .hero h1 { margin-bottom: 24px; }
.lr-landing .hero h1 span { color: var(--mint); }
.lr-landing .hero-desc { font-size: 18px; line-height: 1.8; color: rgba(255,255,255,0.75); margin-bottom: 36px; }
.lr-landing .hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; flex-direction: row; }
.lr-landing .hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.lr-landing .hero-visual-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 440px;
}
.lr-landing .hero-visual-card .stat-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.lr-landing .hero-visual-card .stat-row:last-child { border-bottom: none; }
.lr-landing .hero-visual-card .stat-label { color: rgba(255,255,255,0.5); font-size: 14px; }
.lr-landing .hero-visual-card .stat-value { color: var(--mint); font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 18px; }
.lr-landing .hero-visual-card .stat-value.alert { color: #FCA5A5; }
.lr-landing .hero-visual-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--mint);
}

/* ===== TRUST BAR ===== */
.lr-landing .trust-bar {
  background: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-200);
}
.lr-landing .trust-bar .lr-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px 24px;
  max-width: 800px;
  justify-items: center;
  align-items: center;
}
.lr-landing .trust-item {
  grid-column: span 2;
  text-align: center;
}
.lr-landing .trust-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: var(--navy);
  line-height: 1;
}
.lr-landing .trust-label {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== PAIN SECTION ===== */
.lr-landing .pain {
  padding: var(--section-padding);
  background: var(--gray-50);
}
.lr-landing .pain .lr-container { max-width: 900px; }
.lr-landing .pain h2 { margin-bottom: 12px; }
.lr-landing .pain > .lr-container > p { text-align: center; color: var(--gray-500); margin-bottom: 40px; }
.lr-landing .pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.lr-landing .pain-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border-left: 4px solid var(--mint);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.lr-landing .pain-card:hover { transform: translateY(-4px); }
.lr-landing .pain-card .icon { margin-bottom: 12px; }
.lr-landing .pain-card .icon svg { width: 28px; height: 28px; stroke: var(--navy); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.lr-landing .pain-card h3 { font-size: 16px; color: var(--gray-900); margin-bottom: 8px; }
.lr-landing .pain-card p { font-size: 15px; color: var(--gray-500); margin-bottom: 0; line-height: 1.6; }

/* ===== SOLUTION ===== */
.lr-landing .solution {
  padding: var(--section-padding);
  background: var(--white);
}
.lr-landing .solution .lr-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.lr-landing .solution-content h2 { margin-bottom: 24px; }
.lr-landing .solution-content p { margin-bottom: 24px; }
.lr-landing .solution-visual {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a7a 100%);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  color: var(--white);
}
.lr-landing .solution-feature {
  display: flex; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.lr-landing .solution-feature:last-child { border-bottom: none; }
.lr-landing .solution-feature .icon { flex-shrink: 0; width: 40px; height: 40px; background: rgba(114,245,196,0.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.lr-landing .solution-feature .icon svg { width: 22px; height: 22px; stroke: var(--mint); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.lr-landing .solution-feature h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 15px; color: var(--mint); margin-bottom: 4px; }
.lr-landing .solution-feature p { font-size: 14px; color: rgba(255,255,255,0.65); margin-bottom: 0; line-height: 1.5; }

/* ===== FEATURES ===== */
.lr-landing .features {
  padding: var(--section-padding);
  background: var(--light-bg);
}
.lr-landing .features .lr-container { text-align: center; max-width: 900px; }
.lr-landing .features h2 { margin-bottom: 12px; }
.lr-landing .features > .lr-container > p { margin-bottom: 60px; color: var(--gray-500); }
.lr-landing .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.lr-landing .feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.lr-landing .feature-card:hover { transform: translateY(-8px); }
.lr-landing .feature-card .icon { margin: 0 auto 20px; }
.lr-landing .feature-card .icon svg { width: 28px; height: 28px; stroke: var(--navy); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.lr-landing .feature-card h3 { font-size: 18px; margin-bottom: 12px; }
.lr-landing .feature-card p { font-size: 15px; color: var(--gray-500); margin-bottom: 0; line-height: 1.6; }

/* ===== WORKFLOW ===== */
.lr-landing .workflow {
  padding: var(--section-padding);
  background: var(--white);
}
.lr-landing .workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.lr-landing .workflow-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  border-radius: 2px;
}
.lr-landing .step {
  text-align: center;
  position: relative;
  padding: 0 16px;
}
.lr-landing .step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--mint);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(14,43,103,0.3);
}
.lr-landing .step h3 { font-size: 16px; margin-bottom: 8px; }
.lr-landing .step p { font-size: 14px; color: var(--gray-500); line-height: 1.6; margin-bottom: 0; }

/* ===== SOCIAL PROOF ===== */
.lr-landing .social-proof {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
}
.lr-landing .testimonial-slider { position: relative; margin: 40px auto; max-width: 700px; }
.lr-landing .testimonial-track { position: relative; overflow: hidden; min-height: 220px; }
.lr-landing .testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.lr-landing .testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  pointer-events: auto;
}
.lr-landing .testimonial-quote {
  font-size: 20px;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
}
.lr-landing .testimonial-author { color: var(--mint); font-weight: 700; font-size: 14px; font-family: 'Montserrat', sans-serif; }
.lr-landing .testimonial-role { color: rgba(255,255,255,0.5); font-size: 13px; margin-top: 4px; }
.lr-landing .testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.lr-landing .dot {
  /* Tap area 44x44 (WCAG 2.5.5); visible dot 12x12 se mantiene vía padding + background-clip. */
  width: 44px; height: 44px;
  padding: 14px;
  box-sizing: border-box;
  background-clip: content-box, border-box;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s;
}
.lr-landing .dot.active { background-color: var(--mint); border-color: var(--mint); }
/* .client-logos / .client-logo-img — moved to ds-components.css (Level 2) */

/* ===== PRICING ===== */
.lr-landing .pricing {
  padding: var(--section-padding);
  background: var(--white);
}
.lr-landing .pricing .lr-container { text-align: center; max-width: 1100px; }
.lr-landing .pricing h2 { margin-bottom: 60px; }
.lr-landing .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.lr-landing .pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: left;
  transition: all 0.3s;
  position: relative;
}
.lr-landing .pricing-card:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.lr-landing .pricing-card.featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}
.lr-landing .pricing-badge {
  position: absolute;
  top: -15px;
  left: 20px;
  background: var(--blue);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: none;
}
.lr-landing .pricing-card.featured .pricing-badge { display: block; }
.lr-landing .pricing-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 12px;
}
.lr-landing .pricing-desc {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 24px;
  min-height: 40px;
}
.lr-landing .pricing-price {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--blue);
  margin-bottom: 24px;
}
.lr-landing .pricing-features {
  list-style: none;
  margin-bottom: 32px;
}
.lr-landing .pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 14px;
  color: var(--gray-700);
}
.lr-landing .pricing-features li:last-child { border-bottom: none; }
.lr-landing .pricing-features li::before {
  content: '\2713';
  display: inline-block;
  width: 20px;
  color: var(--mint);
  font-weight: 700;
}
.lr-landing .pricing-cta { width: 100%; justify-content: center; }

/* ===== FAQ ===== */
.lr-landing .faq {
  padding: var(--section-padding);
  background: var(--gray-50);
}
.lr-landing .faq .lr-container { max-width: 900px; text-align: center; }
.lr-landing .faq h2 { margin-bottom: 60px; }
.lr-landing .faq-list { list-style: none; }
.lr-landing .faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.lr-landing .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
  font-weight: 700;
  color: var(--navy);
}
.lr-landing .faq-question:hover { background: var(--gray-50); }
.lr-landing .faq-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transition: transform 0.3s;
}
.lr-landing .faq-item.active .faq-toggle { transform: rotate(180deg); }
.lr-landing .faq-answer {
  padding: 0 24px 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--gray-500);
  font-size: 15px;
  line-height: 1.8;
  text-align: left;
}
.lr-landing .faq-item.active .faq-answer { padding: 0 24px 24px 24px; max-height: 500px; }

/* ===== CTA FINAL ===== */
.lr-landing .cta-final {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a7a 100%);
  position: relative;
  overflow: hidden;
}
.lr-landing .cta-final::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(114,245,196,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.lr-landing .cta-final .lr-container { position: relative; z-index: 1; text-align: center; max-width: 700px; }
.lr-landing .cta-final h2 { color: var(--white); margin-bottom: 24px; }
.lr-landing .cta-final p { color: rgba(255,255,255,0.8); margin-bottom: 40px; font-size: 18px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .lr-landing .hero .lr-container { grid-template-columns: 1fr; }
  .lr-landing .hero-visual { display: none; }
  .lr-landing .features-grid { grid-template-columns: repeat(2, 1fr); }
  .lr-landing .workflow-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .lr-landing .workflow-steps::before { display: none; }
  .lr-landing .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .lr-landing .pricing-card.featured { transform: scale(1); }
  .lr-landing .solution .lr-container { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .lr-landing .features-grid { grid-template-columns: 1fr; }
  .lr-landing .pain-grid { grid-template-columns: 1fr; }
  .lr-landing .workflow-steps { grid-template-columns: 1fr; }
  .lr-landing .trust-bar .lr-container { gap: 24px; }
  .lr-landing h1 { font-size: 32px; }
  .lr-landing h2 { font-size: 26px; }
  .lr-landing .hero { padding: 60px 0; }
  .lr-landing .hero-buttons { flex-direction: column; }
  .lr-landing .btn { width: 100%; justify-content: center; }
}
