/* ─────────────────────────────────────────────
   ArgenSalud — Shared Design System
   Loaded by every page: index, about, blog/*
───────────────────────────────────────────── */

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

/* ── DESIGN TOKENS ── */
:root {
  --teal:      #3a7a85;
  --teal-h:    #2f6672;
  --teal-d:    #265560;
  --teal-bg:   #eaf3f4;
  --teal10:    rgba(58,122,133,0.1);
  --teal20:    rgba(58,122,133,0.2);
  --dark:      #1f3a42;
  --dark2:     #17303a;
  --bg:        #f1f5f8;
  --bg-hero:   #f4f7fa;
  --surface:   #ffffff;
  --border:    #dce3ed;
  --border-s:  #e7ebf2;
  --text:      #1f2937;
  --body:      #4e5d73;
  --muted:     #8893a5;
  --light:     #f6f8fb;
  --warn-bg:   #fefce8;
  --warn-bd:   #fde68a;
  --warn-lb:   #f59e0b;
  --warn-tx:   #92400e;
  --shadow-sm: 0 1px 2px rgba(31,58,66,0.04), 0 1px 3px rgba(31,58,66,0.03);
  --shadow-md: 0 4px 12px rgba(31,58,66,0.06), 0 2px 4px rgba(31,58,66,0.04);
  --shadow-lg: 0 20px 50px rgba(31,58,66,0.12);
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

/* Material Symbols helper */
.micon {
  font-family: 'Material Symbols Outlined';
  font-size: 22px;
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

/* ── NAV ── */
nav {
  background: white;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-s);
}

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 32px; width: auto; }
.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.nav-links { display: flex; gap: 0; list-style: none; align-items: center; }
.nav-links a {
  color: var(--teal);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0 1.05rem;
  line-height: 68px;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--teal-h); }

.nav-cta {
  background: var(--teal);
  color: white !important;
  padding: 9px 18px !important;
  line-height: 1 !important;
  border-radius: 999px;
  font-weight: 600 !important;
  font-size: 0.78rem !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--teal-h); color: white !important; }
.nav-cta .micon { font-size: 16px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  nav { padding: 0 1.25rem; }
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.55);
  padding: 3rem 3rem 1.5rem;
}

.foot-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 780px) { .foot-inner { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .foot-inner { grid-template-columns: 1fr; } }

.foot-brand img { height: 28px; width: auto; margin-bottom: 1rem; }
.foot-brand p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  font-weight: 300;
  max-width: 320px;
}

.foot-col h6 {
  font-size: 0.72rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.foot-col a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.15s;
}
.foot-col a:hover { color: white; }

.foot-bottom {
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.4);
}
.foot-bottom .v { display: inline-flex; align-items: center; gap: 6px; }
.foot-bottom .v::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ec8c5;
}

/* ── BREADCRUMB (shared utility) ── */
.breadcrumb {
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.15s; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb .sep { opacity: 0.4; }
