/* Landing Page Specific Styles v3.0 — 2026 (aurora bg, parallax, dark mode) */

/* Hero — completely redesigned */
.hero {
  padding-block: calc(var(--space-2) + var(--nav-height)) var(--space-10);
  margin-top: calc(-1 * var(--nav-height));
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 80% 60% at 10% 40%, var(--accent-aurora) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 60%, var(--navy-aurora) 0%, transparent 50%),
    var(--bg);
  isolation: isolate;
}

.hero > .container { position: relative; z-index: 2; }
.hero__content { position: relative; z-index: 2; }

.hero__split {
  position: relative;
  z-index: 2;
}

.hero__tagline {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--space-6);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-4);
  background: var(--accent-soft);
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

.hero__tagline .pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse-soft 2s infinite;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 6.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: var(--space-6);
  text-wrap: balance;
  font-optical-sizing: auto;
}

.hero__title em {
  color: var(--accent);
  font-style: normal;
  position: relative;
  background: linear-gradient(135deg, var(--accent) 0%, var(--brand-pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__title em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--accent-soft), transparent);
  border-radius: var(--radius-full);
  z-index: -1;
}

.hero__description {
  font-size: var(--text-lg);
  color: var(--fg-muted);
  max-width: 520px;
  margin-bottom: var(--space-10);
  line-height: 1.8;
  text-wrap: pretty;
}

.hero__cta-group {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: center;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__visual::before {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--accent-aurora) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: blob-morph 10s ease-in-out infinite;
  filter: blur(8px);
}

.hero__visual::after {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1.5px dashed var(--border-strong);
  border-radius: 50%;
  z-index: 0;
  animation: orbit 20s linear infinite;
}

.hero__lottie,
.hero__image {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 650px;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px var(--scrim-strong));
  transition: transform var(--duration-slow) var(--ease-out);
}

.hero__image {
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 68%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 68%, transparent 100%);
}

.hero__image:hover {
  transform: scale(1.02) translateY(-4px);
}

@media (max-width: 768px) {
  .hero {
    padding-block: calc(var(--space-3) + var(--nav-height)) var(--space-8);
    min-height: auto;
  }
  .hero__title {
    font-size: clamp(2.25rem, 9vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }
  .hero__description {
    font-size: var(--text-base);
    line-height: 1.7;
    margin-bottom: var(--space-8);
  }
  .hero__cta-group {
    flex-direction: column;
    gap: var(--space-3);
    width: 100%;
  }
  .hero__cta-group .btn {
    width: 100%;
  }
  .hero__visual {
    align-items: center;
    align-self: auto;
    margin-top: var(--space-8);
  }
  .hero__visual::before,
  .hero__visual::after {
    width: 280px;
    height: 280px;
  }
}

/* Trust bar, benefits, compare and FAQ — see digind_design_system.css */

/* Process Steps */
.process__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.process__step {
  position: relative;
  padding-top: var(--space-6);
}

.process__step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-soft));
  border-radius: var(--radius-full);
}

.process__number {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  letter-spacing: 0.05em;
}

.process__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.process__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.process__grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .process__grid,
  .process__grid--3 {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .process__title {
    font-size: var(--text-xl);
  }
}

/* CTA Section */
.cta-section {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, var(--accent-aurora) 0%, transparent 50%),
    linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-soft) 50%, var(--brand-navy) 100%);
  background-size: 200% 200%;
  animation: gradient-shift 12s ease infinite;
  color: #fff;
  border-radius: var(--radius-2xl);
  padding: clamp(var(--space-12), 5vw, var(--space-20));
  text-align: center;
  margin-block: var(--space-20);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 30px 80px -20px color-mix(in srgb, var(--fg) 60%, transparent);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(230, 57, 70, .18) 0%, transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(124, 58, 237, .14) 0%, transparent 55%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
}

.cta-section .heading-2 {
  color: #fff;
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
  text-wrap: balance;
}

.cta-section .text-body {
  color: rgba(255, 255, 255, .82);
  margin-bottom: var(--space-8);
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .cta-section { padding: var(--space-12) var(--space-6); }
}

/* Benefits grid layout — cards in digind_design_system.css */
.pricing__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-align: left;
}

.pricing__list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--fg);
}

/* Content Sections (Persuasive) */
.content-section .hero__split {
  align-items: center;
}

.content-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.content-list li {
  position: relative;
  padding-left: var(--space-8);
  font-size: var(--text-base);
  color: var(--fg-muted);
  line-height: 1.7;
}

.content-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.content-list li strong {
  color: var(--fg);
  font-weight: 600;
}

