/* ═══════════════════════════════════════════════════════
   ESOLIA — DESIGN SYSTEM COMPARTIDO
   ═══════════════════════════════════════════════════════ */

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

:root {
  --green: #B4F149;
  --teal: #25C0B2;
  --black: #0D0D0D;
  --white: #FFFFFF;
  --gray: #1A1A1A;
  --gray-mid: #2A2A2A;
  --gray-light: #888;
  --gradient: linear-gradient(135deg, #B4F149, #25C0B2);
  --gradient-text: linear-gradient(90deg, #B4F149, #25C0B2);
  --font: 'Nunito', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--white); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }

/* ── UTILITIES ── */
.gradient-text { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.btn-primary {
  background: var(--gradient); color: var(--black); font-family: var(--font);
  font-weight: 800; font-size: 1rem; padding: 0.9rem 2rem; border: none;
  border-radius: 50px; cursor: pointer; text-decoration: none; display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s; white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(180,241,73,0.3); }

.btn-outline {
  background: transparent; color: var(--white); font-family: var(--font);
  font-weight: 700; font-size: 1rem; padding: 0.9rem 2rem;
  border: 1.5px solid rgba(255,255,255,0.25); border-radius: 50px;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--green); background: rgba(180,241,73,0.07); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 100px 0; }
.tag { display: inline-block; font-family: var(--font); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 0.85rem; }
.section-title { font-family: var(--font); font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1.12; margin-bottom: 1.1rem; }
.section-sub { font-size: 1.05rem; color: var(--gray-light); line-height: 1.7; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(13,13,13,0.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1.5rem; }
.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-links { display: flex; gap: 1.75rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.92rem; font-family: var(--font); font-weight: 600; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta { font-size: 0.88rem !important; padding: 0.6rem 1.35rem !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 0.3rem; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s; }

/* ── PAGE HEADER ── */
.page-header {
  padding: calc(var(--nav-h) + 60px) 0 70px;
  background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(37,192,178,0.1) 0%, transparent 70%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.page-header h1 { font-family: var(--font); font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 1rem; }
.page-header p { font-size: 1.1rem; color: var(--gray-light); max-width: 560px; margin: 0 auto; }

/* ── CARDS ── */
.card { background: var(--gray); border: 1px solid rgba(255,255,255,0.07); border-radius: 20px; padding: 2rem; transition: border-color 0.3s, transform 0.3s; }
.card:hover { border-color: rgba(180,241,73,0.25); transform: translateY(-3px); }
.card.featured { border-color: rgba(37,192,178,0.35); background: linear-gradient(135deg, rgba(180,241,73,0.04), rgba(37,192,178,0.07)); }

/* ── CHECK ── */
.check { width: 18px; height: 18px; background: var(--gradient); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.check::after { content: ''; width: 5px; height: 8px; border-right: 2px solid var(--black); border-bottom: 2px solid var(--black); transform: rotate(45deg) translate(-1px,-1px); }

/* ── FOOTER ── */
footer { background: #080808; padding: 70px 0 40px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 4rem; }
.footer-brand p { font-size: 0.88rem; color: var(--gray-light); line-height: 1.65; max-width: 280px; margin-top: 0.75rem; }
.footer-contact { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.45rem; }
.footer-contact a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-contact a:hover { color: var(--green); }
.footer-col h4 { font-family: var(--font); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.06); flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.25); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.8rem; color: rgba(255,255,255,0.25); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--white); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
}
