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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  background-image:
    linear-gradient(rgba(15,23,42,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  background-attachment: fixed;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.55;
  position: relative;
}

/* Watermark del logo Lumai fijo de fondo en todo el sitio */
body::before {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  max-width: 80vw;
  height: 500px;
  max-height: 60vh;
  background-image: url('../assets/images/logo-hero.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
}

main, section, footer {
  position: relative;
  z-index: 1;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

input, textarea, select {
  font-family: inherit;
}

ul {
  list-style: none;
}

/* ─── UTILITIES ──────────────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
}

.section-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  max-width: 760px;
}

.section-title em {
  font-style: normal;
  color: var(--brand);
}

/* ─── SECTION WRAPPERS ───────────────────────────────────── */
.section-wrap {
  padding: 96px 56px;
  background: var(--white);
}

.section-wrap-alt {
  padding: 96px 56px;
  background: var(--cream);
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn-primary {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 16px 24px;
  background: var(--brand);
  color: var(--white);
  border: none;
  border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  display: inline-block;
  box-shadow: 0 14px 30px rgba(37,99,235,0.22);
}

.btn-primary:hover {
  background: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(37,99,235,0.28);
}

.btn-ghost {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border-mid);
  border-radius: 999px;
  padding: 15px 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

.btn-ghost::after {
  content: '→';
}

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes barFill {
  to { width: var(--w, 70%); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* ─── Stat disclaimer ────────────────────────────────────── */
.stat-disclaimer {
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0;
  text-transform: none;
  vertical-align: super;
}

/* ─── Testimonios / Equipo ───────────────────────────────── */
.testimonios-section {
  padding: 96px 56px;
  background: var(--cream);
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.testimonio-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.testimonio-quote {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.75;
  font-weight: 500;
  font-style: italic;
  flex: 1;
}

.testimonio-quote::before { content: '"'; color: var(--brand); font-size: 24px; font-style: normal; line-height: 0; vertical-align: -8px; margin-right: 4px; }
.testimonio-quote::after  { content: '"'; color: var(--brand); font-size: 24px; font-style: normal; line-height: 0; vertical-align: -8px; margin-left: 4px; }

.testimonio-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonio-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--brand);
  flex-shrink: 0;
}

.testimonio-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.testimonio-role {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 500;
}

.testimonios-placeholder {
  margin-top: 48px;
  padding: 40px;
  border: 2px dashed var(--border-mid);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--ink-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

/* ─── Equipo ─────────────────────────────────────────────── */
.equipo-section {
  padding: 96px 56px;
  background: var(--white);
}

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.equipo-card {
  text-align: center;
}

.equipo-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--brand-pale);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: var(--brand);
  border: 3px solid var(--brand);
}

.equipo-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.equipo-role {
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 500;
  margin-bottom: 12px;
}

.equipo-bio {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  font-weight: 500;
}

@media (max-width: 900px) {
  .testimonios-section,
  .equipo-section {
    padding: 60px 24px;
  }
  .testimonios-grid {
    grid-template-columns: 1fr;
  }
}


/* ─── Skip-to-content link (accesibilidad WCAG 2.4.1) ─── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10000;
}
.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 20px;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(37, 99, 235, 0.3);
  outline: 3px solid #fff;
}
