/* N&M Consulting — style.css
   Paleta: negro/carbón + dorado (#c8a96e)
   Tipografía: serif para títulos, sans para cuerpo */

:root {
  --bg: #0b0b0c;
  --bg-alt: #131315;
  --gold: #c8a96e;
  --gold-soft: rgba(200,169,110,0.35);
  --text: #f2efe9;
  --text-muted: #a9a49b;
  --border: rgba(255,255,255,0.08);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, Segoe UI, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: 0.01em; }

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

img { max-width: 100%; display: block; }

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

/* Navegación */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px;
  background: rgba(11,11,12,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-family: var(--serif); font-size: 22px; color: var(--gold); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--text-muted); transition: color .2s; }
.nav-links a:hover { color: var(--gold); }
.nav-lang { border: 1px solid var(--border); padding: 6px 12px; border-radius: 2px; font-size: 12px; }
.nav-cta { background: transparent; color: var(--text); border: 1px solid var(--gold-soft); border-radius: 2px; padding: 9px 22px; font-size: 13px; cursor: pointer; }
.nav-cta:hover { background: var(--gold); color: #0b0b0c; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; background: var(--bg);
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0.35; filter: grayscale(0.3);
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,12,0.6), rgba(11,11,12,0.95)); }
#gold-lines { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 640px; padding: 0 40px; }
.hero-content h1 { font-size: 52px; line-height: 1.15; margin-bottom: 20px; }
.hero-content p { color: var(--text-muted); font-size: 17px; margin-bottom: 32px; max-width: 480px; }
.btn-primary {
  display: inline-block; background: var(--gold); color: #0b0b0c; padding: 14px 32px;
  font-size: 14px; border-radius: 2px; transition: transform .2s;
}
.btn-primary:hover { transform: translateY(-2px); }

/* Secciones generales */
.section { padding: 96px 0; border-top: 1px solid var(--border); }
.section-label { color: var(--gold); font-size: 13px; margin-bottom: 12px; }
.section h2 { font-size: 34px; margin-bottom: 20px; max-width: 560px; }
.section p.lead { color: var(--text-muted); max-width: 620px; margin-bottom: 48px; }

/* Grid de servicios */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card { background: var(--bg-alt); border: 1px solid var(--border); padding: 32px; border-radius: 4px; }
.card h3 { font-size: 20px; margin-bottom: 12px; color: var(--gold); }
.card p { color: var(--text-muted); font-size: 15px; }

/* Proyectos destacados */
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project-card { position: relative; height: 320px; border-radius: 4px; overflow: hidden; background: var(--bg-alt); }
.project-card img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.project-card .label { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent); }
.project-card .label h3 { color: var(--text); font-size: 22px; }
.project-card .label span { color: var(--gold); font-size: 13px; }

/* Beneficios */
.benefits-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 48px; }
.benefit-item { display: flex; gap: 16px; align-items: flex-start; }
.benefit-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-top: 8px; flex-shrink: 0; }
.benefit-item p { color: var(--text-muted); font-size: 15px; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.form-field input, .form-field textarea {
  width: 100%; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 2px;
  padding: 12px 14px; color: var(--text); font-family: var(--sans); font-size: 14px;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.contact-info p { color: var(--text-muted); margin-bottom: 16px; }
.contact-info strong { color: var(--gold); display: block; font-size: 13px; margin-bottom: 4px; }

/* Footer */
.footer { padding: 40px 0; border-top: 1px solid var(--border); text-align: center; color: var(--text-muted); font-size: 13px; }

/* WhatsApp flotante */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  animation: pulse 2.5s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Responsive */
@media (max-width: 860px) {
  .grid-3, .projects-grid, .benefits-list, .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-content h1 { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  #gold-lines { display: none; }
  .whatsapp-float { animation: none; }
}
