/* ===== SANGERE COOPERATIVE - PUBLIC WEBSITE STYLES ===== */
:root {
  --primary:   #1a4f8a;
  --primary-dark: #123766;
  --accent:    #f5a623;
  --light-bg:  #f4f7fb;
  --text-dark: #1c2b3a;
  --text-muted:#6b7c93;
  --white:     #ffffff;
  --border:    #dde4ef;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(26,79,138,.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}

/* ── NAVBAR ── */
.site-nav {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(26,79,138,.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-nav .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--primary) !important;
  font-size: 1rem;
}
.site-nav .navbar-brand .logo-circle {
  width: 42px; height: 42px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: .85rem;
  flex-shrink: 0;
}
.site-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: .5rem 1rem !important;
  transition: color .2s;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active { color: var(--primary) !important; }
.btn-portal {
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 8px;
  padding: .45rem 1.2rem !important;
  font-weight: 600;
  transition: background .2s, transform .15s;
}
.btn-portal:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0d2d5e 60%, #1a6b8a 100%);
  color: var(--white);
  padding: 110px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.hero p.lead {
  font-size: 1.1rem;
  opacity: .85;
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero-cta .btn {
  padding: .75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all .2s;
}
.btn-hero-primary {
  background: var(--accent);
  color: var(--text-dark);
  border: none;
}
.btn-hero-primary:hover { background: #e09510; transform: translateY(-2px); }
.btn-hero-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
  margin-left: .75rem;
}
.btn-hero-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 2rem; font-weight: 800; color: var(--accent); }
.hero-stat .label { font-size: .8rem; opacity: .75; text-transform: uppercase; letter-spacing: 1px; }

/* ── SECTIONS ── */
section { padding: 80px 0; }
.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .5rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
}
.divider {
  width: 56px; height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: .75rem 0 1.5rem;
}

/* ── PRESIDENT WELCOME ── */
.president-section { background: var(--light-bg); }
.president-img-wrap {
  position: relative;
}
.president-img-wrap img {
  width: 100%;
  max-width: 380px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(26,79,138,.18);
  display: block;
  margin: 0 auto;
}
.president-img-wrap::before {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  width: 100%; height: 100%;
  border: 3px solid var(--accent);
  border-radius: 16px;
  z-index: 0;
}
.president-img-wrap img { position: relative; z-index: 1; }
.president-name { font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.president-title { color: var(--text-muted); font-size: .9rem; }
blockquote.welcome-text {
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.85;
  border-left: 4px solid var(--accent);
  padding-left: 1.2rem;
  margin: 1.5rem 0;
  font-style: italic;
}

/* ── FEATURE CARDS ── */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: box-shadow .25s, transform .25s;
  height: 100%;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary), #1a6b8a);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  color: var(--white);
  font-size: 1.6rem;
}
.feature-card h5 { font-weight: 700; margin-bottom: .5rem; color: var(--text-dark); }
.feature-card p { color: var(--text-muted); font-size: .95rem; }

/* ── DOWNLOADS TEASER ── */
.downloads-section { background: var(--white); }
.doc-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow .2s, border-color .2s;
  text-decoration: none !important;
  color: var(--text-dark);
}
.doc-card:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.doc-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--light-bg);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.4rem;
}
.doc-card .doc-title { font-weight: 600; font-size: .95rem; }
.doc-card .doc-meta { font-size: .8rem; color: var(--text-muted); }

/* ── CALL TO ACTION ── */
.cta-section {
  background: linear-gradient(135deg, var(--primary), #0d2d5e);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}
.cta-section h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 1rem; }
.cta-section p { opacity: .8; font-size: 1.1rem; margin-bottom: 2rem; }
.btn-cta {
  background: var(--accent);
  color: var(--text-dark);
  font-weight: 700;
  padding: .85rem 2.5rem;
  border-radius: 8px;
  font-size: 1.05rem;
  text-decoration: none;
  display: inline-block;
  transition: all .2s;
}
.btn-cta:hover { background: #e09510; transform: translateY(-2px); color: var(--text-dark); }

/* ── FOOTER ── */
.site-footer {
  background: #0d1f35;
  color: rgba(255,255,255,.75);
  padding: 60px 0 0;
}
.site-footer h6 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.2rem;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.site-footer a { color: rgba(255,255,255,.6); text-decoration: none; display: block; margin-bottom: .5rem; font-size: .9rem; }
.site-footer a:hover { color: var(--accent); }
.footer-brand { font-size: 1.1rem; font-weight: 800; color: var(--white); margin-bottom: .75rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.2rem 0;
  margin-top: 3rem;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0d2d5e 100%);
  color: var(--white);
  padding: 80px 0 60px;
}
.page-hero h1 { font-size: 2.4rem; font-weight: 800; }
.page-hero p { opacity: .8; font-size: 1.05rem; }
.breadcrumb-item { color: rgba(255,255,255,.6); font-size: .9rem; }
.breadcrumb-item.active { color: var(--accent); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 16px; height: 16px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-year {
  font-size: .78rem; font-weight: 700; letter-spacing: 1px;
  color: var(--primary); text-transform: uppercase; margin-bottom: .25rem;
}
.timeline-item h5 { font-weight: 700; margin-bottom: .35rem; }
.timeline-item p { color: var(--text-muted); font-size: .95rem; }

/* ── EXCO CARDS ── */
.exco-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow .25s, transform .25s;
}
.exco-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.exco-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  border: 3px solid var(--border);
}
.exco-avatar-placeholder {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #1a6b8a);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
}
.exco-name { font-weight: 700; font-size: 1.05rem; margin-bottom: .2rem; }
.exco-pos { color: var(--primary); font-size: .88rem; font-weight: 600; }

/* ── CONTACT ── */
.contact-info-card {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-info-item {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-item .ci-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.1rem;
}
.contact-info-item .ci-label { font-size: .8rem; color: var(--text-muted); }
.contact-info-item .ci-value { font-weight: 600; color: var(--text-dark); }

/* ── FORMS ── */
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .65rem 1rem;
  font-size: .95rem;
  transition: border-color .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,79,138,.12);
}
.btn-primary-site {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: .7rem 1.8rem;
  font-weight: 600;
  transition: background .2s, transform .15s;
}
.btn-primary-site:hover { background: var(--primary-dark); transform: translateY(-1px); color: var(--white); }

/* ── DOWNLOADS PAGE ── */
.category-badge {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .5px;
  padding: .25rem .7rem;
  border-radius: 50px;
}
.badge-financial { background: #dbeafe; color: #1e40af; }
.badge-circular  { background: #dcfce7; color: #166534; }
.badge-newsletter{ background: #fef9c3; color: #854d0e; }
.badge-minutes   { background: #fce7f3; color: #9d174d; }
.badge-other     { background: #f3f4f6; color: #374151; }

/* ── ADMIN ── */
.admin-wrap {
  max-width: 960px;
  margin: 3rem auto;
  padding: 0 1rem;
}
.admin-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}
.admin-header {
  background: linear-gradient(135deg, var(--primary), #0d2d5e);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* ── UTILITIES ── */
.text-primary-site { color: var(--primary) !important; }
.bg-light-site { background: var(--light-bg) !important; }
.rounded-site { border-radius: var(--radius) !important; }

@media (max-width: 768px) {
  .hero { padding: 80px 0 60px; }
  .hero h1 { font-size: 1.8rem; }
  .btn-hero-outline { margin-left: 0; margin-top: .5rem; }
  .hero-cta { display: flex; flex-direction: column; gap: .5rem; }
  section { padding: 60px 0; }
}
