:root {
  --violet: #7F47DD;
  --violet-deep: #5a2fa8;
  --violet-dark: #3a1a7a;
  --orange: #FF6200;
  --orange-light: #FF8C38;
  --gold: #FBAE17;
  --cream: #FFF5EC;
  --white: #ffffff;
  --text-dark: #1a0a3a;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--violet-dark);
  color: var(--white);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 4rem;
  background: rgba(58, 26, 122, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo img { height: 30px; width: auto; display: block; }

.nav-logo span {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--orange);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--orange); }

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--orange-light) !important; color: var(--white) !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--violet-dark) 0%, var(--violet) 60%, var(--violet-deep) 100%);
}

/* repeating NARANJO typographic wallpaper */
.hero-bg-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-row {
  font-size: 9vw;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,98,0,0.18);
  line-height: 1.05;
}

.hero-bg-row:nth-child(4) {
  color: var(--orange);
  -webkit-text-stroke: 0;
  opacity: 0.07;
}

/* colour dots decoration */
.dots-deco {
  position: absolute;
  bottom: 3rem;
  right: 5rem;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.dot {
  border-radius: 50%;
  animation: float 4s ease-in-out infinite;
}

.dot:nth-child(1) { width: 52px; height: 52px; background: var(--orange); animation-delay: 0s; }
.dot:nth-child(2) { width: 52px; height: 52px; background: var(--gold); animation-delay: 0.6s; }
.dot:nth-child(3) { width: 52px; height: 52px; background: rgba(255,255,255,0.9); animation-delay: 1.2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 4rem;
  animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-brand {
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-brand img {
  height: 64px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.hero-brand span {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--orange);
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.hero-title span {
  color: var(--orange);
  display: block;
}

.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin-bottom: 2.8rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  padding: 0.95rem 2.4rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: transform 0.2s, background 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 0.95rem 2.4rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,0.4);
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ── PILARES ── */
.pilares {
  background: var(--cream);
  padding: 7rem 4rem;
  position: relative;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--orange);
}

.pilares-deco {
  position: relative;
}

.pilares-deco img {
  position: absolute;
  right: -2rem;
  top: -5rem;
  height: 160px;
  width: auto;
  opacity: 0.07;
  pointer-events: none;
}

.pilares-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  max-width: 540px;
  margin-bottom: 0.8rem;
  line-height: 1.05;
}

.pilares-desc {
  color: rgba(26,10,58,0.6);
  font-size: 0.95rem;
  max-width: 480px;
  margin-bottom: 4rem;
  line-height: 1.7;
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.pilar-card {
  background: var(--white);
  border-radius: 4px;
  padding: 2.4rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
  border-top: 4px solid var(--violet);
}

.pilar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(127,71,221,0.15);
}

.pilar-card:nth-child(2) { border-top-color: var(--orange); }
.pilar-card:nth-child(3) { border-top-color: var(--gold); }
.pilar-card:nth-child(4) { border-top-color: var(--violet); }
.pilar-card:nth-child(5) { border-top-color: var(--orange); }

.pilar-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.pilar-icon img { height: 30px; width: auto; }

.pilar-icon.is-violet img { filter: hue-rotate(200deg) saturate(0.8) brightness(0.7); }

.pilar-card:nth-child(1) .pilar-icon { background: rgba(127,71,221,0.15); }
.pilar-card:nth-child(2) .pilar-icon { background: rgba(255,98,0,0.1); }
.pilar-card:nth-child(3) .pilar-icon { background: rgba(251,174,23,0.15); }
.pilar-card:nth-child(4) .pilar-icon { background: rgba(127,71,221,0.15); }
.pilar-card:nth-child(5) .pilar-icon { background: rgba(255,98,0,0.1); }

.pilar-name {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

.pilar-card:nth-child(1) .pilar-name,
.pilar-card:nth-child(4) .pilar-name { color: var(--violet); }

.pilar-card:nth-child(3) .pilar-name { color: #c88a00; }

.pilar-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.pilar-desc {
  font-size: 0.82rem;
  color: rgba(26,10,58,0.55);
  line-height: 1.65;
}

/* ── PROPUESTA DE VALOR ── */
.propuesta {
  background: linear-gradient(135deg, var(--violet-dark) 0%, var(--violet) 100%);
  padding: 8rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.propuesta::before {
  content: 'NARANJO';
  position: absolute;
  font-size: 20vw;
  font-weight: 900;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.04);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -0.05em;
}

.propuesta-text .section-label { color: var(--gold); }
.propuesta-text .section-label::before { background: var(--gold); }

.propuesta-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.6rem;
}

.propuesta-title em {
  font-style: normal;
  color: var(--orange);
}

.propuesta-body {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 2.4rem;
}

.propuesta-stats {
  display: flex;
  gap: 3rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 0.3rem;
}

.propuesta-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 1.4rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: background 0.2s, border-color 0.2s;
  animation: fadeUp 0.7s ease both;
}

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }
.benefit-item:nth-child(4) { animation-delay: 0.4s; }

.benefit-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,98,0,0.4);
}

.benefit-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.benefit-item:nth-child(2) .benefit-dot { background: var(--gold); }
.benefit-item:nth-child(4) .benefit-dot { background: var(--gold); }

.benefit-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}

/* ── CÓMO FUNCIONA ── */
.proceso {
  background: var(--white);
  padding: 7rem 4rem;
}

.proceso .section-label { color: var(--orange); }
.proceso .section-label::before { background: var(--orange); }

.proceso-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 4rem;
  max-width: 460px;
  line-height: 1.05;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--violet) 0%, var(--orange) 100%);
  opacity: 0.25;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.5rem;
}

.step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  background: var(--violet);
  position: relative;
  z-index: 1;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--violet);
  flex-shrink: 0;
}

.step:nth-child(2) .step-num { background: var(--orange); box-shadow: 0 0 0 3px var(--orange); }
.step:nth-child(3) .step-num { background: var(--gold); box-shadow: 0 0 0 3px var(--gold); color: var(--text-dark); }
.step:nth-child(4) .step-num { background: var(--violet-deep); box-shadow: 0 0 0 3px var(--violet-deep); }

.step-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-top: 0.5rem;
}

.step-desc {
  font-size: 0.83rem;
  color: rgba(26,10,58,0.55);
  line-height: 1.65;
}

/* ── CTA FINAL ── */
.cta-final {
  background: var(--orange);
  padding: 6rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 1px,
    transparent 1px,
    transparent 40px
  );
}

.cta-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.2rem;
  display: block;
  position: relative;
}

.cta-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 1.6rem;
  position: relative;
}

.cta-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 3rem;
  line-height: 1.65;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.btn-white {
  background: var(--white);
  color: var(--orange);
  padding: 1rem 2.8rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  padding: 1rem 2.8rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* ── CONTACT FORM ── */
.contact-form {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
}

.form-row {
  display: flex;
  gap: 0.8rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(26,10,58,0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--violet);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

@media (max-width: 480px) {
  .form-row { flex-direction: column; }
}

/* ── FOOTER ── */
footer {
  background: var(--violet-dark);
  padding: 3rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-logo img { height: 32px; width: auto; display: block; }

.footer-logo span {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--orange);
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--orange); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .pilares-grid { grid-template-columns: repeat(3, 1fr); }
  .propuesta { grid-template-columns: 1fr; gap: 3rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}

@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero-content, .pilares, .propuesta, .proceso, .cta-final { padding-left: 1.5rem; padding-right: 1.5rem; }
  .pilares-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; padding: 2rem 1.5rem; }
  .propuesta-stats { gap: 1.5rem; }
  .dots-deco { right: 1.5rem; }
}

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