/* ============================================================
   ASDI – Hoja de estilos compartida
   Paleta: gris metálico (dominante) + verde lima #B9E704 (acento)
   ============================================================ */
:root {
  --steel-950: #0F1214;
  --steel-900: #1A1E22;
  --steel-800: #252B31;
  --steel-700: #333C45;
  --steel-600: #4A5560;
  --steel-400: #7E8D9A;
  --steel-200: #C5CDD5;
  --steel-100: #E4E8EC;
  --steel-50:  #F2F4F6;

  --lime:       #B9E704;
  --lime-dark:  #94B903;
  --lime-soft:  #F0FAC2;

  --white: #FFFFFF;
  --ink:   #1A1E22;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow:    0 8px 28px -10px rgba(15,18,20,0.22);
  --shadow-lg: 0 20px 48px -14px rgba(15,18,20,0.34);

  --nav-h: 64px;
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--steel-50);
  color: var(--ink);
  line-height: 1.6;
}
h1, h2, h3, h4 {
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--steel-900);
  margin: 0;
  line-height: 1.15;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--steel-950);
  color: var(--steel-400);
  font-size: 12.5px;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 24px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-left { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar a:hover { color: var(--lime); }
.topbar .fb-link { display: inline-flex; align-items: center; gap: 6px; }
.topbar .fb-link:hover { color: #1877F2; }
.topbar .fb-link:hover .fb-icon { fill: #1877F2; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
header.site {
  background: var(--steel-900);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--steel-700);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 16px;
}

/* Logo / marca */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo-img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .logo {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--white);
}
.brand-text .sub {
  font-size: 10.5px;
  color: var(--steel-400);
  letter-spacing: 0.2px;
}

/* Nav links */
nav.main-nav { display: flex; align-items: center; gap: 6px; }
nav.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--steel-200);
  padding: 7px 13px;
  border-radius: 8px;
  transition: color .18s, background .18s;
}
nav.main-nav a:hover,
nav.main-nav a.active { color: var(--lime); background: none; }
nav.main-nav a.nav-outline {
  border: 1.5px solid var(--steel-600);
  color: var(--steel-200);
  padding: 7px 15px;
  border-radius: 999px;
  margin-left: 6px;
  font-size: 13px;
}
nav.main-nav a.nav-outline:hover { border-color: var(--lime); color: var(--lime); background: none; }

/* ============================================================
   PAGE HERO (breadcrumb style for inner pages)
   ============================================================ */
.page-hero {
  background: var(--steel-900);
  padding: 44px 0 40px;
  border-bottom: 3px solid var(--lime);
}
.page-hero .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 10px;
}
.page-hero h1 {
  font-size: clamp(26px, 3.6vw, 38px);
  color: var(--white);
  max-width: 680px;
}
.page-hero p.lead {
  color: var(--steel-400);
  font-size: 16px;
  margin: 10px 0 0;
  max-width: 560px;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--steel-400);
  margin-top: 18px;
}
.breadcrumb a { color: var(--lime); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span::before { content: '/'; margin-right: 8px; }

/* ============================================================
   VALORES (shared strip)
   ============================================================ */
.valores-strip {
  background: var(--white);
  border-top: 1px solid var(--steel-100);
  border-bottom: 1px solid var(--steel-100);
  padding: 36px 0;
}
.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.valor { display: flex; gap: 14px; align-items: flex-start; }
.valor .ic {
  width: 40px; height: 40px;
  background: var(--lime-soft);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.valor h4 { font-size: 15px; color: var(--steel-900); margin: 0 0 3px; }
.valor p { margin: 0; font-size: 13px; color: var(--steel-600); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--steel-950);
  color: var(--steel-400);
  padding: 52px 0 0;
  font-size: 13.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 36px;
}
footer h5 {
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer-brand .logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 12px;
}
.footer-brand p { color: var(--steel-400); margin: 0 0 16px; max-width: 270px; font-size: 13px; }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
footer a:hover { color: var(--lime); }
.footer-fb {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--steel-700);
  padding: 7px 14px; border-radius: 999px; font-size: 12.5px;
  transition: border-color .18s, color .18s;
}
.footer-fb:hover { border-color: #1877F2; color: #1877F2; }
.footer-fb:hover .fb-icon { fill: #1877F2; }
.footer-bottom {
  border-top: 1px solid var(--steel-800);
  padding: 16px 0 20px;
  font-size: 12px;
  color: var(--steel-600);
  text-align: center;
}
.footer-bottom a { color: var(--steel-400); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-lime {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  color: var(--steel-950);
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: 999px;
  transition: background .18s, transform .15s;
  border: none;
  cursor: pointer;
}
.btn-lime:hover { background: var(--lime-dark); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--lime);
  font-weight: 700;
  font-size: 14.5px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--lime);
  transition: background .18s;
  cursor: pointer;
}
.btn-outline:hover { background: rgba(185,231,4,0.1); }

/* ============================================================
   CARD BASE
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--lime); }

/* ============================================================
   SECTION TITLES
   ============================================================ */
.sec-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--lime-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.sec-label::before {
  content: '';
  display: inline-block;
  width: 18px; height: 3px;
  background: var(--lime);
  border-radius: 2px;
}
.sec-title {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--steel-900);
  margin-bottom: 6px;
}
.sec-sub {
  font-size: 15px;
  color: var(--steel-600);
  max-width: 560px;
}

/* ============================================================
   PILL / TAG
   ============================================================ */
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--lime-soft);
  color: #4A5000;
  font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .valores-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  nav.main-nav { flex-wrap: wrap; gap: 4px; }
  nav.main-nav a.nav-outline { margin-left: 0; }
  .brand-text .sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn-lime, .btn-outline { transition: none; }
}
