/* ============================================================
   GRUPO VIGÍA — global.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── Variables ────────────────────────────────────────────── */
:root {
  --bg:          #0E0E0E;
  --card:        #1C1C1C;
  --border:      #2A2A2A;
  --accent:      #f2c206;
  --accent-h:    #d4a905;
  --white:       #FFFFFF;
  --muted:       #B5B5B5;

  --font-head:   'Oswald', sans-serif;
  --font-body:   'Inter', sans-serif;

  --header-h:    72px;
  --max-w:       1200px;
  --radius:      6px;
  --transition:  0.25s ease;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── Layout helpers ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Geometric background pattern ────────────────────────── */
.geo-bg {
  background-image:
    repeating-linear-gradient(60deg,  transparent, transparent 40px, rgba(242,194,6,.025) 40px, rgba(242,194,6,.025) 41px),
    repeating-linear-gradient(-60deg, transparent, transparent 40px, rgba(242,194,6,.025) 40px, rgba(242,194,6,.025) 41px);
}

/* ════════════════════════════════════════════════════════════
   LUCIDE ICONS
   ════════════════════════════════════════════════════════════ */
/* Lucide replaces <i data-lucide="name"> with <svg class="lucide …"> */
.lucide {
  display: inline-block;
  color: var(--accent);
  flex-shrink: 0;
}
/* Size helpers */
.icon-sm  .lucide, .icon-sm  { width: 1rem;    height: 1rem;    }
.icon-md  .lucide, .icon-md  { width: 1.5rem;  height: 1.5rem;  }
.icon-lg  .lucide, .icon-lg  { width: 2rem;    height: 2rem;    }
.icon-xl  .lucide, .icon-xl  { width: 2.5rem;  height: 2.5rem;  }
.icon-2xl .lucide, .icon-2xl { width: 3.5rem;  height: 3.5rem;  }

/* ════════════════════════════════════════════════════════════
   HEADER / NAV
   ════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(14,14,14,.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.site-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

/* Nav */
.site-nav ul {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.site-nav a {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .5rem .75rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
  background: rgba(242,194,6,.08);
}
.site-nav a.active {
  border-bottom: 2px solid var(--accent);
  border-radius: 0;
  background: transparent;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.hamburger:hover { background: rgba(242,194,6,.1); }
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════════════════════
   PAGE HERO (compartido — inner pages)
   ════════════════════════════════════════════════════════════ */
.page-hero {
  background:
    linear-gradient(135deg, rgba(242,194,6,.07) 0%, transparent 55%),
    var(--card);
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 35%;
  height: 3px;
  background: linear-gradient(to left, var(--accent), transparent);
}
.page-hero .section-label {
  display: inline-flex;
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: .75rem;
}
.page-hero h1 span { color: var(--accent); }
.page-hero > .container > p {
  color: var(--muted);
  font-size: .95rem;
  max-width: 560px;
}

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.site-footer {
  background: #080808;
  border-top: 2px solid var(--accent);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  margin-bottom: 2rem;
}
.footer-brand img {
  height: 52px;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: .82rem;
  color: var(--muted);
  margin-top: .4rem;
}
.footer-tagline {
  font-family: var(--font-head);
  font-size: .7rem;
  letter-spacing: .18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: .6rem;
}
.footer-contact h4 {
  font-family: var(--font-head);
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: .55rem;
}
.footer-contact ul li .lucide {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom p { font-size: .75rem; color: #555; }

/* ════════════════════════════════════════════════════════════
   BOTONES
   ════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .7rem 1.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: var(--accent-h); }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #000; }

/* ════════════════════════════════════════════════════════════
   SECTION HEADER
   ════════════════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
  position: relative;
  padding: 0 1.5rem;
}
.section-label::before,
.section-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.section-label::before { right: 100%; margin-right: -1.2rem; }
.section-label::after  { left:  100%; margin-left:  -1.2rem; }
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.15;
  color: var(--white);
}
.section-header h2 span { color: var(--accent); }
.section-header p {
  max-width: 620px;
  margin: .8rem auto 0;
  color: var(--muted);
  font-size: .95rem;
}

/* ════════════════════════════════════════════════════════════
   TARJETAS BASE
   ════════════════════════════════════════════════════════════ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: border-color var(--transition), transform var(--transition);
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); }
.card-icon { margin-bottom: 1rem; color: var(--accent); line-height: 1; }
.card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--white);
  margin-bottom: .5rem;
}
.card p { font-size: .88rem; color: var(--muted); line-height: 1.7; }

/* ════════════════════════════════════════════════════════════
   DIVIDER DORADO
   ════════════════════════════════════════════════════════════ */
.gold-line {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 1.25rem auto;
  border-radius: 2px;
}
.gold-line.left { margin: 1.25rem 0; }

/* ════════════════════════════════════════════════════════════
   CHECKLIST
   ════════════════════════════════════════════════════════════ */
.check-list { display: flex; flex-direction: column; gap: .75rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .93rem;
  color: var(--muted);
}
.check-list li::before {
  content: '◆';
  color: var(--accent);
  font-size: .7rem;
  flex-shrink: 0;
  margin-top: .3rem;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #111;
    border-bottom: 2px solid var(--accent);
    padding: 1rem 1.5rem 1.5rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s ease, opacity .3s ease;
    z-index: 999;
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .site-nav a { font-size: .85rem; padding: .65rem .5rem; display: block; width: 100%; }
  .site-logo img { height: 64px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-header { margin-bottom: 2rem; }
}
@media (max-width: 480px) {
  .btn { font-size: .78rem; padding: .65rem 1.25rem; }
  .section-label { letter-spacing: .15em; padding: 0 1.4rem; }
}
