/* =============================================
   MOTOR EN VENTAS — styles.css v3
   ============================================= */

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

:root {
  --blue-dark:  #0D2B6B;
  --blue-mid:   #1A4BA0;
  --blue-light: #EEF3FB;
  --green:      #22C55E;
  --green-dark: #16A34A;
  --green-pale: #DCFCE7;
  --white:      #FFFFFF;
  --off-white:  #F6F9F7;
  --gray-line:  #D6DDD9;
  --text-dark:  #0A1A40;
  --text-mid:   #2E4472;
  --text-muted: #6B8099;
  --gradient:   linear-gradient(135deg, #0D2B6B 0%, #22C55E 100%);
  --radius-lg:  22px;
  --radius-md:  14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  line-height: 1.12;
  color: var(--blue-dark);
}
em { font-style: italic; color: var(--green-dark); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(.22,1,.36,1), transform 0.65s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid var(--gray-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { height: 52px; width: auto; object-fit: contain; }
.logo-text { font-weight: 500; font-size: 1.05rem; color: var(--blue-dark); letter-spacing: -.01em; }

.btn-nav {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.88rem; font-weight: 500; color: var(--white);
  background: #25D366; border: none;
  padding: 0.5rem 1.3rem; border-radius: 100px; text-decoration: none;
  transition: background 0.2s, transform 0.18s;
}
.btn-nav:hover { background: #1ebe5a; transform: translateY(-1px); }

/* ============================================================
   BUTTONS
============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 500;
  color: var(--white); background: var(--blue-dark);
  padding: 0.9rem 2rem; border-radius: 100px; text-decoration: none;
  transition: background 0.22s, transform 0.18s, box-shadow 0.22s;
  box-shadow: 0 4px 20px rgba(13,43,107,0.22);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(22,163,74,0.28); }
.btn-large { font-size: 1.1rem; padding: 1rem 2.4rem; }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: 7rem 0 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-line);
}

.hero-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hs { position: absolute; border-radius: 50%; filter: blur(72px); opacity: 0.11; }
.hs-1 { width: 560px; height: 560px; background: var(--blue-dark); top: -180px; right: -80px; animation: drift 12s ease-in-out infinite alternate; }
.hs-2 { width: 320px; height: 320px; background: var(--green); bottom: 40px; left: -60px; animation: drift 9s ease-in-out infinite alternate-reverse; }
.hs-3 { width: 200px; height: 200px; background: var(--blue-mid); top: 50%; right: 30%; animation: drift 15s ease-in-out infinite alternate; }

@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(24px,18px) scale(1.06); }
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  padding-bottom: 5rem;
}

.hero-tag {
  display: inline-block; font-size: 0.77rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green-dark); background: var(--green-pale);
  padding: 0.3rem 1rem; border-radius: 100px; margin-bottom: 1.6rem;
  border: 1px solid rgba(34,197,94,0.3);
}
.hero-title { font-size: clamp(2.6rem, 5.5vw, 4rem); margin-bottom: 1.4rem; }
.hero-sub { font-size: 1.1rem; color: var(--text-mid); max-width: 540px; margin-bottom: 2.2rem; line-height: 1.75; }

/* Hero image */
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.hero-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(13,43,107,0.15);
  display: block;
}
.hero-img-badge {
  position: absolute; bottom: -18px; left: -18px;
  background: var(--white); border: 1px solid var(--gray-line);
  border-radius: 16px; padding: 1rem 1.4rem;
  display: flex; align-items: center; gap: 0.8rem;
  box-shadow: 0 8px 28px rgba(13,43,107,0.12);
}
.badge-num {
  font-family: 'Montserrat', sans-serif; font-size: 2rem; font-weight: 700;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1;
}
.badge-label { font-size: 0.82rem; color: var(--text-mid); line-height: 1.3; }

.hero-bar {
  position: absolute; bottom: 0; left: 0;
  height: 5px; width: 100%; background: var(--gradient);
}

/* ============================================================
   PAIN POINTS
============================================================ */
.pain { background: var(--off-white); }
.pain .section-title { margin-bottom: 2.5rem; }

.pain-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.1rem; }
.pain-card {
  background: var(--white); border: 1px solid var(--gray-line);
  border-radius: 18px; padding: 1.8rem 1.6rem;
  display: flex; flex-direction: column; gap: 0.8rem;
  transition: border-color .22s, transform .22s, box-shadow .22s;
}
.pain-card:hover { border-color: var(--blue-mid); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(13,43,107,0.09); }
.pain-card--wide { grid-column: 1/-1; flex-direction: row; align-items: center; }

.pain-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #0D2B6B 0%, #22C55E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
  display: inline-block;
}
.pain-card p { font-size: 1.02rem; color: var(--text-mid); line-height: 1.55; }

/* ============================================================
   MANIFESTO
============================================================ */
.manifesto {
  position: relative; overflow: hidden; background: var(--blue-dark);
}
.manifesto-glow {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,0.15) 0%, transparent 70%);
  top: -200px; right: -200px; pointer-events: none;
}
.manifesto::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

