/* ───────────────────────────────────────
   WEBrapidito — Dark Premium Design
   Space Grotesk · Linear/Vercel Inspired
─────────────────────────────────────── */



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

/* ── TOKENS ── */
:root {
  --bg:       #0a0a0b;
  --surface:  #111113;
  --surface2: #18181b;
  --border:   rgba(255,255,255,0.06);
  --border-h: rgba(255,255,255,0.12);
  --text:     #e4e4e7;
  --muted:    #e4e4e7;
  --accent:   #6366f1;         /* Indigo */
  --accent-h: #818cf8;
  --font:     'Space Grotesk', system-ui, sans-serif;
  --ease:     cubic-bezier(.16,1,.3,1);
  --max:      1100px;
}

/* ── BASE ── */
html  { scroll-behavior:smooth; font-size:16px; }
body  {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a     { color:inherit; text-decoration:none; }
img   { display:block; max-width:100%; }

/* ── CUSTOM CURSOR ── */
.cursor {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform .1s var(--ease),
              width .3s var(--ease),
              height .3s var(--ease),
              opacity .3s var(--ease);
  mix-blend-mode: screen;
}

/* ── LAYOUT ── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: clamp(6rem, 12vw, 10rem) 0; border-top: 1px solid var(--border); }
.section--alt { background: var(--surface); }

.section-head  { margin-bottom: 4rem; }
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-top: .75rem;
}

.section-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 5rem;
}

.col-label { padding-top: .2rem; }

h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fafafa;
  margin-bottom: 1.75rem;
}

.label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 1.5rem;
}

.body-lg {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.body-lg strong { color: var(--text); font-weight: 600; }

.accent { color: var(--accent); }

/* ── NAV ── */
#nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(10,10,11,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .4s var(--ease);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fafafa;
  flex-shrink: 0;
}

#nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin-left: auto;
}

#nav ul a {
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .3s var(--ease);
}
#nav ul a:hover { color: #fafafa; }

.nav-btn {
  font-size: .82rem;
  font-weight: 600;
  color: #fafafa;
  background: var(--surface2);
  border: 1px solid var(--border-h);
  padding: .5rem 1.1rem;
  border-radius: 8px;
  flex-shrink: 0;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav-btn:hover { background: var(--surface); border-color: rgba(255,255,255,.2); }

/* ── BUTTONS ── */
.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  padding: .875rem 1.75rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-accent:hover {
  background: var(--accent-h);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(99,102,241,.3);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .3s var(--ease);
}
.btn-ghost:hover { color: #fafafa; }

/* ── HERO ── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 2rem 0;
  position: relative;
}

.hero-wrap {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: .98;
  color: #fafafa;
  margin-bottom: 2.25rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 3rem;
  font-weight: 400;
}

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

.hero-trust {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
}

.trust-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(34,197,94,.2);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,.07); }
}

.hero-line {
  height: 1px;
  background: var(--border);
  max-width: var(--max);
  margin: 0 auto;
  margin-top: 5rem;
}

/* ── STATS ── */
.stats {
  display: flex;
  gap: 3rem;
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat strong {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: #fafafa;
  line-height: 1;
  margin-bottom: .35rem;
}
.stat span {
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}

/* ── SERVICES ── */
.services-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.service-item {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: center;
  gap: 3rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: background .3s var(--ease);
}
.service-item:hover { background: rgba(255,255,255,.015); margin: 0 -2rem; padding: 2.5rem 2rem; }

.service-item-num {
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .05em;
}

.service-item-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #fafafa;
  margin-bottom: .6rem;
}
.service-item-body p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 480px;
}

.service-item-cta {
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: .6rem 1.2rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  flex-shrink: 0;
}
.service-item-cta:hover {
  color: #fafafa;
  border-color: var(--border-h);
  background: var(--surface2);
}

/* ── PROCESS ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.process-card {
  background: var(--bg);
  padding: 3rem 2.5rem;
  transition: background .3s var(--ease);
}
.process-card:hover { background: var(--surface); }

.process-n {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.process-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fafafa;
  letter-spacing: -0.02em;
  margin-bottom: .75rem;
}

.process-card p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── MENTORÍAS ── */
.mentoria-items { display:flex; flex-direction:column; gap:.6rem; margin-top: 2rem; }
.mentoria-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .95rem;
  color: var(--text);
  padding: 1rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.mentoria-row:hover { border-color: var(--accent); background: rgba(99,102,241,.04); }
.mentoria-row span { color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ── PROJECTS ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.project {
  display: block;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.project:hover {
  border-color: rgba(99,102,241,.35);
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
}

.project-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.project-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,10,11,.2);
  transition: background .4s var(--ease);
}
.project:hover .project-img::after { background: rgba(99,102,241,.15); }

.project-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.project:hover .project-hover { opacity: 1; }
.project-hover span {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  padding: .7rem 1.4rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.2);
}

