/* Estilo replicado de impulsalabs.es (styles.css actual) + clases nuevas de la página de diseño web */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}

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

.il-page {
  --bg: #faf8f4;
  --bg2: #ffffff;
  --bg3: #f2ede4;
  --border: rgba(31,54,48,0.1);
  --text: #223330;
  --text-muted: #6d7b76;
  --accent: #2f9e8a;
  --accent2: #6fbfa8;
  --green: #22c55e;
  --red: #ef4444;
  --radius: 16px;
  --radius-sm: 10px;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
.il-page .container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.il-page a { text-decoration: none; color: inherit; }
.il-page ul { list-style: none; }

/* ── Barra de vista previa (meta, no forma parte de la página propuesta) ── */
.preview-bar { background: #223330; color: #fff; text-align: center; padding: 10px 16px; font-size: 0.8rem; line-height: 1.5; }
.preview-bar strong { color: #6fbfa8; font-weight: 700; }
.preview-bar .preview-bar-sub { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.65); }

/* ── Botones ── */
.il-page .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 100px; font-weight: 600; font-size: 0.95rem; transition: all 0.2s ease; cursor: pointer; border: none; font-family: 'Inter', sans-serif; }
.il-page .btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(47,158,138,0.35); }
.il-page .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(47,158,138,0.45); background: #298a78; }
.il-page .btn-nav { background: rgba(47,158,138,0.15); color: #1f7a6a; border: 1px solid rgba(47,158,138,0.3); font-size: 0.875rem; padding: 10px 20px; }
.il-page .btn-nav:hover { background: rgba(47,158,138,0.25); }
.il-page .btn-large { padding: 16px 36px; font-size: 1.05rem; }
.il-page .btn-outline { background: transparent; border: 1px solid rgba(47,158,138,0.4); color: var(--accent2); }
.il-page .btn-outline:hover { background: rgba(47,158,138,0.1); }
.il-page .btn-wa { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid rgba(47,158,138,0.45); color: var(--accent); white-space: nowrap; }
.il-page .btn-wa svg { width: 18px; height: 18px; }
.il-page .btn-wa:hover { background: rgba(47,158,138,0.1); }

/* ── Nav ── */
.il-page .nav { position: sticky; top: 0; z-index: 100; background: rgba(250,248,244,0.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.il-page .nav-inner { max-width: 1100px; margin: 0 auto; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; }
.il-page .logo { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.5px; }
.il-page .logo-accent { color: var(--accent2); }
.il-page .nav-links { display: flex; gap: 28px; }
.il-page .nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); transition: color 0.2s ease; cursor: pointer; }
.il-page .nav-links a:hover { color: var(--text); }
.il-page section[id] { scroll-margin-top: 80px; }

/* ── Etiquetas de sección ── */
.il-page .section-label { display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent2); margin-bottom: 16px; }
.il-page .section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 16px; }
.il-page .section-sub { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 48px; }