.manifesto-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  padding: 6rem 0;
}

.manifesto .manifesto-label { color: var(--green); }
.manifesto-title { font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--white); margin-bottom: 1.2rem; }
.manifesto em { color: var(--green); -webkit-text-fill-color: initial; }
.manifesto-body { font-size: 1.05rem; color: rgba(255,255,255,0.68); max-width: 520px; margin-bottom: 3rem; }

.manifesto-pillars { display: flex; flex-direction: column; gap: 1.6rem; }
.pillar { display: flex; align-items: flex-start; gap: 1rem; }
.pillar-icon {
  width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center; color: var(--green);
  transition: background .2s, border-color .2s;
}
.pillar:hover .pillar-icon { background: rgba(34,197,94,0.15); border-color: var(--green); }
.pillar-word { font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: .2rem; }
.pillar-desc { font-size: 0.87rem; color: rgba(255,255,255,0.5); }

/* Manifesto image */
.manifesto-img-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.manifesto-img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: var(--radius-lg); display: block;
  filter: brightness(0.75) saturate(0.6);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

/* ============================================================
   WHO WE ARE
============================================================ */
.whowe { background: var(--white); }
.whowe-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.whowe-body {
  font-size: 1.05rem; color: var(--text-mid);
  margin-top: 1rem; margin-bottom: 1.8rem; line-height: 1.75;
}

.whowe-quote {
  background: var(--gradient);
  border-radius: 18px;
  padding: 2.4rem 2.4rem 2.4rem 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 280px;
}
.whowe-quote::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}
.badge-quote {
  font-family: 'Montserrat', sans-serif;
  font-size: 5rem; line-height: 0.6;
  color: rgba(255,255,255,0.25);
  margin-bottom: 1.2rem;
  position: relative; z-index: 1;
}
.badge-text {
  position: relative; z-index: 1;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}

/* ============================================================
   METHODOLOGY
============================================================ */
.method { background: var(--off-white); }
.method-header { max-width: 660px; margin-bottom: 3.5rem; }
.method-intro { font-size: 1.05rem; color: var(--text-mid); margin-top: 0.8rem; line-height: 1.7; }

.method-grid { display: grid; grid-template-columns: 1fr 420px; gap: 3rem; align-items: start; }

.steps {
  border: 1px solid var(--gray-line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--white);
  box-shadow: 0 2px 24px rgba(13,43,107,0.05);
}
.step { display: grid; grid-template-columns: 80px 1fr; border-bottom: 1px solid var(--gray-line); transition: background .2s; }
.step:last-child { border-bottom: none; }
.step:hover { background: var(--blue-light); }