.project-meta { padding: 1.5rem; }
.project-tag {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: .75rem;
}
.project-meta h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fafafa;
  margin-bottom: .5rem;
}
.project-meta p { font-size: .82rem; color: var(--muted); line-height: 1.6; }

/* ── QUOTE ── */
.quote-block {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.quote-stars { color: #f59e0b; font-size: 1rem; letter-spacing: .2em; margin-bottom: 2.5rem; }
.quote-block blockquote {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: #e4e4e7;
  margin-bottom: 2.5rem;
}
.quote-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.quote-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  flex-shrink: 0;
}
.quote-author strong { display:block; font-size:.9rem; font-weight:600; color:#fafafa; }
.quote-author span   { font-size:.8rem; color:var(--muted); }

/* ── SOCIAL BUTTONS ── */
.socials {
  display: flex;
  gap: .75rem;
  margin-top: 2.5rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color .3s var(--ease),
              border-color .3s var(--ease),
              background .3s var(--ease),
              transform .3s var(--ease);
}
.social-btn svg { width: 17px; height: 17px; }
.social-btn:hover {
  color: #fafafa;
  border-color: var(--border-h);
  background: var(--surface2);
  transform: translateY(-3px);
}

/* ── FOOTER SOCIALS ── */
.footer-socials {
  display: flex;
  gap: .75rem;
  margin-left: auto;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color .3s var(--ease),
              border-color .3s var(--ease),
              transform .3s var(--ease);
}
.footer-socials a svg { width: 15px; height: 15px; }
.footer-socials a:hover {
  color: #fafafa;
  border-color: rgba(255,255,255,.2);
  transform: translateY(-2px);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-left h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fafafa;
  margin: .75rem 0 1.25rem;
}

.contact-left p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-left p strong {
  color: var(--text);
  font-weight: 600;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-top: 2.5rem;
}
.contact-info a {
  font-size: .85rem;
  color: var(--muted);
  transition: color .3s var(--ease);
}
.contact-info a:hover { color: var(--accent); }

/* ── FORM ── */
.field { margin-bottom: 1.75rem; }
.field label {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .6rem;
}
.field input,
.field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #fafafa;
  font-family: var(--font);
  font-size: .95rem;
  padding: .85rem 1rem;
  outline: none;
  transition: border-color .3s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field input:focus,
.field textarea:focus { border-color: var(--accent); }
textarea { resize: vertical; min-height: 120px; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer-wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}
.footer-links a {
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .3s var(--ease);
}
.footer-links a:hover { color: #fafafa; }
.footer-copy { font-size: .78rem; color: var(--muted); }

/* ── WHATSAPP ── */
.wa {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 200;
  width: 52px; height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 30px rgba(37,211,102,.35);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.wa svg { width: 26px; height: 26px; }
.wa:hover { transform: scale(1.1); box-shadow: 0 16px 50px rgba(37,211,102,.5); }

/* ── SCROLL ANIMATIONS ── */
.s-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.s-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .section-grid  { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-grid  { grid-template-columns: 1fr; gap: 1px; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .service-item  { grid-template-columns: 1fr; gap: 1rem; }
  .service-item:hover { margin: 0; padding: 2.5rem 0; }
  .service-item-cta { align-self: flex-start; }
  .stats { gap: 2rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3.5rem; }
}

@media (max-width: 640px) {
  #nav ul { display: none; }
  .hero { padding: 100px 1.5rem 0; }
  .hero h1 { font-size: 3rem; }
  .projects-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-wrap { flex-direction: column; text-align: center; gap: 1rem; }
  .footer-links { margin-left: 0; }
}
