:root {
  --navy: #0F172A;
  --gold: #B45309;
  --bg: #F8FAFC;
  --text: #334155;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); line-height: 1.5; }
h1, h2, h3 { font-family: 'Montserrat', sans-serif; color: var(--navy); }
a { text-decoration: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.topbar { background: var(--navy); color: white; padding: 12px 0; position: sticky; top: 0; z-index: 50; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.brand { font-weight: 700; font-family: 'Montserrat'; letter-spacing: 1px; font-size: 1.1rem; }
.btn-pdf { display: flex; align-items: center; gap: 5px; background: var(--gold); color: white; padding: 6px 14px; border-radius: 4px; font-weight: 600; font-size: 0.85rem; }
.btn-pdf svg { width: 16px; height: 16px; fill: currentColor; }

.hero { background: linear-gradient(rgba(15,23,42,0.85), rgba(15,23,42,0.9)), url('https://images.unsplash.com/photo-1541888086425-d81bb19240f5?w=800&q=70') center/cover; padding: 60px 0 50px; text-align: center; color: white; border-bottom: 4px solid var(--gold); }
.hero h1 { color: white; font-size: 1.8rem; margin-bottom: 10px; line-height: 1.2; }
.hero p { font-size: 0.95rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }

.section { padding: 50px 0; }
.section-title { font-size: 1.5rem; text-align: center; margin-bottom: 30px; text-transform: uppercase; letter-spacing: 1px; }
.methodology-grid { display: grid; grid-template-columns: 1fr; gap: 15px; }
.step-card { background: white; padding: 20px; border-left: 4px solid var(--navy); box-shadow: 0 2px 4px rgba(0,0,0,0.05); border-radius: 4px; }
.step-number { font-size: 0.85rem; font-weight: 700; color: var(--gold); margin-bottom: 5px; text-transform: uppercase; }
.step-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: #475569; }

.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 20px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter-btn { flex-shrink: 0; border: 1px solid var(--navy); background: transparent; color: var(--navy); padding: 6px 16px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: 0.2s; }
.filter-btn.active { background: var(--navy); color: white; }

.grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.05); border: 1px solid #E2E8F0; }
.card-img { height: 200px; background-size: cover; background-position: center; position: relative; cursor: pointer; border-bottom: 2px solid var(--gold); }
.img-badge { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.7); color: white; padding: 4px 8px; font-size: 0.75rem; border-radius: 4px; font-weight: bold; }
.card-content { padding: 15px; }
.card-content h3 { font-size: 1.1rem; margin-bottom: 5px; }
.card-content p { font-size: 0.85rem; margin-bottom: 15px; color: #475569; }
.btn-link { width: 100%; text-align: center; background: #F1F5F9; color: var(--navy); padding: 12px; border-radius: 4px; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; border: 1px solid #CBD5E1; cursor: pointer; }

.contact-bar { background: var(--navy); padding: 40px 0; margin-top: 20px; }
.contact-title { color: white; text-align: center; font-size: 1.2rem; margin-bottom: 20px; }
.cta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cta-item { display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); padding: 15px 5px; border-radius: 8px; color: white; text-align: center; transition: background 0.3s; }
.cta-item svg { width: 28px; height: 28px; fill: currentColor; margin-bottom: 8px; }
.cta-item span { font-size: 0.75rem; font-weight: 600; }
.cta-item.wa { background: #25D366; }
.cta-item.wa:hover { background: #1EBE5D; }

.lightbox { position: fixed; inset: 0; background: #000; z-index: 9999; display: none; flex-direction: column; }
.lightbox.active { display: flex; }
.lb-header { display: flex; justify-content: space-between; padding: 15px; color: white; align-items: center; background: rgba(0,0,0,0.8); }
.lb-title { font-size: 1rem; font-weight: bold; }
.lb-close { background: transparent; border: 1px solid white; color: white; padding: 6px 12px; border-radius: 4px; font-size: 0.8rem; cursor: pointer; }
.lb-body { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; }
.lb-img { width: 100%; height: 100%; background-size: contain; background-repeat: no-repeat; background-position: center; }
.lb-controls { position: absolute; bottom: 20px; width: 100%; display: flex; justify-content: center; gap: 40px; }
.nav-btn { background: rgba(0,0,0,0.5); border: 1px solid white; color: white; width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; cursor: pointer; }

@media (min-width: 768px) {
  .hero { padding: 100px 0; }
  .hero h1 { font-size: 3rem; }
  .methodology-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .filters { justify-content: center; margin-bottom: 40px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
  .cta-grid { max-width: 600px; margin: 0 auto; gap: 20px; }
  .cta-item { padding: 20px; }
  .cta-item span { font-size: 0.9rem; }
}