.content-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  position: relative;
}

.content-visual::before {
  content: '';
  position: absolute;
  inset: 12px -12px -12px 12px;
  background: linear-gradient(135deg, var(--accent-soft), transparent);
  border-radius: 2rem 2rem 6rem 2rem;
  z-index: -1;
  opacity: .7;
}

.content-visual__image {
  width: 100%;
  max-width: 650px;
  height: auto;
  border-radius: 2rem 2rem 6rem 2rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
  position: relative;
  z-index: 1;
}

.content-visual__image:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-hover);
}

.hero__split--reversed .content-visual::before {
  border-radius: 2rem 2rem 2rem 6rem;
  inset: 12px 12px -12px -12px;
}

.hero__split--reversed .content-visual__image {
  border-radius: 2rem 2rem 2rem 6rem;
}

@media (max-width: 768px) {
  .content-section .hero__split {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .content-visual {
    min-height: auto;
    order: -1;
  }
  .content-visual > div {
    width: 200px !important;
    height: 200px !important;
  }
}

/* Section separator line */
.section-separator {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin-block: 0;
}

/* Decorative blur orbs (utility) */
.blur-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.blur-orb--accent {
  width: 400px;
  height: 400px;
  background: var(--accent-aurora);
}

.blur-orb--navy {
  width: 500px;
  height: 500px;
  background: var(--navy-aurora);
}

/* Tilt card effect base */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform .15s ease-out;
  will-change: transform;
}

/* Text scramble placeholder */
.text-scramble {
  font-family: var(--font-heading);
  white-space: pre-wrap;
}

/* SEO Local highlight */
.local-highlight {
  background: linear-gradient(90deg, var(--accent-soft), transparent);
  padding-inline: var(--space-2);
  border-radius: var(--radius-sm);
  color: var(--fg);
}

/* Smooth image loading */
.img-fade-in {
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out);
}
.img-fade-in.is-loaded { opacity: 1; }

/* Bento / cards hover glow */
.bento__item,
.benefit-card,
.tech-item,
.pricing__card,
.client-logo {
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out),
              background-color var(--duration-base) var(--ease-out);
}

/* Scrollbar theme aware */
:root { color-scheme: light; }

/* ============================================================
   Home page — ritmo vertical y UI (scoped, no afecta otras landings)
   ============================================================ */

.home-page .section-padding {
  padding-block: var(--space-16);
}

@media (max-width: 768px) {
  .home-page .section-padding {
    padding-block: var(--space-10);
  }
}

.home-page .home-surface {
  background: var(--color-surface);
}

.home-page .section-intro {
  margin-bottom: var(--space-12);
}

.home-page .section-intro--tight {
  margin-bottom: var(--space-8);
}

.home-page .section-intro__title {
  max-width: 640px;
  margin-inline: auto;
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
}

.home-page .section-intro__lead {
  max-width: 560px;
  margin-inline: auto;
}

.home-page .section-intro__lead--spaced {
  margin-bottom: var(--space-8);
}

.home-page .section-intro--tight .section-intro__lead {
  max-width: 600px;
}

.home-page .hero__tagline {
  margin-bottom: var(--space-5);
}

.home-page .hero__title {
  margin-bottom: var(--space-5);
}

.home-page .hero__description {
  margin-bottom: var(--space-8);
}

.home-page .trust-bar {
  padding-block: var(--space-6);
}

.home-page .trust-bar__grid {
  gap: var(--space-6);
}

@media (max-width: 768px) {
  .home-page .trust-bar {
    padding-block: var(--space-5);
  }

  .home-page .trust-bar__grid {
    gap: var(--space-5) var(--space-4);
  }
}

.home-page .home-marquee {
  padding-block: var(--space-5);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.home-page .home-marquee .marquee__item {
  font-size: var(--text-base);
  padding-inline: var(--space-6);
}

.home-page .section-padding > .container.hero__split,
.home-page .home-contact-split {
  gap: var(--space-12);
}

@media (max-width: 768px) {
  .home-page .section-padding > .container.hero__split,
  .home-page .home-contact-split {
    gap: var(--space-8);
  }
}

.home-page #erp .section-intro__title,
.home-page #erp .section-intro__lead,
.home-page #formulario-contacto .section-intro__title,
.home-page #formulario-contacto .section-intro__lead {
  max-width: none;
  margin-inline: 0;
  text-align: left;
}

.home-page #erp .section-intro__lead:not(.section-intro__lead--spaced) {
  margin-bottom: var(--space-4);
}