.step-num {
  font-family: 'Fraunces', serif; font-size: 2.6rem; font-weight: 700;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 2.2rem 0 2rem 1.2rem; line-height: 1;
}
.step-content { padding: 2rem 2rem 2rem 1rem; border-left: 1px solid var(--gray-line); }
.step-tag { font-size: 0.73rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--green-dark); margin-bottom: .4rem; }
.step-title { font-family: 'Fraunces', serif; font-size: 1.35rem; font-weight: 700; color: var(--blue-dark); margin-bottom: .6rem; }
.step-body { font-size: 0.96rem; color: var(--text-mid); line-height: 1.72; }

/* method image */
.method-img-wrap { position: sticky; top: 88px; border-radius: var(--radius-lg); overflow: hidden; }
.method-img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: var(--radius-lg); display: block;
  box-shadow: 0 20px 50px rgba(13,43,107,0.12);
}

/* ============================================================
   FOR WHOM
============================================================ */
.forwho { background: var(--blue-dark); }
.forwho .section-title { color: var(--white); margin-bottom: 2.2rem; }
.forwho-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.forwho-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.3rem 1.5rem;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  font-size: 1.02rem; color: rgba(255,255,255,0.85);
  transition: background .2s, border-color .2s, transform .2s;
}
.forwho-item:hover { background: rgba(34,197,94,0.12); border-color: var(--green); transform: translateY(-3px); }
.check {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; flex-shrink: 0;
  background: var(--green); color: var(--white);
  font-size: 0.82rem; font-weight: 700; border-radius: 50%;
}

/* ============================================================
   CTA FINAL
============================================================ */
.cta-final {
  position: relative; overflow: hidden;
  background: var(--off-white);
  border-top: 1px solid var(--gray-line);
}
.cta-bg {
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--gradient); pointer-events: none;
}
.cta-inner { text-align: center; }
.cta-copy { display: flex; flex-direction: column; align-items: center; }
.cta-title { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 1rem; }
.cta-sub { font-size: 1.05rem; color: var(--text-mid); margin-bottom: 2.2rem; line-height: 1.7; }

/* ============================================================
   FOOTER
============================================================ */
.footer { background: var(--blue-dark); padding: 4rem 0 0; }

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo { margin-bottom: 1rem; }
.logo-img--footer { height: 34px; }
.footer .logo-text { color: var(--white); }
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.45); line-height: 1.6; margin-top: 0.8rem; }

.footer-section-label {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 1.2rem;
}

.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.footer-contact-list li { display: flex; align-items: center; gap: 0.7rem; }
.footer-contact-list svg { color: var(--green); flex-shrink: 0; }
.footer-contact-list a {
  color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.92rem;
  transition: color .2s;
}
.footer-contact-list a:hover { color: var(--green); }

.footer-nav-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-nav-list a {
  color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.92rem;
  transition: color .2s;
}
.footer-nav-list a:hover { color: var(--green); }

.footer-bottom { padding: 1.4rem 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: center; }
.footer-copy { font-size: 0.83rem; color: rgba(255,255,255,0.35); }

/* ============================================================
   WHATSAPP FLOAT BUTTON
============================================================ */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: transform .22s, box-shadow .22s;
  animation: wa-pulse 3s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,0.55); animation: none; }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 6px 32px rgba(37,211,102,0.7); }
}

/* ============================================================
   SECTION LABELS
============================================================ */
.section-title { font-size: clamp(1.9rem,3.5vw,2.8rem); margin-bottom: 1.2rem; color: var(--blue-dark); }
.manifesto-label { font-size: 0.73rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 1rem; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; padding-bottom: 4rem; }
  .hero-img-wrap { max-width: 560px; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-img-wrap { max-width: 500px; }
  .manifesto-img { aspect-ratio: 16/9; }
  .method-grid { grid-template-columns: 1fr; }
  .method-img-wrap { position: static; max-width: 480px; }
  .method-img { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .hero { padding: 4.5rem 0 0; }
  .whowe-inner { grid-template-columns: 1fr; gap: 2rem; }
  .pain-grid { grid-template-columns: 1fr; }
  .pain-card--wide { flex-direction: column; }
  .forwho-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  .hero-img-badge { left: 0; bottom: -16px; }
  .whowe-img-tag { right: 0; bottom: -12px; }
}
