/* ─────────────────────────────────────────────
   shared.css — Estilos comunes para Bills Admin
   ───────────────────────────────────────────── */
:root {
  --gold: #B8860B;
  --gold-light: #D4A017;
  --gold-bright: #F0C040;
  --gold-dark: #8B6914;
  --gold-glow: rgba(184,134,11,0.10);
  --gold-border: rgba(184,134,11,0.20);
  --black: #0A0A0A;
  --dark-text: #1A1A2E;
  --mid-text: #4A4A6A;
  --light-text: #888899;
  --vcode-blue: #5BB8E8;
  --vcode-dark: #1E3A4A;
  --white: #FFFFFF;
  --off-white: #FAFAF8;
  --light-bg: #F5F2EC;
  --border: rgba(184,134,11,0.15);
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--dark-text); font-family: 'DM Sans', sans-serif; overflow-x: hidden; }

/* ─── NAV ─── */
nav {
  position: fixed; top:0; left:0; right:0; z-index:999;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 5%;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); transition: padding 0.3s, box-shadow 0.3s;
}
nav.scrolled { padding: 0.6rem 5%; box-shadow: 0 4px 30px rgba(184,134,11,0.08); }
.nav-logo img { height: 44px; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--mid-text); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.04em; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta { background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)) !important; color: white !important; padding: 0.55rem 1.4rem; border-radius: 6px; font-weight: 600 !important; box-shadow: 0 4px 14px rgba(184,134,11,0.3); transition: transform 0.2s, box-shadow 0.2s !important; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(184,134,11,0.4) !important; color: white !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gold); transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.mobile-menu { display: none; position: fixed; inset: 0; top: 70px; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); z-index: 998; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem; border-top: 1px solid var(--border); }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.3rem; color: var(--dark-text); text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.2s; }
.mobile-menu a:hover { color: var(--gold); }

/* ─── PAGE HERO (interno) ─── */
.page-hero {
  padding: 10rem 5% 5rem;
  background: var(--off-white);
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 80%, rgba(184,134,11,0.06) 0%, transparent 70%);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-badge { display: inline-block; background: rgba(184,134,11,0.08); border: 1px solid rgba(184,134,11,0.2); color: var(--gold); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.35rem 1rem; border-radius: 100px; margin-bottom: 1.5rem; }
.page-title { font-family: 'Playfair Display', serif; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; line-height: 1.1; margin-bottom: 1.2rem; color: var(--dark-text); }
.page-title span { background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-sub { color: var(--mid-text); font-size: 1.1rem; max-width: 560px; margin: 0 auto; line-height: 1.75; }

/* ─── SECTION COMMONS ─── */
.section-label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; font-weight: 600; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; margin-bottom: 1.2rem; color: var(--dark-text); }
.section-desc { color: var(--mid-text); font-size: 1.05rem; line-height: 1.75; max-width: 520px; }
.gold-text { background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.divider { width: 90%; height: 1px; margin: 0 auto; background: linear-gradient(to right, transparent, var(--border), transparent); }
.container { max-width: 1200px; margin: 0 auto; }
section { padding: 6rem 5%; }

/* ─── CARDS ─── */
.card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 2rem; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(184,134,11,0.1); border-color: rgba(184,134,11,0.3); }
.card-icon { width: 52px; height: 52px; background: var(--light-bg); border: 1px solid var(--border); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.2rem; }
.card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--dark-text); }
.card p { font-size: 0.9rem; color: var(--mid-text); line-height: 1.65; }

/* ─── BUTTONS ─── */
.btn-primary { background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); color: white; padding: 0.9rem 2.2rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem; text-decoration: none; display: inline-block; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 6px 24px rgba(184,134,11,0.3); border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(184,134,11,0.4); }
.btn-ghost { border: 1.5px solid var(--gold-border); color: var(--gold); padding: 0.9rem 2.2rem; border-radius: 8px; font-weight: 500; font-size: 0.95rem; text-decoration: none; display: inline-block; transition: background 0.2s, border-color 0.2s; background: transparent; cursor: pointer; font-family: 'DM Sans', sans-serif; }
.btn-ghost:hover { background: rgba(184,134,11,0.07); border-color: var(--gold); }

/* ─── FOOTER ─── */
footer { background: var(--dark-text); padding: 3rem 5%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-logo img { height: 36px; filter: brightness(10); }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { text-decoration: none; font-size: 0.82rem; color: rgba(255,255,255,0.4); transition: color 0.3s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.25); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.4; transform:scale(0.7); } }
.reveal { opacity:0; transform:translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:0.1s; }
.reveal-delay-2 { transition-delay:0.2s; }
.reveal-delay-3 { transition-delay:0.3s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 600px) {
  footer { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 1rem; }
}
