/* ===========================================================
   NOVIS LEX ABOGADOS — Estilos globales
   Paleta: #1a1a1a (negro), #fff (blanco), #9a7b3f (dorado), #f7f5f0 (crema)
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
  --negro: #1a1a1a;
  --blanco: #ffffff;
  --dorado: #9a7b3f;
  --dorado-claro: #b8975a;
  --crema: #f7f5f0;
  --gris-tenue: #e8e4dc;
  --gris-texto: #5a5a5a;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nav-h: 72px;
  --max: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--negro);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--dorado); color: var(--blanco); }

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

button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--negro);
  border-bottom: 1px solid rgba(154,123,63,.25);
  z-index: 100;
  display: flex;
  align-items: center;
}
.nav-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .18em;
  color: var(--blanco);
  text-transform: uppercase;
}
.nav-brand .dot { color: var(--dorado); margin: 0 .4em; }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blanco);
  padding: 6px 0;
  position: relative;
  transition: color .25s var(--ease);
}
.nav-links a:hover { color: var(--dorado-claro); }
.nav-links a.active { color: var(--dorado); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--dorado);
}

/* ---- UTILIDADES ---- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--dorado);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--dorado); }

.h-rule { width: 60px; height: 1px; background: var(--dorado); margin: 22px 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 36px;
  background: var(--dorado);
  color: var(--blanco);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  border: 1px solid var(--dorado);
  transition: all .3s var(--ease);
  cursor: pointer;
}
.btn:hover { background: transparent; color: var(--dorado); }
.btn .arrow {
  width: 14px; height: 1px; background: currentColor;
  position: relative; transition: width .3s var(--ease);
}
.btn .arrow::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 6px; height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn:hover .arrow { width: 22px; }

/* ---- FOOTER ---- */
footer {
  background: var(--negro);
  color: rgba(255,255,255,.5);
  border-top: 1px solid rgba(154,123,63,.25);
  padding: 28px 40px;
  font-size: 11px;
  letter-spacing: .14em;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links { display: flex; gap: 28px; list-style: none; text-transform: uppercase; }
.footer-links a:hover { color: var(--dorado); }
.footer-copy { text-transform: uppercase; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  footer { padding: 20px; }
  .footer-inner { justify-content: center; text-align: center; }
}
