/* ================================
   UPGrow — Landing Page V3
   Basado en la primera propuesta
================================ */

:root {
  --black: #090909;
  --white: #f7f7f4;
  --soft: #e8e8e4;
  --gray: #8b8b86;
  --line: rgba(9, 9, 9, .15);
  --radius: 22px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: "DM Sans", Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--black);
  color: var(--white);
}

.cursor-glow {
  position: fixed;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,0,0,.07), transparent 65%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: opacity .3s ease;
}

.site-header {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 100;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1.2px;
}

.brand-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}

.nav a:not(.nav-cta) {
  position: relative;
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width .25s ease;
}

.nav a:hover::after {
  width: 100%;
}

.nav-cta {
  border: 1px solid var(--black);
  border-radius: 999px;
  padding: 12px 18px;
  transition: .25s ease;
}

.nav-cta:hover {
  background: var(--black);
  color: var(--white);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--black);
  margin: 7px 0;
}

.hero {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  min-height: calc(100vh - 92px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 78px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 40px;
  align-items: center;
}

.eyebrow,
.section-label {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero h1,
.section h2,
.statement h2,
.contact h2 {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -.055em;
}

.hero h1 {
  font-size: clamp(62px, 7.5vw, 116px);
  line-height: .9;
  max-width: 900px;
  margin: 18px 0 30px;
}

.hero h1 span {
  display: block;
  font-weight: 500;
  font-style: italic;
}

.hero-text {
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.45;
  max-width: 700px;
  color: #333;
}

.hero-actions {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  min-width: 190px;
  border-radius: 999px;
  padding: 16px 20px;
  font-weight: 700;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--black);
}

.text-link {
  font-weight: 700;
  border-bottom: 1px solid var(--black);
  padding-bottom: 5px;
}

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-left: auto;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid var(--black);
  border-radius: 50%;
}

.orbit-1 {
  width: 83%;
  height: 83%;
  animation: spin 20s linear infinite;
}

.orbit-2 {
  width: 58%;
  height: 58%;
  border-style: dashed;
  animation: spinReverse 15s linear infinite;
}

.logo-core {
  width: 250px;
  height: 250px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
}

.logo-core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.orbital-label {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--black);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}

.label-1 { top: 15%; left: 2%; }
.label-2 { top: 50%; right: 0; }
.label-3 { bottom: 8%; left: 20%; }

.hero-bottom {
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 120px 0;
}

.section-label {
  margin-bottom: 50px;
  color: #575752;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.split-top {
  align-items: end;
}

.section h2 {
  font-size: clamp(42px, 5vw, 78px);
  line-height: .98;
}

.lead {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
  letter-spacing: -.02em;
}

.split p:not(.lead) {
  color: #555;
  line-height: 1.8;
  margin-top: 24px;
  max-width: 560px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 72px;
}

.pillar {
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}

.pillar:hover {
  transform: translateY(-8px);
  background: var(--black);
  color: var(--white);
}

.pillar-number {
  font-size: 12px;
  opacity: .7;
}

.pillar-icon {
  font-size: 44px;
  margin-top: auto;
  margin-bottom: 28px;
}

.pillar h3 {
  font-family: "Manrope", sans-serif;
  font-size: 30px;
  margin-bottom: 9px;
}

.pillar p {
  line-height: 1.5;
  opacity: .68;
  max-width: 320px;
}

.statement {
  background: var(--black);
  color: var(--white);
  min-height: 78vh;
  display: grid;
  place-items: center;
  padding: 110px 24px;
  text-align: center;
}

.statement p {
  font-size: 11px;
  letter-spacing: .25em;
  font-weight: 800;
}

.statement h2 {
  font-size: clamp(86px, 13vw, 210px);
  line-height: .75;
  margin: 30px 0 48px;
}

.statement h2:last-child {
  font-style: italic;
  font-weight: 500;
}

.plans-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.plan-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

.featured {
  border: 2px solid var(--black);
}

.featured-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  border-radius: 999px;
  padding: 8px 12px;
}

.plan-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  color: #575752;
  margin-bottom: 10px;
}

.plan-card h3 {
  font-size: clamp(30px, 3vw, 42px);
  font-family: "Manrope", sans-serif;
  letter-spacing: -.04em;
}

.plan-price {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.04em;
  margin: 12px 0 8px;
}

.plan-benefit {
  font-size: 14px;
  font-weight: 700;
  color: #555;
  margin-bottom: 20px;
}

.plan-card ul {
  padding-left: 18px;
  min-height: 340px;
  color: #353535;
  line-height: 1.55;
}

.plan-card li + li {
  margin-top: 10px;
}

.plan-btn {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  margin-top: 20px;
  padding: 15px 18px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
}

.method {
  border-top: 1px solid var(--line);
}

.steps {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.step > span {
  font-size: 12px;
  padding-top: 6px;
}

.step h3 {
  font-family: "Manrope", sans-serif;
  font-size: 26px;
  margin-bottom: 8px;
}

.step p {
  color: #555;
  line-height: 1.6;
}

.clients {
  background: #eeeeea;
}

.clients-inner {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding-top: 120px;
  padding-bottom: 120px;
}

.compare-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1.4fr;
  border-top: 1px solid rgba(0,0,0,.18);
  border-left: 1px solid rgba(0,0,0,.18);
}

.compare-grid > div {
  min-height: 90px;
  display: flex;
  align-items: center;
  padding: 18px;
  border-right: 1px solid rgba(0,0,0,.18);
  border-bottom: 1px solid rgba(0,0,0,.18);
  font-weight: 700;
}

.compare-head {
  background: var(--black);
  color: var(--white);
  letter-spacing: .08em;
  font-size: 12px;
}

.contact {
  background: var(--black);
  color: var(--white);
}

.contact-inner {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 130px 0 46px;
}

.contact h2 {
  font-size: clamp(78px, 11vw, 170px);
  line-height: .82;
  margin: 26px 0 40px;
}

.contact h2 span {
  font-style: italic;
  font-weight: 500;
}

.contact-text {
  font-size: 22px;
  color: #bdbdb8;
  max-width: 680px;
  line-height: 1.5;
}

.contact-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 42px;
}

.contact-mail {
  border-bottom: 1px solid rgba(255,255,255,.55);
  padding-bottom: 6px;
}

.footer-line {
  margin-top: 120px;
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  color: #a8a8a2;
  font-size: 12px;
  gap: 20px;
}

.brand-footer img {
  height: 42px;
  border-radius: 8px;
}

.footer-line p:last-child {
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.75,.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes spinReverse {
  to { transform: rotate(-360deg); }
}

@media (max-width: 1020px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plan-card ul {
    min-height: auto;
  }

  .compare-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare-head:nth-child(5) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .site-header {
    width: min(calc(100% - 30px), var(--max));
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--black);
    padding: 22px;
    gap: 18px;
  }

  .nav.open {
    display: flex;
  }

  .nav-cta {
    text-align: center;
  }

  .hero,
  .section,
  .clients-inner,
  .contact-inner {
    width: min(calc(100% - 30px), var(--max));
  }

  .hero {
    padding-top: 54px;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-art {
    width: 78vw;
    margin: 10px auto 20px;
  }

  .hero-bottom {
    display: grid;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .footer-line {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-line p:last-child {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(54px, 17vw, 82px);
  }

  .hero-actions,
  .contact-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-art {
    width: 92vw;
  }

  .logo-core {
    width: 190px;
    height: 190px;
  }

  .section {
    padding: 90px 0;
  }

  .statement {
    min-height: 62vh;
  }

  .contact h2 {
    font-size: clamp(68px, 20vw, 110px);
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
