/* =========================================================
   CONVIVENCIA EN ESCUELA — Vitrina
   Styles v1.0
   ========================================================= */

/* ---- Custom Properties ---- */
:root {
  --green:   #05b348;
  --green-d: #03a040;
  --blue:    #1375f5;
  --blue-d:  #0d63d4;
  --teal:    #088d8d;
  --cyan:    #0fa6cc;
  --indigo:  #3f51b5;
  --mint:    #10ce98;
  --purple:  #ab2b9a;
  --slate:   #607d8b;
  --dark:    #1a1a2e;
  --dark-2:  #212529;
  --text:    #212529;
  --text-sm: #6c757d;
  --white:   #ffffff;
  --gray-bg: #f8f9fa;
  --border:  #e9ecef;

  --font-title: 'Poppins', sans-serif;
  --font-body:  'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.15);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---- Typography ---- */
h1, h2, h3 { font-family: var(--font-title); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.125rem; font-weight: 600; }

/* ---- Utilities ---- */
.text-green  { color: var(--green); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-d);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(5,179,72,.3);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
}
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 10px; }
.btn-full { width: 100%; justify-content: center; padding: 16px; font-size: 1rem; }

/* ---- Section shared ---- */
.section { padding: 96px 0; }
.section-light { background: var(--gray-bg); }
.section-white { background: var(--white); }
.section-dark  { background: var(--dark); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-header h2 { margin-bottom: 16px; }
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-sm);
  line-height: 1.7;
}
.section-subtitle.light { color: rgba(255,255,255,.7); }
.section-header h2 { color: var(--dark-2); }
.section-dark .section-header h2 { color: var(--white); }

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(5,179,72,.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.section-tag.light {
  color: var(--green);
  background: rgba(5,179,72,.15);
}

/* ---- Scroll Animations ---- */
.fade-in, .fade-in-delay {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in-delay { transition-delay: .15s; }
.fade-in.visible, .fade-in-delay.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--dark);
  transition: box-shadow .3s;
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
}
.logo-accent { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  transition: all .2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,.08);
}
.nav-cta { margin-left: 8px; padding: 10px 20px; font-size: 0.9rem; }
.btn-nav-login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.15);
  transition: all .2s;
}
.btn-nav-login:hover {
  color: var(--white);
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.06);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0d1117 0%, #1a1a2e 50%, #1a2a1e 100%);
  display: flex;
  flex-direction: column;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(5,179,72,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-container {
  flex: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(5,179,72,.1);
  border: 1px solid rgba(5,179,72,.2);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-headline {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2rem, 3.5vw, 3rem);
}
.hero-subtitle {
  color: rgba(255,255,255,.65);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
}
.hero-visual {
  position: relative;
}
.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 60px; }

/* ---- App Mockup ---- */
.app-mockup {
  background: #161b2e;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06);
  position: relative;
  z-index: 1;
}
.app-chrome {
  background: #1e2438;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.chrome-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }
.chrome-url {
  flex: 1;
  background: #111827;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 0.72rem;
  color: rgba(255,255,255,.4);
  font-family: monospace;
}
.app-body {
  display: flex;
  height: 380px;
}
.app-sidebar {
  width: 170px;
  background: #0f1420;
  padding: 16px 0;
  flex-shrink: 0;
  border-right: 1px solid rgba(255,255,255,.05);
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 16px 20px;
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
}
.sidebar-logo {
  width: 22px;
  height: 22px;
  background: var(--green);
  border-radius: 5px;
}
.sidebar-menu { display: flex; flex-direction: column; }
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 0.72rem;
  color: rgba(255,255,255,.4);
  cursor: pointer;
  transition: all .2s;
}
.sidebar-item.active {
  background: rgba(5,179,72,.1);
  color: var(--green);
  border-right: 2px solid var(--green);
}
.sidebar-item:hover:not(.active) { background: rgba(255,255,255,.04); color: rgba(255,255,255,.7); }
.si-icon { font-size: 0.9rem; }

