/* Tema base profesional para Explora Guanajuato */
:root {
  --bg: #0f172a;           /* slate-900 */
  --surface: #111827;      /* gray-900 */
  --text: #e5e7eb;         /* gray-200 */
  --muted: #9ca3af;        /* gray-400 */
  --primary: #22d3ee;      /* cyan-400 */
  --primary-700: #0891b2;  /* cyan-700 */
  --accent: #f59e0b;       /* amber-500 */
  --success: #10b981;      /* emerald-500 */
  --danger: #ef4444;       /* red-500 */
  --shadow: rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; }
body {
  background: linear-gradient(180deg, var(--bg), var(--surface));
  color: var(--text);
  font-family: 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

/* Layout */
.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}
.section { padding: 48px 0; }

/* Header profesional con sticky y blur */
header {
  position: sticky;
  top: 0; z-index: 50;
  backdrop-filter: saturate(1.2) blur(8px);
  background: rgba(17,24,39,0.65);
  box-shadow: 0 6px 24px var(--shadow);
}
header .container { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
header h1, header .brand { font-family: 'Montserrat', sans-serif; font-weight: 700; letter-spacing: .5px; }

nav ul { display: flex; gap: 18px; flex-wrap: wrap; }
nav a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 12px; border-radius: 8px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
nav a:hover { background: rgba(34,211,238,0.15); color: #fff; transform: translateY(-1px); }

/* Hero */
.hero { text-align: center; }
.hero h1 { font-family: 'Montserrat', sans-serif; font-size: clamp(28px, 4vw, 42px); margin-bottom: 8px; }
.hero p { color: var(--muted); font-size: clamp(16px, 2.2vw, 18px); }
.hero .cta { margin-top: 18px; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.btn-primary { background: var(--primary); color: #0b1220; font-weight: 700; }
.btn-primary:hover { background: var(--primary-700); color: #e8f9fb; }
.btn-outline { border: 1px solid rgba(229,231,235,0.25); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: #fff; }

/* Cards y grids */
.grid { display: grid; gap: 22px; }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.card {
  background: rgba(17,24,39,0.6);
  border: 1px solid rgba(229,231,235,0.08);
  border-radius: 14px;
  box-shadow: 0 12px 30px var(--shadow);
  overflow: hidden;
}
.card img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card .content { padding: 16px; }
.card .title { font-family: 'Montserrat', sans-serif; font-size: 18px; margin-bottom: 6px; }
.card .desc { color: var(--muted); font-size: 14px; }

/* Galería */
.gallery-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.gallery-grid img { border-radius: 12px; box-shadow: 0 8px 20px var(--shadow); }

/* Footer */
footer { margin-top: 36px; padding: 24px 0; color: var(--muted); border-top: 1px solid rgba(229,231,235,0.08); }
footer a { color: var(--primary); }

/* Animación en scroll controlada */
.animate-on-scroll { opacity: 0; transform: translateY(12px); will-change: transform, opacity; }
.animate-on-scroll.animate-in { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }

/* Utilidades */
.muted { color: var(--muted); }
.spacer-sm { height: 8px; }
.spacer-md { height: 16px; }
.spacer-lg { height: 24px; }

@media (max-width: 640px) {
  header .container { padding: 10px 0; }
  nav ul { gap: 12px; }
}