.home-page .feature-check-card {
  border-left: 3px solid var(--color-accent);
  transform-style: preserve-3d;
}

.home-page .feature-check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.home-page .feature-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.home-page .feature-check__icon {
  width: 40px;
  height: 40px;
  background: var(--color-accent-soft);
  border-radius: var(--radius-base);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.home-page .feature-check__title {
  color: var(--color-text);
  display: block;
  margin-bottom: 2px;
  font-size: var(--text-base);
}

.home-page .process__grid,
.home-page .process__grid--3 {
  gap: var(--space-6);
}

@media (max-width: 768px) {
  .home-page .process__grid,
  .home-page .process__grid--3 {
    gap: var(--space-8);
  }
}

.home-page .tech-grid {
  gap: var(--space-5);
}

.home-page .tech-item {
  padding: var(--space-6) var(--space-5);
}

.home-page .bento {
  gap: var(--space-5);
}

.home-page .bento__item {
  padding: var(--space-6);
}

.home-page .home-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-base);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  font-size: 22px;
  flex-shrink: 0;
}

.home-page .home-icon--lg {
  width: 52px;
  height: 52px;
  font-size: 24px;
}

.home-page .home-icon--accent {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.home-page .home-icon--sky {
  background: #E0F2FE;
  color: #0284C7;
}

.home-page .home-icon--violet {
  background: #F3E8FF;
  color: #7C3AED;
}

.home-page .home-icon--green {
  background: #DCFCE7;
  color: #16A34A;
}

.home-page .home-icon--amber {
  background: #FEF3C7;
  color: #D97706;
}

.home-page .home-icon--pink {
  background: #FCE7F3;
  color: #DB2777;
}

.home-page .home-card__title {
  margin-bottom: var(--space-2);
}

.home-page .home-card__text {
  margin-bottom: var(--space-5);
}

.home-page .benefits__grid {
  gap: var(--space-5);
}

.home-page .benefit-card {
  padding: var(--space-6);
}

.home-page .btn--block {
  width: 100%;
}

.home-page .home-btn-icon {
  margin-left: var(--space-2);
  font-size: var(--text-sm);
}

.home-page .pricing__toggle-wrapper {
  margin-bottom: var(--space-10);
}

.home-page .pricing__grid {
  gap: var(--space-5);
}

.home-page .pricing__card {
  padding: var(--space-8);
}

.home-page .pricing__price {
  margin-block: var(--space-5);
}

.home-page .pricing__list {
  margin-bottom: var(--space-5);
  gap: var(--space-2);
}

.home-page .home-pricing-note {
  margin-top: var(--space-8);
  color: var(--color-text-muted);
}

.home-page .home-inline-link {
  color: var(--color-text);
  text-decoration: underline;
  font-weight: 500;
}

.home-page .home-inline-link--spaced {
  display: inline-block;
  margin-top: var(--space-2);
}

.home-page .home-faq-container {
  max-width: 800px;
}

.home-page .faq__question {
  padding: var(--space-4) var(--space-5);
}

.home-page .faq__answer {
  padding-inline: var(--space-5);
}

.home-page .faq__answer-text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

.home-page .home-clients {
  background: linear-gradient(180deg, var(--color-base) 0%, var(--color-surface) 100%);
}

.home-page .clients__grid {
  gap: var(--space-5);
}

.home-page .home-blog-grid {
  margin-bottom: var(--space-8);
}

.home-page .blog-card__placeholder i {
  font-size: 2.5rem;
  color: var(--color-text-muted);
}

.home-page .cta-section {
  margin-block: var(--space-12);
  padding: clamp(var(--space-10), 4vw, var(--space-16));
}

@media (max-width: 768px) {
  .home-page .cta-section {
    margin-block: var(--space-10);
    padding: var(--space-10) var(--space-5);
  }
}

.home-page .cta-section .text-body {
  max-width: 560px;
  margin-inline: auto;
}

.home-page .home-contact-split {
  align-items: start;
}

.home-page .contact-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.home-page .contact-meta__item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.home-page .contact-meta .home-icon {
  margin-bottom: 0;
  width: 48px;
  height: 48px;
  font-size: 20px;
}

.home-page .contact-meta__label {
  font-weight: 600;
  color: var(--color-text);
}

.home-page .contact-meta__value {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.home-page .section-separator {
  margin-block: 0;
}

@media (max-width: 640px) {
  .home-page .bento__item,
  .home-page .benefit-card {
    padding: var(--space-6);
  }

  .home-page .pricing__card {
    padding: var(--space-6);
  }

  .home-page .section-intro {
    margin-bottom: var(--space-8);
  }
}