.app-main {
  flex: 1;
  background: #f0f2f5;
  padding: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.app-page-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark-2);
}
.app-search-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.68rem;
  color: #aaa;
  flex: 1;
  max-width: 180px;
}
.app-stats-row {
  display: flex;
  gap: 8px;
}
.app-stat {
  flex: 1;
  background: var(--white);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-num {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-title);
}
.stat-label {
  font-size: 0.62rem;
  color: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.app-stat.green .stat-num { color: var(--green); }
.app-stat.blue  .stat-num { color: var(--blue); }
.app-stat.teal  .stat-num { color: var(--teal); }

.app-table {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  flex: 1;
  box-shadow: var(--shadow-sm);
}
.app-table-head {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  padding: 8px 12px;
  background: #f8f9fa;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--border);
}
.app-table-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  padding: 7px 12px;
  font-size: 0.68rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.app-table-row:last-child { border-bottom: none; }
.badge-green, .badge-orange, .badge-blue {
  font-size: 0.6rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
  white-space: nowrap;
}
.badge-green  { background: rgba(5,179,72,.12);  color: var(--green); }
.badge-orange { background: rgba(255,152,0,.12);  color: #f57c00; }
.badge-blue   { background: rgba(19,117,245,.12); color: var(--blue); }

/* ============================================================
   S2 — PROBLEMA
   ============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.problem-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all .25s;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.problem-card-wide {
  grid-column: span 4;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.problem-card-wide h3 { margin-bottom: 8px; }
.problem-icon {
  width: 52px;
  height: 52px;
  background: #fff1f0;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.problem-card h3 { font-size: 1rem; margin-bottom: 10px; color: var(--dark-2); }
.problem-card p { font-size: 0.9rem; color: var(--text-sm); line-height: 1.6; }

/* ============================================================
   S3 — QUÉ ES
   ============================================================ */
.que-es-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.body-text {
  font-size: 1.05rem;
  color: var(--text-sm);
  line-height: 1.75;
  margin-bottom: 20px;
}
.feature-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}
.check-icon {
  width: 22px;
  height: 22px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.que-es-visual {
  position: relative;
}
.modules-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.module-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: transform .2s;
}
.module-chip:hover { transform: translateY(-2px); }
.module-chip.green  { background: rgba(5,179,72,.1);  color: var(--green); }
.module-chip.blue   { background: rgba(19,117,245,.1); color: var(--blue); }
.module-chip.cyan   { background: rgba(15,166,204,.1); color: var(--cyan); }
.module-chip.teal   { background: rgba(8,141,141,.1);  color: var(--teal); }
.module-chip.indigo { background: rgba(63,81,181,.1);  color: var(--indigo); }
.module-chip.mint   { background: rgba(16,206,152,.1); color: var(--mint); }
.module-chip.purple { background: rgba(171,43,154,.1); color: var(--purple); }
.module-chip.slate  { background: rgba(96,125,139,.1); color: var(--slate); }

/* ============================================================
   S4 — FUNCIONALIDADES
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all .25s;
  border-top: 3px solid var(--card-color, var(--green));
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--dark-2);
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--text-sm);
  line-height: 1.65;
}

/* ============================================================
   S5 — PARA QUIÉN
   ============================================================ */
.roles-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}
.role-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all .25s;
}
.role-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(5,179,72,.2);
}
.role-avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}
.role-info h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--dark-2);
}
.role-info p {
  font-size: 0.9rem;
  color: var(--text-sm);
  line-height: 1.65;
}

/* ============================================================
   S6 — CÓMO FUNCIONA
   ============================================================ */
.steps-container {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 64px;
}
.step-card {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  transition: all .25s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-number {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(5,179,72,.12);
  line-height: 1;
  margin-bottom: 16px;
}
.step-icon { margin-bottom: 18px; }
.step-card h3 { font-size: 1.05rem; margin-bottom: 12px; color: var(--dark-2); }
.step-card p  { font-size: 0.9rem; color: var(--text-sm); line-height: 1.65; }
.step-connector {
  padding: 0 12px;
  flex-shrink: 0;
  margin-top: -20px;
}

.video-placeholder {
  background: linear-gradient(135deg, #0d1117, #1a1a2e);
  border-radius: var(--radius-lg);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(5,179,72,.06) 0%, transparent 70%);
}
.video-play {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.play-btn {
  width: 72px;
  height: 72px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s;
  box-shadow: 0 0 0 12px rgba(5,179,72,.15);
}
.play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 18px rgba(5,179,72,.12);
}
.video-text { text-align: center; }
.video-label {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.video-duration {
  display: block;
  color: rgba(255,255,255,.5);
  font-size: 0.875rem;
}

/* ============================================================
   S6.5 — DIGITALIZACIÓN DE REGISTROS
   ============================================================ */
.section-digitize {
  background: linear-gradient(135deg, #0d1117 0%, #0f1f2e 50%, #0d1a17 100%);
  position: relative;
  overflow: hidden;
}
.section-digitize::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 50%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(19,117,245,.07) 0%, transparent 65%);
  pointer-events: none;
}
.section-digitize::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -5%;
  width: 40%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(5,179,72,.06) 0%, transparent 65%);
  pointer-events: none;
}
.digitize-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.digitize-content h2 {
  color: var(--white);
  margin-bottom: 20px;
}
.digitize-content .section-tag { margin-bottom: 20px; }
.tag-accent {
  color: #0fa6cc;
  background: rgba(15,166,204,.12);
}
.btn-white {
  background: var(--white);
  color: var(--dark);
  font-weight: 700;
  margin-top: 12px;
}
.btn-white:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,255,255,.15);
}