/* ── Hero ── */
.il-page .hero { padding: 72px 24px 80px; max-width: 1100px; margin: 0 auto; }
.il-page .hero-content { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.il-page .hero-badge { display: inline-block; background: rgba(47,158,138,0.12); border: 1px solid rgba(47,158,138,0.3); color: var(--accent2); padding: 6px 16px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; margin-bottom: 32px; }
.il-page .hero-title { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 900; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 24px; }
.il-page .gradient-text { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.il-page .hero-sub { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 40px; line-height: 1.7; }
.il-page .hero-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.il-page .hero-cta-note { font-size: 0.8rem; color: var(--text-muted); }

/* ── Browser frame (igual que la web actual) ── */
.il-page .browser-frame { max-width: 560px; margin: 0 auto; background: var(--bg3); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.18), 0 0 0 1px rgba(47,158,138,0.1); }
.il-page .browser-frame-header { background: var(--bg2); padding: 12px 16px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--border); }
.il-page .browser-dots { display: flex; gap: 6px; flex-shrink: 0; }
.il-page .browser-dot { width: 11px; height: 11px; border-radius: 50%; }
.il-page .browser-dot--red { background: #ff5f57; }
.il-page .browser-dot--yellow { background: #febc2e; }
.il-page .browser-dot--green { background: #28c840; }
.il-page .browser-url { flex: 1; background: var(--bg); border-radius: 6px; padding: 6px 14px; font-size: 0.8rem; color: var(--text-muted); text-align: center; }
.il-page .browser-frame-body { padding: 22px 24px 26px; background: var(--bg2); }

/* ── Mini web de muestra (wireframe CSS) ── */
.ms-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ms-logo { width: 42px; height: 10px; border-radius: 5px; background: var(--accent); }
.ms-links { display: flex; gap: 6px; }
.ms-link { width: 24px; height: 6px; border-radius: 3px; background: #e6e0d4; }
.ms-hero { background: #eef7f3; border-radius: 10px; padding: 18px 14px; text-align: center; margin-bottom: 12px; }
.ms-title { width: 62%; height: 10px; border-radius: 5px; background: #223330; opacity: 0.75; margin: 0 auto 8px; }
.ms-text { width: 84%; height: 6px; border-radius: 3px; background: #ddd6c8; margin: 5px auto 0; }
.ms-text.short { width: 55%; }
.ms-btn { width: 76px; height: 17px; border-radius: 100px; background: var(--accent); margin: 12px auto 0; }
.ms-rows { display: flex; flex-direction: column; gap: 9px; }
.ms-row { display: flex; align-items: center; gap: 9px; }
.ms-thumb { width: 28px; height: 28px; border-radius: 7px; background: #f2ede4; flex-shrink: 0; }
.ms-line { height: 6px; border-radius: 3px; background: #ece5d8; flex: 1; }
.ms-line.short { flex: 0 0 42%; }
.ms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.ms-cell { height: 44px; border-radius: 8px; background: #f2ede4; }
.ms-wa { height: 19px; border-radius: 100px; background: #25d366; width: 118px; margin: 12px auto 0; opacity: 0.9; }

.il-page .channel-label { text-align: center; font-size: 0.82rem; color: var(--text-muted); display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 16px; }
.il-page .channel-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 100px; font-size: 0.75rem; font-weight: 700; }
.il-page .channel-tag--demo { background: rgba(34,51,48,0.08); color: var(--text); border: 1px solid var(--border); }

/* ── Franja de elementos ── */
.il-page .integrations { padding: 44px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg2); text-align: center; }
.il-page .integrations-label { font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 24px; font-weight: 600; }
.il-page .integrations-grid { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.il-page .integration-item { display: flex; align-items: center; gap: 8px; background: var(--bg3); border: 1px solid var(--border); border-radius: 100px; padding: 9px 18px; font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.il-page .integration-icon { display: inline-flex; color: var(--accent2); }
.il-page .integration-icon svg { width: 16px; height: 16px; }

/* ── Problema ── */
.il-page .problem { padding: 90px 0; border-bottom: 1px solid var(--border); }
.il-page .problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.il-page .problem-text h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 20px; }
.il-page .problem-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.05rem; line-height: 1.7; }
.il-page .calc-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.il-page .calc-label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.il-page .calc-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; color: var(--text-muted); line-height: 1.5; }
.il-page .calc-row:last-child { border-bottom: none; }
.il-page .x { color: var(--red); font-weight: 700; font-size: 1rem; flex-shrink: 0; }

/* ── Qué incluye (features) ── */
.il-page .features { padding: 90px 0; text-align: center; background: var(--bg2); border-bottom: 1px solid var(--border); }
.il-page .features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.il-page .feature { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 24px; transition: border-color 0.2s, transform 0.2s; position: relative; }
.il-page .feature:hover { border-color: rgba(47,158,138,0.3); transform: translateY(-4px); }
.il-page .feature-icon { margin-bottom: 16px; color: var(--accent2); }
.il-page .feature-icon svg { width: 28px; height: 28px; }
.il-page .feature h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.il-page .feature p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }
.il-page .pending-card { max-width: 720px; margin: 24px auto 0; background: rgba(34,51,48,0.03); border: 1px dashed rgba(34,51,48,0.25); border-radius: var(--radius); padding: 28px 32px; text-align: left; }
.il-page .pending-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.il-page .pending-card ul li { font-size: 0.9rem; color: var(--text-muted); padding: 8px 0; border-bottom: 1px solid var(--border); }
.il-page .pending-card ul li:last-child { border-bottom: none; }
.il-page .pill-pc { display: inline-block; background: rgba(34,51,48,0.1); color: var(--text); border: 1px solid rgba(34,51,48,0.2); border-radius: 100px; padding: 2px 12px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; white-space: nowrap; }
.il-page .section-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 20px; }

/* ── Ejemplos ── */
.il-page .examples { padding: 90px 0; text-align: center; }
.il-page .examples-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; max-width: 1140px; margin-left: auto; margin-right: auto; }
.il-page .example-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; text-align: left; position: relative; transition: border-color 0.2s, transform 0.2s; }
.il-page .example-card:hover { border-color: rgba(47,158,138,0.4); transform: translateY(-4px); }
.il-page .demo-pill { position: absolute; top: -12px; left: 24px; background: #223330; color: #fff; font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 100px; letter-spacing: 0.5px; }
.il-page .example-card .browser-frame { max-width: 100%; box-shadow: 0 8px 24px rgba(0,0,0,0.08); border-radius: 12px; margin-bottom: 18px; }
.il-page .example-card .browser-frame-header { padding: 8px 12px; gap: 10px; }
.il-page .example-card .browser-dot { width: 8px; height: 8px; }
.il-page .example-card .browser-url { font-size: 0.68rem; padding: 4px 10px; }
.il-page .example-card .browser-frame-body { padding: 14px 14px 16px; }
.il-page .example-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.il-page .example-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ── Proceso (steps) ── */
.il-page .how { padding: 90px 0; text-align: center; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.il-page .steps { display: flex; align-items: flex-start; justify-content: center; flex-wrap: wrap; gap: 0; }
.il-page .step { flex: 1; min-width: 220px; max-width: 280px; text-align: left; padding: 32px; background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); }
.il-page .step-num { font-size: 3rem; font-weight: 900; color: var(--accent); line-height: 1; margin-bottom: 16px; }
.il-page .step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.il-page .step p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.il-page .step-arrow { font-size: 1.5rem; color: var(--accent2); align-self: center; padding: 0 12px; flex-shrink: 0; }

/* ── Precio ── */
.il-page .pricing { padding: 90px 0; text-align: center; position: relative; overflow: hidden; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.il-page .pricing--glow::before { content: ""; position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 900px; height: 500px; background: radial-gradient(ellipse at center, rgba(47,158,138,0.16) 0%, transparent 70%); pointer-events: none; }
.il-page .pricing .container { position: relative; z-index: 1; }
.il-page .pricing-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 460px; margin: 48px auto 0; }
.il-page .pricing-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 32px; text-align: left; position: relative; display: flex; flex-direction: column; }
.il-page .pricing-card--highlight { border-color: rgba(47,158,138,0.35); background: #eef7f3; }
.il-page .pricing-badge { position: absolute; top: -12px; left: 32px; background: #223330; color: #fff; font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 100px; letter-spacing: 0.5px; }
.il-page .pricing-plan { font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent2); }
.il-page .pricing-price { font-size: 2.2rem; font-weight: 900; letter-spacing: -1px; margin: 12px 0 8px; }
.il-page .pricing-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; line-height: 1.6; }
.il-page .pricing-features { margin-bottom: 28px; flex-grow: 1; }
.il-page .pricing-features li { font-size: 0.875rem; color: var(--text-muted); padding: 8px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.il-page .pricing-features li::before { content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; }
.il-page .pricing-features li:last-child { border-bottom: none; }
.il-page .pricing-card .btn { justify-content: center; width: 100%; }

/* ── FAQ ── */
.il-page .faq { padding: 90px 0; text-align: center; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.il-page .faq-list { max-width: 720px; margin: 0 auto; text-align: left; }
.il-page .faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; background: var(--bg3); transition: border-color 0.2s; }
.il-page .faq-item.open { border-color: rgba(47,158,138,0.4); }
.il-page .faq-q { width: 100%; background: none; border: none; color: var(--text); font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 600; padding: 20px 24px; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.il-page .faq-icon { font-size: 1.4rem; color: var(--accent2); font-weight: 400; flex-shrink: 0; transition: transform 0.2s; }
.il-page .faq-item.open .faq-icon { transform: rotate(45deg); }
.il-page .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; padding: 0 24px; }
.il-page .faq-item.open .faq-a { max-height: 400px; padding: 0 24px 20px; }
.il-page .faq-a p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* ── CTA final ── */
.il-page .cta-final { padding: 100px 24px; text-align: center; background: var(--bg3); }
.il-page .cta-final h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 900; line-height: 1.15; letter-spacing: -1px; margin-bottom: 20px; }
.il-page .cta-final p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 40px; max-width: 540px; margin-left: auto; margin-right: auto; }
.il-page .cta-final .cta-buttons { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.il-page .cta-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 16px; display: block; }

/* ── Footer ── */
.il-page .footer { padding: 48px 24px; border-top: 1px solid var(--border); text-align: center; }
.il-page .footer .logo { display: block; margin-bottom: 12px; }
.il-page .footer p { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 6px; }
.il-page .footer-copy { font-size: 0.78rem !important; margin-top: 16px; color: var(--text-muted) !important; }

/* ── Responsive (mismos cortes que la web actual) ── */
@media (max-width: 900px) {
  .il-page .nav-links { display: none; }
  .il-page .problem-grid { grid-template-columns: 1fr; gap: 40px; }
  .il-page .features-grid { grid-template-columns: repeat(2, 1fr); }
  .il-page .examples-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .il-page .steps { flex-direction: column; align-items: center; }
  .il-page .steps .step-arrow { transform: rotate(90deg); padding: 8px 0; }
  .il-page .pricing-grid { max-width: 420px; }
}
@media (max-width: 600px) {
  .il-page .btn-large { padding: 14px 22px; font-size: 0.92rem; }
  .il-page .features-grid { grid-template-columns: 1fr; }
  .il-page .hero { padding: 48px 20px 64px; }
  .il-page .browser-frame-body { padding: 18px 16px 20px; }
}

@media (max-width: 360px) {
  .il-page .btn-nav { font-size: 0.8rem; padding: 9px 14px; white-space: nowrap; }
  .il-page .btn-large { padding: 13px 18px; font-size: 0.85rem; gap: 6px; }
  .il-page .nav-inner { padding: 14px 16px; }
}

.il-page .browser-frame-body--img { padding: 0; }
.il-page .browser-frame-body--img img { display: block; width: 100%; height: auto; }
.il-page .demo-link { margin-top: 18px; width: 100%; justify-content: center; }
.il-page .demo-link-note { font-size: 0.75rem !important; color: var(--text-muted); margin-top: 10px; }
.il-page .example-card--pending { border-style: dashed; border-color: rgba(34,51,48,0.25); background: rgba(34,51,48,0.03); display: flex; flex-direction: column; justify-content: center; }

html { scroll-behavior: smooth; }
