/* ========================================
   HISPANIC CLUB MINISTRIES
   ESTILO GENERAL DEL SITIO
======================================== */

:root {
  --hcm-navy: #07375a;
  --hcm-blue: #0e557f;
  --hcm-gold: #f3ad25;
  --hcm-cream: #f7f5ef;
  --hcm-text: #183047;
  --hcm-muted: #66798a;
  --hcm-line: #e3e8ec;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--hcm-text);
  background: #fff;
}

h1,
h2,
h3,
h4,
strong,
nav a {
  font-family: "Montserrat", Arial, sans-serif;
}

/* CABECERA */

.site-header,
.home-header,
.topbar {
  background: rgba(255,255,255,.98) !important;
  border-bottom: 1px solid var(--hcm-line) !important;
  box-shadow: 0 2px 15px rgba(7,55,90,.07) !important;
  position: sticky !important;
  top: 0;
  z-index: 100;
}

.nav-wrap,
.home-nav {
  width: min(1420px, calc(100% - 60px)) !important;
  min-height: 96px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 35px !important;
}

/* LOGO */

.brand,
.home-brand {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  color: var(--hcm-text) !important;
  text-decoration: none !important;
  flex-shrink: 0;
}

.brand img,
.home-brand img,
.brand-logo {
  width: 64px !important;
  height: 64px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.1);
}

.brand strong,
.home-brand strong {
  display: block !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.15;
}

.brand span,
.home-brand span {
  display: block !important;
  color: var(--hcm-muted) !important;
  font-size: 13px !important;
  margin-top: 4px !important;
}

/* MENÚ */

.site-header nav,
.home-menu,
.topbar nav {
  display: flex !important;
  align-items: center !important;
  gap: 23px !important;
  flex-wrap: nowrap !important;
  white-space: nowrap;
}

.site-header nav a,
.home-menu a,
.topbar nav a {
  color: #203448 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 12px 0;
  position: relative;
  transition: color .2s ease;
}

.site-header nav a:hover,
.home-menu a:hover,
.topbar nav a:hover {
  color: var(--hcm-blue) !important;
}

.site-header nav a.active::after,
.home-menu a.active::after,
.topbar nav a.active::after {
  content: "";
  position: absolute;
  height: 3px;
  border-radius: 3px;
  left: 0;
  right: 0;
  bottom: 4px;
  background: var(--hcm-gold);
}

/* ANCHO GENERAL */

.wrap,
.container,
.home-wrap {
  width: min(1380px, calc(100% - 70px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* TÍTULOS */

.eyebrow {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
}

.section h2,
.section-title h2 {
  color: var(--hcm-navy) !important;
  font-weight: 800 !important;
  letter-spacing: -1px !important;
}

/* TARJETAS */

.resource-card,
.link-card,
.document-card,
.event-card,
.event-home-card,
.ministry-card,
.ministry-home-card,
.quick-card,
.info-card {
  transition: transform .2s ease, box-shadow .2s ease;
}

.resource-card:hover,
.link-card:hover,
.document-card:hover,
.event-card:hover,
.event-home-card:hover,
.ministry-card:hover,
.ministry-home-card:hover,
.quick-card:hover {
  transform: translateY(-4px);
}

/* FOOTER */

footer,
.home-footer {
  background: linear-gradient(135deg,#061f34,#0a456b) !important;
  color: white !important;
}

footer strong,
.home-footer strong {
  color: white !important;
}

footer p,
.home-footer p {
  color: rgba(255,255,255,.68) !important;
}

/* TABLET */

@media (max-width: 1180px) {
  .site-header nav,
  .home-menu,
  .topbar nav {
    gap: 14px !important;
  }

  .site-header nav a,
  .home-menu a,
  .topbar nav a {
    font-size: 12px !important;
  }
}

/* MÓVIL */

@media (max-width: 900px) {
  .nav-wrap,
  .home-nav {
    width: calc(100% - 30px) !important;
    padding: 14px 0 !important;
    min-height: auto !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .site-header nav,
  .home-menu,
  .topbar nav {
    width: 100%;
    gap: 12px 18px !important;
    flex-wrap: wrap !important;
    white-space: normal;
  }

  .wrap,
  .container,
  .home-wrap {
    width: calc(100% - 30px) !important;
  }
}

.internal-note {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #eef5f8;
  color: #07375a;
  font-weight: 700;
  font-size: 14px;
}

.document-language {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.language-badge {
  display: inline-block;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eef5f8;
  color: #07375a;
  font-size: 11px;
  font-weight: 800;
}