/* Flow steps */
.digitize-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dflow-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  position: relative;
  transition: all .25s;
}
.dflow-step:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.14);
}
.dflow-step-accent {
  border-color: rgba(15,166,204,.25);
  background: rgba(15,166,204,.06);
}
.dflow-step-result {
  border-color: rgba(5,179,72,.25);
  background: rgba(5,179,72,.06);
}
.dflow-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.65);
}
.dflow-icon.accent {
  background: rgba(15,166,204,.15);
  color: #0fa6cc;
}
.dflow-icon.result {
  background: rgba(5,179,72,.15);
  color: var(--green);
}
.dflow-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 2px;
}
.dflow-text strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}
.dflow-text span {
  font-size: 0.82rem;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}
.dflow-badge {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #0fa6cc;
  background: rgba(15,166,204,.12);
  border: 1px solid rgba(15,166,204,.2);
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: .04em;
}
.dflow-arrow {
  display: flex;
  justify-content: center;
  padding: 6px 0;
}

@media (max-width: 1024px) {
  .digitize-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ============================================================
   S7 — IMPACTO
   ============================================================ */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.metric-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  transition: all .25s;
}
.metric-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(5,179,72,.3);
}
.metric-wide { grid-column: span 4; }
.metric-number {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  color: var(--green);
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}
.metric-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
}
.impact-quote {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 36px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(5,179,72,.2);
  background: rgba(5,179,72,.04);
}
.impact-quote p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  font-style: italic;
  line-height: 1.75;
}


/* ============================================================
   S9 — FAQ
   ============================================================ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.active { border-color: var(--green); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  text-align: left;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--dark-2);
  transition: color .2s;
}
.faq-question:hover { color: var(--green); }
.faq-item.active .faq-question { color: var(--green); }
.faq-icon { flex-shrink: 0; color: var(--text-sm); transition: transform .3s; }
.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--green); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s;
}
.faq-item.active .faq-answer { max-height: 200px; }
.faq-answer p {
  padding: 0 24px 22px;
  font-size: 0.9rem;
  color: var(--text-sm);
  line-height: 1.7;
}

/* ============================================================
   S10 — CONTACTO
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.contact-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-2);
}
.cf-icon {
  width: 40px;
  height: 40px;
  background: rgba(5,179,72,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-2);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(5,179,72,.1);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-sm);
  margin-top: -4px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  padding: 64px 0 0;
}
.footer-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,.45); line-height: 1.65; max-width: 280px; }
.footer-links h4, .footer-contact h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.footer-links ul, .footer-contact ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-links a:hover { color: var(--green); }
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,.55);
}
.footer-contact svg { flex-shrink: 0; color: rgba(255,255,255,.3); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 24px;
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,.3); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: 60px; padding-top: 60px; }
  .hero-visual { order: -1; }
  .hero-subtitle { max-width: 100%; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-card-wide { grid-column: span 2; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-wide { grid-column: span 2; }

  .que-es-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: span 2; }

  .steps-container { flex-direction: column; }
  .step-connector { transform: rotate(90deg); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 48px; }

  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 16px; font-size: 1rem; }

  .hero-ctas { flex-direction: column; }
  .hero-trust { flex-direction: column; gap: 12px; }

  .app-body { height: 300px; }
  .app-sidebar { width: 130px; }
  .sidebar-item span:not(.si-icon) { display: none; }
  .sidebar-item { padding: 9px 12px; justify-content: center; }
  .sidebar-brand span:not(.sidebar-logo) { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card-wide { grid-column: auto; flex-direction: column; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 28px 20px; }
  .footer-container { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  .btn-lg { padding: 12px 24px; font-size: 0.95rem; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric-wide { grid-column: auto; }
  .app-sidebar { display: none; }
}
