/* ============================================================
   03-HOME-TOP.CSS
   Secciones de la home (parte superior):
   fondo con glow, hero, problema, visión/valor, servicios
   ============================================================ */

.section-glow {
  background:
    radial-gradient(ellipse at 85% 35%, #5b1bb048 0%, transparent 43%),
    radial-gradient(ellipse at 8% 75%, #2b156045 0%, transparent 45%),
    #070712;
  position: relative;
  overflow: hidden;
}
.section-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(#ffffff0d 1px, transparent 1px),
    linear-gradient(90deg, #ffffff0d 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, transparent 4%, black 50%, transparent 100%);
}

/* ---------- Hero ---------- */
.hero {
  min-height: min(820px, calc(100dvh - 82px));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  align-items: center;
  gap: 60px;
  padding-top: 90px;
  padding-bottom: 80px;
  position: relative;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #a78bfa; box-shadow: 0 0 0 5px #8b5cf626; flex: none;
}
.hero h1, .landing-hero h1 {
  font-size: clamp(48px, 5.1vw, 76px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -.065em;
  margin: 29px 0 26px;
}
.hero h1 em, .final-cta h2 em, .landing-hero h1 em { font-style: normal; color: #a78bfa; }
.hero-lead, .landing-hero-grid > div > p {
  max-width: 550px; color: #b7b7c6; line-height: 1.9; font-size: 16px;
}
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 33px; }
.hero-trust { color: #8c8a9f; font-size: 11px; letter-spacing: .025em; }
.hero-trust span { color: #8b5cf6; padding: 0 6px; }

.hero-visual { position: relative; padding: 65px 12px 36px 0; }
.hero-logo {
  position: absolute; top: 0; right: 5%; width: 74%; height: 90px;
  overflow: hidden; opacity: .82; filter: drop-shadow(0 0 20px #8b5cf655);
}
.hero-logo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.browser-mock, .landing-window {
  position: relative;
  border: 1px solid #ffffff35;
  background: #11111f;
  box-shadow: 0 35px 80px #0009, 0 0 70px #6d28d92e;
  border-radius: 11px;
  overflow: hidden;
  transform: perspective(900px) rotateY(-6deg) rotateX(3deg);
}
.browser-top {
  height: 35px; background: #1d1c2a; border-bottom: 1px solid #ffffff1c;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 15px; color: #89889b; font-size: 9px;
}
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 6px; height: 6px; background: #6e697e; border-radius: 50%; }
.browser-menu i { display: block; width: 14px; height: 1px; margin: 3px 0; background: #bbb; }

.mock-body {
  min-height: 300px;
  background: linear-gradient(125deg, #f8f7ff, #e8e1fd);
  color: #160e2e;
  padding: 18px 24px 30px;
}
.mock-nav {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 8px; font-weight: 700; color: #625a76;
}
.mock-brand { font-family: 'Space Grotesk'; font-size: 15px; font-weight: 700; color: #1f163e; }
.mock-brand span { color: #7c3aed; }
.mock-content {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px;
  align-items: center; padding-top: 46px;
}
.mock-tag { color: #7c3aed; font-size: 7px; letter-spacing: .15em; font-weight: 800; margin-bottom: 15px; }
.mock-content strong {
  font-family: 'Space Grotesk'; font-size: clamp(18px, 2.5vw, 34px);
  line-height: 1.08; letter-spacing: -.05em; display: block;
}
.mock-content p { font-size: 9px; color: #777083; margin: 13px 0 17px; }
.mock-button {
  display: inline-flex; align-items: center; gap: 20px; padding: 9px 11px;
  color: #fff; background: #6d28d9; font-size: 8px; border-radius: 2px;
}
.mock-art {
  height: 205px; position: relative;
  background: linear-gradient(135deg, #2b1959, #8b5cf6);
  border-radius: 100px 100px 8px 8px; overflow: hidden;
  box-shadow: 0 18px 25px #38237442;
}
.art-ring {
  position: absolute; width: 200px; height: 200px;
  border: 24px solid #ffffff3d; border-radius: 50%; top: 26px; left: 20px;
}
.art-card {
  position: absolute; background: #ffffff55; backdrop-filter: blur(5px);
  border: 1px solid #fff7; border-radius: 5px;
}
.art-card.one { width: 105px; height: 55px; left: -15px; bottom: 13px; transform: rotate(-15deg); }
.art-card.two { width: 95px; height: 95px; right: -15px; top: 25px; transform: rotate(16deg); }

.floating-chip {
  position: absolute; bottom: 3px; left: -32px;
  display: flex; align-items: center; gap: 12px;
  background: #1e1b31; border: 1px solid #ffffff25; padding: 11px 14px;
  border-radius: 7px; box-shadow: 0 15px 35px #0008; font-size: 10px;
  color: #aaa9bd; line-height: 1.5;
}
.floating-chip b { color: white; }
.chip-icon {
  display: grid; place-items: center; color: #c4a7ff; background: #7136c966;
  width: 31px; height: 31px; border-radius: 5px;
}

.hero-bottom {
  position: relative; display: flex; justify-content: space-between;
  padding-bottom: 24px; color: #6f6d82; font-size: 9px; font-weight: 700; letter-spacing: .16em;
}
.hero-bottom span:last-child { display: flex; gap: 10px; align-items: center; }

/* ---------- Problema ---------- */
.problem-section { background: #0c0c18; padding-bottom: 90px; }
.problem-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; }
.problem-layout .text-link { margin-top: 20px; }
.issue {
  display: flex; align-items: center; gap: 20px;
  border-bottom: 1px solid #ffffff18; padding: 18px 4px;
}
.issue:first-child { border-top: 1px solid #ffffff18; }
.issue > span:first-child { font-size: 11px; color: #8b5cf6; }
.issue p { margin: 0; flex: 1; font-size: 13px; color: #d3d1dd; }
.issue-cross { color: #9189aa; font-size: 22px; line-height: 1; }
.statement-band {
  margin-top: 105px; border-top: 1px solid #604195; padding-top: 30px;
  display: flex; justify-content: space-between; gap: 30px;
  font-family: 'Space Grotesk'; font-size: clamp(19px, 2.5vw, 30px);
  letter-spacing: -.04em; max-width: 1180px;
}
.statement-band span { color: #a78bfa; }

/* ---------- Visión / Valor ---------- */
.value-section { background: #070712; }
.value-layout { display: grid; grid-template-columns: 1.1fr .8fr; gap: 110px; align-items: center; }
.value-layout .btn { margin-top: 26px; }
.capability-panel {
  background: #11111f; border: 1px solid #ffffff14; border-radius: 8px;
  padding: 27px 31px; box-shadow: 15px 15px 0 #4b239a17;
}
.panel-heading {
  color: #a78bfa; letter-spacing: .15em; font-size: 10px; font-weight: 800;
  display: block; margin-bottom: 20px;
}
.capability {
  border-top: 1px solid #ffffff14; display: flex; align-items: center;
  gap: 14px; padding: 13px 0; font-size: 13px;
}
.capability small { margin-left: auto; color: #77738b; }
.cap-dot { width: 6px; height: 6px; background: #8b5cf6; transform: rotate(45deg); }

/* ---------- Servicios ---------- */
.services-section { background: #0e0d1a; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: #ffffff19; border: 1px solid #ffffff19;
}
.service-card {
  background: #11111f; min-height: 275px; padding: 27px 30px;
  position: relative; transition: background .25s, transform .25s;
}
.service-card:hover { background: #1c1433; transform: translateY(-4px); z-index: 1; }
.service-number { display: block; text-align: right; color: #747086; font-size: 10px; letter-spacing: .13em; }
.service-icon { color: #a78bfa; margin: 19px 0 30px; }
.service-card h3 { font-size: 20px; letter-spacing: -.04em; margin-bottom: 12px; }
.service-card p { color: #a7a5b6; line-height: 1.7; font-size: 12px; max-width: 255px; margin: 0 25px 0 0; }
.service-card a { position: absolute; right: 28px; bottom: 27px; color: #a78bfa; }
