/* ─────────────────────────────────────────────────────────────
   base.css — Estilos compartidos · blog.itsquery.com
   ───────────────────────────────────────────────────────────── */

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

/* ── Variables ── */
:root {
  --primary:   #007AFF;
  --secondary: #00CEA6;
  --accent:    #06D9FA;
  --dark:      #1F2124;
  --light:     #F9F9F9;
  --text:      #0B0B0B;
  --gray-100:  #F3F4F6;
  --gray-200:  #E5E7EB;
  --gray-500:  #6B7280;
  --radius:    10px;
  --shadow:    0 2px 12px rgba(0,0,0,0.07);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--light);
  color: var(--text);
  font-size: 17px;
  line-height: 1.75;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ── */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-logo span {
  color: var(--secondary);
}

.site-tagline {
  font-size: 0.82rem;
  color: var(--gray-500);
}

.header-nav {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
}

.header-nav a {
  color: var(--text);
  font-weight: 500;
  transition: color 0.15s;
}

.header-nav a:hover {
  color: var(--primary);
  text-decoration: none;
}

/* ── Breadcrumb ── */
.breadcrumb {
  max-width: 860px;
  margin: 18px auto 0;
  padding: 0 24px;
  font-size: 0.82rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { opacity: 0.5; }

/* ── Footer ── */
.site-footer {
  background-color: var(--dark);
  color: #ffffff;
  text-align: center;
  padding: 40px 24px;
  font-size: 0.88rem;
  margin-top: 80px;
}

.site-footer a {
  color: var(--accent);
}

.site-footer a:hover { text-decoration: underline; }

.footer-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-copy {
  margin-top: 20px;
  opacity: 0.5;
  font-size: 0.78rem;
}


/* ── Logo imagen ── */
.site-logo-img {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo {
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.logo-fallback {
  display: none;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .header-nav { display: none; }
  .site-tagline { display: none; }
}
