/* ==========================================================================
   FAIPA - FEDERACIÓN ARGENTINA DE LA INDUSTRIA DEL PAN Y AFINES
   Unified Design System & Stylesheet
   Core Palette:
     - Primary Green: #213e24
     - Warm Cream:    #f5f1ea
     - Accent Gold:   #ce9012
   ========================================================================== */

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

:root {
  /* ------------------------------------------------------------------------
     1. Unified Core Palette Tokens
     ------------------------------------------------------------------------ */
  --faipa-green: #213e24;
  --faipa-green-dark: #172c1a;
  --faipa-green-light: #2e5732;
  --faipa-green-header: #213e24;
  --faipa-green-accent: #2b4f2f;

  --faipa-cream: #f5f1ea;
  --faipa-bg-cream: #f5f1ea;
  --faipa-cream-light: #fbf9f6;
  --faipa-cream-dark: #ebe4d8;

  --faipa-gold: #ce9012;
  --faipa-gold-hover: #b37c0e;
  --faipa-gold-light: #e0a326;
  --faipa-gold-subtle: rgba(206, 144, 18, 0.15);

  /* Secondary Accents & Functional Colors */
  --faipa-blue-cta: #3a8cc7;
  --faipa-blue-dark: #215c8c;
  --faipa-bg-card: #ffffff;
  --faipa-text-dark: #1f2421;
  --faipa-text-muted: #5c635e;
  --faipa-border-radius: 16px;
  --faipa-shadow-sm: 0 4px 12px rgba(33, 62, 36, 0.08);
  --faipa-shadow-md: 0 8px 24px rgba(33, 62, 36, 0.12);
  --faipa-shadow-lg: 0 16px 36px rgba(33, 62, 36, 0.16);

  /* Unified Admin Dashboard Variables */
  --admin-primary: #213e24;
  --admin-header: #213e24;
  --admin-sidebar: #172c1a;
  --admin-gold: #ce9012;
  --admin-gold-hover: #b37c0e;
  --admin-bg: #f5f1ea;
  --admin-card-bg: #ffffff;
  --admin-text: #1f2421;
}

/* --------------------------------------------------------------------------
   2. Bootstrap & Global Utility Harmonization
   -------------------------------------------------------------------------- */
.text-success {
  color: var(--faipa-green) !important;
}

.bg-success {
  background-color: var(--faipa-green) !important;
  color: #ffffff !important;
}

.border-success {
  border-color: var(--faipa-green) !important;
}

.btn-success {
  background-color: var(--faipa-green) !important;
  border-color: var(--faipa-green) !important;
  color: #ffffff !important;
}

.btn-success:hover,
.btn-success:focus {
  background-color: var(--faipa-green-light) !important;
  border-color: var(--faipa-green-light) !important;
  color: #ffffff !important;
}

.btn-outline-success {
  color: var(--faipa-green) !important;
  border-color: var(--faipa-green) !important;
}

.btn-outline-success:hover {
  background-color: var(--faipa-green) !important;
  color: #ffffff !important;
}

.text-warning {
  color: var(--faipa-gold) !important;
}

.bg-warning {
  background-color: var(--faipa-gold) !important;
  color: #ffffff !important;
}

.border-warning {
  border-color: var(--faipa-gold) !important;
}

.btn-warning {
  background-color: var(--faipa-gold) !important;
  border-color: var(--faipa-gold) !important;
  color: #ffffff !important;
}

.btn-warning:hover,
.btn-warning:focus {
  background-color: var(--faipa-gold-hover) !important;
  border-color: var(--faipa-gold-hover) !important;
  color: #ffffff !important;
}

.btn-outline-warning {
  color: var(--faipa-gold) !important;
  border-color: var(--faipa-gold) !important;
}

.btn-outline-warning:hover {
  background-color: var(--faipa-gold) !important;
  color: #ffffff !important;
}

.bg-light {
  background-color: var(--faipa-cream) !important;
}

/* --------------------------------------------------------------------------
   3. Outer Background & Boxed Container
   -------------------------------------------------------------------------- */
body.bg-outer-site {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #e4dfd7;
  color: var(--faipa-text-dark);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.site-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  background-color: var(--faipa-bg-cream);
  box-shadow: 0 0 35px rgba(33, 62, 36, 0.15);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main-content {
  flex: 1 0 auto;
}

/* --------------------------------------------------------------------------
   4. Header & Navigation
   -------------------------------------------------------------------------- */
.faipa-navbar {
  background-color: var(--faipa-green-header);
  border-bottom: 3px solid var(--faipa-gold);
  padding: 0.8rem 1rem;
}

.faipa-header-logo {
/*  height: 180px;*/
  width: 190px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.faipa-header-logo:hover {
  transform: scale(1.02);
}

.faipa-nav-link {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  padding: 0.6rem 0.9rem !important;
  text-transform: uppercase;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.faipa-nav-link:hover,
.faipa-nav-link.active {
  color: var(--faipa-gold) !important;
}

.dropdown-menu.faipa-dropdown {
  background-color: var(--faipa-green-dark);
  border: 1px solid var(--faipa-gold);
  border-radius: 10px;
  box-shadow: var(--faipa-shadow-md);
  padding: 0.5rem 0;
}

.dropdown-menu.faipa-dropdown .dropdown-item {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.25rem;
  transition: all 0.2s ease;
}

.dropdown-menu.faipa-dropdown .dropdown-item:hover {
  background-color: var(--faipa-green-accent);
  color: var(--faipa-gold);
}

/* --------------------------------------------------------------------------
   5. Hero Section (Inicio)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--faipa-cream-light) 0%, var(--faipa-cream) 100%);
  padding: 0 0 2rem 0;
  overflow: hidden;
}

.hero-content-col {}

.hero-subtitle {
    color: var(--faipa-text-muted);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    line-height: 0.5rem;
}

.hero-title {
    color: var(--faipa-green);
    font-size: 3.0rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    margin-top: 1rem;
    text-transform: uppercase;
}

.hero-description {
  color: var(--faipa-text-muted);
  font-size: 1.1rem;
  max-width: 100%;
  margin-bottom: 1.8rem;
}

.btn-faipa-cta {
  background-color: var(--faipa-blue-cta);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  border: none;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(58, 140, 199, 0.35);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-faipa-cta:hover {
  background-color: var(--faipa-blue-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(33, 92, 140, 0.45);
}

.stats-container {
  display: flex;
  gap: 1.75rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stat-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background-color: var(--faipa-gold-subtle);
  color: var(--faipa-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.stat-number {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--faipa-green);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--faipa-text-muted);
  font-weight: 500;
  line-height: 1.2;
}

.hero-image-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.hero-image-container img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  object-position: right top;
}

.hero-section-detail {
  padding: 2.75rem 0;
}

.hero-section-detail .breadcrumb {
  background: transparent;
  padding: 0;
}

.hero-section-detail .breadcrumb-item a {
  color: var(--faipa-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.hero-section-detail .breadcrumb-item a:hover {
  color: var(--faipa-green);
}

.hero-section-detail .breadcrumb-item.active {
  color: var(--faipa-green);
  font-weight: 600;
}

.hero-section-detail .breadcrumb-item+.breadcrumb-item::before {
  color: var(--faipa-text-muted);
}

.hero-badge-meta {
  color: var(--faipa-green);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   6. Action Cards Section (Guía, Empleos, Capacitación)
   -------------------------------------------------------------------------- */
.action-cards-section {
  padding: 2.5rem 0;
}

.action-card {
  border-radius: var(--faipa-border-radius);
  overflow: hidden;
  position: relative;
  color: #ffffff;
  height: 100%;
  min-height: 240px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--faipa-shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-size: cover;
  background-position: center;
}

.action-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--faipa-shadow-lg);
}

.action-card-green {
  background: linear-gradient(135deg, rgba(33, 62, 36, 0.96) 0%, rgba(46, 87, 50, 0.88) 100%);
}

.action-card-blue {
  background: linear-gradient(135deg, rgba(33, 92, 140, 0.96) 0%, rgba(25, 70, 107, 0.88) 100%);
}

.action-card-gold {
  background: linear-gradient(135deg, rgba(206, 144, 18, 0.96) 0%, rgba(179, 124, 14, 0.88) 100%);
}

.action-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
}

.action-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.action-card-desc {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1.25rem;
}

.btn-card-action {
  align-self: flex-start;
  border: 2px solid #ffffff;
  color: #ffffff;
  border-radius: 50px;
  padding: 0.45rem 1.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-card-action:hover {
  background-color: #ffffff;
  color: var(--faipa-text-dark);
}

/* --------------------------------------------------------------------------
   7. Novedades Section
   -------------------------------------------------------------------------- */
.novedades-section {
  padding: 2.5rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
}

.section-title {
  color: var(--faipa-green);
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background-color: var(--faipa-gold);
  border-radius: 2px;
  margin-top: 4px;
}

.view-all-link {
  color: var(--faipa-green);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.view-all-link:hover {
  color: var(--faipa-gold);
}

.novedad-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--faipa-shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.novedad-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--faipa-shadow-md);
}

.novedad-img {
  height: 170px;
  object-fit: cover;
  width: 100%;
}

.novedad-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.novedad-fecha {
  color: var(--faipa-blue-cta);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.novedad-title {
  color: var(--faipa-green);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.novedad-desc {
  color: var(--faipa-text-muted);
  font-size: 0.88rem;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.read-more-link {
  color: var(--faipa-blue-dark);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.read-more-link:hover {
  color: var(--faipa-gold);
}

/* --------------------------------------------------------------------------
   7.5. Proveedores Destacados (Banners Estáticos con Efecto Hover)
   -------------------------------------------------------------------------- */
.destacados-banner-section {
  padding: 0.5rem 0 2rem 0;
  position: relative;
}

.destacados-banner-grid {
  width: 100%;
}

.destacados-banner-item {
  width: 100%;
  text-decoration: none;
  display: block;
  border-radius: 20px;
  outline: none;
}

.destacados-banner-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background-color: #f8f4ee;
  box-shadow: 0 4px 18px rgba(33, 62, 36, 0.08);
  border: 1px solid rgba(33, 62, 36, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.destacados-banner-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.destacados-banner-item:hover .destacados-banner-card {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 32px rgba(33, 62, 36, 0.16);
  border-color: var(--faipa-gold);
}

.destacados-banner-item:hover .destacados-banner-card img {
  transform: scale(1.02);
}

/* Banner Destacado Principal (Molino Cañuelas - Ancho Total) */
.destacados-banner-item-featured {
  margin-bottom: 0.5rem;
}

.destacados-banner-card-featured {
  background-color: #f8f4ee;
  border: 2px solid rgba(206, 144, 18, 0.45);
  box-shadow: 0 6px 24px rgba(33, 62, 36, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.destacados-banner-card-featured img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  margin: 0 auto;
}

.destacados-featured-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: linear-gradient(135deg, var(--faipa-gold) 0%, #b37c0e 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 14px;
  border-radius: 50px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  text-transform: uppercase;
}

.destacados-banner-item-featured:hover .destacados-banner-card-featured {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 36px rgba(33, 62, 36, 0.2);
  border-color: var(--faipa-gold);
}

.destacados-banner-item-featured:hover .destacados-banner-card-featured img {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .destacados-banner-card-featured img {
    max-height: 280px;
  }
  .destacados-featured-badge {
    top: 10px;
    right: 10px;
    font-size: 0.68rem;
    padding: 4px 10px;
  }
}

@media (max-width: 575.98px) {
  .destacados-banner-card-featured img {
    max-height: none;
    height: auto;
  }
}

/* --------------------------------------------------------------------------
   8. FAQ Callout Section
   -------------------------------------------------------------------------- */
.faq-callout-card {
  background: linear-gradient(90deg, #ebe4d8 0%, #f5f1ea 100%);
  border-radius: 18px;
  padding: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2.5rem 0;
  box-shadow: var(--faipa-shadow-sm);
  border: 1px solid rgba(206, 144, 18, 0.2);
}

.faq-callout-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--faipa-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  flex-shrink: 0;
}

.faq-callout-title {
  color: var(--faipa-green);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.faq-callout-text {
  color: var(--faipa-text-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   9. Page Header Banners (Historia, Autoridades, Entidades)
   -------------------------------------------------------------------------- */
.page-banner {
  background: linear-gradient(135deg, var(--faipa-cream-light) 0%, var(--faipa-cream-dark) 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--faipa-gold);
}

.page-banner-title {
  color: var(--faipa-green);
  font-size: 2.75rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  position: relative;
}

.page-banner-title::after {
  content: '';
  display: block;
  width: 55px;
  height: 4px;
  background-color: var(--faipa-gold);
  border-radius: 2px;
  margin-top: 6px;
}

.page-banner-subtitle {
  color: var(--faipa-text-dark);
  font-size: 1.2rem;
  font-weight: 600;
  max-width: 600px;
}

.page-banner-img {
  max-height: 280px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   10. Timeline (Historia)
   -------------------------------------------------------------------------- */
.timeline-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin: 3.5rem 0 2rem 0;
  padding: 0 0.5rem;
}

.timeline-line {
  position: absolute;
  top: 36px;
  left: 5%;
  right: 5%;
  height: 3px;
  background-color: var(--faipa-gold);
  z-index: 1;
}

.timeline-node {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  padding: 0 0.4rem;
}

.timeline-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 3px solid var(--faipa-gold);
  color: var(--faipa-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 0.85rem auto;
  box-shadow: var(--faipa-shadow-sm);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.timeline-node:hover .timeline-icon-box {
  transform: scale(1.08);
  background-color: var(--faipa-green);
  color: var(--faipa-gold);
}

.timeline-year {
  color: var(--faipa-green);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.timeline-desc {
  color: var(--faipa-text-muted);
  font-size: 0.83rem;
  line-height: 1.4;
}

/* Banner Unidos Por El Presente Y Futuro (Historia) */
.banner-unidos-presente-futuro {
  background: linear-gradient(90deg, #4f90c3 0%, #2b70a8 100%);
  border-radius: 50px;
  padding: 1.75rem 2.5rem;
  box-shadow: 0 8px 24px rgba(43, 112, 168, 0.22);
  margin-top: 5rem;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.banner-unidos-title {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.05rem, 2.3vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.4;
  margin: 0;
}

.banner-unidos-title strong {
  font-weight: 800;
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .banner-unidos-presente-futuro {
    border-radius: 30px;
    padding: 1.35rem 1.5rem;
    margin-top: 3.5rem;
    margin-bottom: 3rem;
  }
}

@media (max-width: 480px) {
  .banner-unidos-presente-futuro {
    border-radius: 20px;
    padding: 1.15rem 1rem;
  }

  .banner-unidos-title {
    font-size: 0.95rem;
    letter-spacing: 0.03em;
  }
}

/* --------------------------------------------------------------------------
   11. Autoridades (Comisión Directiva)
   -------------------------------------------------------------------------- */
.autoridad-card {
  background-color: transparent;
  text-align: center;
  margin-bottom: 2rem;
}

.autoridad-avatar-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 1.1rem auto;
  border-radius: 50%;
  border: 4px solid var(--faipa-green);
  overflow: hidden;
  box-shadow: var(--faipa-shadow-md);
  background-color: #e2e8f0;
}

.autoridad-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.autoridad-cargo-badge {
  display: inline-block;
  background-color: var(--faipa-gold);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  padding: 0.28rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 0.45rem;
  box-shadow: 0 2px 6px rgba(206, 144, 18, 0.3);
}

.autoridad-nombre {
  color: var(--faipa-green);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.autoridad-provincia {
  color: var(--faipa-text-muted);
  font-size: 0.83rem;
  font-weight: 500;
}

/* Tribunal de Honor y Revisores de Cuentas Card */
.autoridades-organos-card {
  background: linear-gradient(135deg, #fbf9f6 0%, #ebe4d8 100%);
  border-radius: 20px;
  padding: 2.75rem 3.5rem;
  box-shadow: var(--faipa-shadow-sm);
  border: 1px solid rgba(206, 144, 18, 0.25);
  margin-top: 3.5rem;
}

.organo-title {
  color: var(--faipa-green);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1.25rem;
}

.organo-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.organo-list li {
  color: var(--faipa-text-dark);
  font-size: 1.02rem;
  font-weight: 400;
  margin-bottom: 0.55rem;
  line-height: 1.45;
}

@media (max-width: 767.98px) {
  .autoridades-organos-card {
    padding: 2rem 1.75rem;
  }
}

/* --------------------------------------------------------------------------
   12. Entidades Asociadas
   -------------------------------------------------------------------------- */
.entidad-card {
  background-color: var(--faipa-cream-light);
  border-radius: 18px;
  padding: 1.6rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--faipa-shadow-sm);
  border: 1px solid rgba(206, 144, 18, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.entidad-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--faipa-shadow-md);
}

.entidad-nombre {
  color: var(--faipa-green);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
  line-height: 1.3;
}

.entidad-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--faipa-text-muted);
  margin-bottom: 0.6rem;
}

.entidad-detail-icon {
  color: var(--faipa-gold);
  font-size: 0.95rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   13. Unidos Banner (Historia)
   -------------------------------------------------------------------------- */
.unidos-banner {
  background: linear-gradient(90deg, #3a8cc7 0%, #215c8c 100%);
  border-radius: 50px;
  padding: 2rem 3rem;
  color: #ffffff;
  box-shadow: var(--faipa-shadow-md);
  margin-bottom: 2rem;
}

.unidos-banner-left {
  padding-right: 2.5rem;
  border-right: 2px solid rgba(255, 255, 255, 0.4);
}

.unidos-banner-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.35;
}

.unidos-banner-right {
  padding-left: 2.5rem;
}

.unidos-banner-text {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.faipa-footer {
  background-color: var(--faipa-green);
  color: #ffffff;
  padding: 3rem 1rem 1.5rem 1rem;
  border-top: 4px solid var(--faipa-gold);
  margin-top: 3rem;
}

.faipa-footer-logo {
  height: 160px;
  max-height: 160px;
  width: auto;
  object-fit: contain;
}

.footer-title {
  color: var(--faipa-gold);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: #f5f1ea;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--faipa-gold);
}

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f5f1ea;
  font-size: 0.88rem;
}

.footer-contact-icon {
  color: var(--faipa-gold);
  font-size: 1.05rem;
}

.footer-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social-icon:hover {
  background-color: var(--faipa-gold);
  color: var(--faipa-green);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
  margin-top: 2rem;
  font-size: 0.82rem;
  color: rgba(245, 241, 234, 0.7);
}

/* --------------------------------------------------------------------------
   15. Floating WhatsApp Button
   -------------------------------------------------------------------------- */
.wapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  text-decoration: none;
}

.wapp-float-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.wapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* --------------------------------------------------------------------------
   16. Admin Dashboard Panel Styles
   -------------------------------------------------------------------------- */
body.admin-body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--admin-bg);
  color: var(--admin-text);
  margin: 0;
  padding: 0;
}

.admin-nav {
  background-color: var(--admin-primary);
  border-bottom: 3px solid var(--admin-gold);
  padding: 0.8rem 1.5rem;
}

.admin-brand {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-brand span {
  color: var(--admin-gold);
}

.admin-user-pill {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(206, 144, 18, 0.4);
}

.admin-container {
  display: flex;
  min-height: calc(100vh - 65px);
}

.admin-sidebar {
  width: 260px;
  background-color: var(--admin-sidebar);
  color: #ffffff;
  flex-shrink: 0;
  padding: 1.5rem 0;
}

.sidebar-heading {
  padding: 0.5rem 1.5rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  border-left: 4px solid transparent;
}

.sidebar-link:hover,
.sidebar-link.active {
  background-color: rgba(206, 144, 18, 0.15);
  color: var(--admin-gold);
  border-left-color: var(--admin-gold);
}

.sidebar-link i {
  width: 20px;
  font-size: 1.1rem;
  text-align: center;
}

.admin-content {
  flex-grow: 1;
  padding: 2rem;
  overflow-y: auto;
  background-color: var(--admin-bg);
}

.admin-card {
  background-color: var(--admin-card-bg);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(33, 62, 36, 0.06);
  border: 1px solid rgba(206, 144, 18, 0.15);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.btn-admin-primary {
  background-color: var(--admin-primary);
  color: #ffffff;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.5rem 1.25rem;
  border: none;
  transition: all 0.2s ease;
}

.btn-admin-primary:hover {
  background-color: var(--faipa-green-light);
  color: var(--admin-gold);
}

.btn-admin-gold {
  background-color: var(--admin-gold);
  color: #ffffff;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.5rem 1.25rem;
  border: none;
  transition: all 0.2s ease;
}

.btn-admin-gold:hover {
  background-color: var(--admin-gold-hover);
  color: #ffffff;
}

.table-admin {
  width: 100%;
  vertical-align: middle;
}

.table-admin th {
  background-color: var(--faipa-cream);
  color: var(--admin-primary);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.85rem 1rem;
  border-bottom: 2px solid rgba(33, 62, 36, 0.1);
}

.table-admin td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(33, 62, 36, 0.08);
  font-size: 0.9rem;
}

.img-thumb-admin {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(206, 144, 18, 0.2);
}

/* --------------------------------------------------------------------------
   17. Admin Login Page Styles
   -------------------------------------------------------------------------- */
body.admin-login-body {
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(135deg, var(--faipa-green) 0%, var(--faipa-green-dark) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  margin: 0;
}

.login-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  border: 2px solid var(--faipa-gold);
}

.login-header {
  background-color: var(--faipa-green);
  padding: 2.5rem 2rem 2rem 2rem;
  text-align: center;
  color: #ffffff;
  border-bottom: 3px solid var(--faipa-gold);
}

.login-logo-icon {
  font-size: 3rem;
  color: var(--faipa-gold);
  margin-bottom: 0.8rem;
}

.login-title {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  margin: 0;
  text-transform: uppercase;
}

.login-subtitle {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 0.3rem;
  color: var(--faipa-cream);
}

.login-body {
  padding: 2.25rem 2rem;
}

.btn-login {
  background: linear-gradient(135deg, var(--faipa-green) 0%, var(--faipa-green-light) 100%);
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.75rem;
  border-radius: 50px;
  border: none;
  width: 100%;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background: linear-gradient(135deg, var(--faipa-gold) 0%, var(--faipa-gold-hover) 100%);
  color: #ffffff;
  transform: translateY(-2px);
}

.form-control:focus {
  border-color: var(--faipa-gold);
  box-shadow: 0 0 0 0.25rem rgba(206, 144, 18, 0.25);
}

/* --------------------------------------------------------------------------
   18. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .site-wrapper {
    max-width: 100%;
    box-shadow: none;
  }

  .faipa-header-logo {
    /*height: 52px;*/
  }

  .faipa-footer-logo {
    height: 80px;
  }

    .hero-subtitle {
        font-size: 1.4rem !important;
    }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-image-container {
    border-radius: 20px;
    min-height: 280px;
    margin-top: 1.5rem;
  }

  .timeline-container {
    flex-direction: column;
    gap: 2.25rem;
    align-items: center;
  }

  .timeline-line {
    display: none;
  }

  .timeline-node {
    max-width: 400px;
  }

    .hero-subtitle {
        font-size: 1.4rem !important;
    }

  .page-banner-title,
  .hero-title {
    font-size: 2.5rem;
  }

  .faq-callout-card {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .faq-callout-card .btn-faipa-cta {
    margin-left: 0 !important;
  }

  .unidos-banner {
    border-radius: 25px;
    padding: 1.75rem 2rem;
  }

  .unidos-banner-left {
    padding-right: 0;
    border-right: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }

  .unidos-banner-right {
    padding-left: 0;
  }

  .admin-container {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    padding: 0.75rem 0;
  }

  .sidebar-menu {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
  }

  .sidebar-link {
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 575.98px) {
    .hero-subtitle {
        font-size: 1.4rem !important;
    }
    
    .hero-title {
    font-size: 2.0rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .stats-container {
    flex-direction: column;
    gap: 1.25rem;
  }

  .faipa-header-logo {
    /*height: 44px;*/
  }

  .faipa-footer-logo {
    height: 70px;
  }

  .wapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
}

/* --------------------------------------------------------------------------
   19. Institutions & Brands Carousel
   -------------------------------------------------------------------------- */
.brands-carousel-section {
  padding: 3.5rem 0 3rem 0;
  background-color: var(--faipa-cream-light);
  border-top: 1px solid rgba(206, 144, 18, 0.25);
  border-bottom: 1px solid rgba(206, 144, 18, 0.25);
  overflow: hidden;
  position: relative;
}

.brands-carousel-header {
  text-align: center;
  margin-bottom: 2rem;
}

.brands-carousel-title {
  color: var(--faipa-green);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0;
  position: relative;
  display: inline-block;
}

.brands-carousel-title::after {
  content: '';
  display: block;
  width: 45px;
  height: 3px;
  background-color: var(--faipa-gold);
  margin: 8px auto 0 auto;
  border-radius: 2px;
}

.brands-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.brands-track {
  display: flex;
  width: max-content;
  animation: brandsMarquee 32s linear infinite;
}

.brands-track:hover {
  animation-play-state: paused;
}

@keyframes brandsMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.brand-item {
  width: 240px;
  padding: 0 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-card {
  width: 100%;
  height: 96px;
  background-color: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(33, 62, 36, 0.08);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.brand-card:hover {
  transform: translateY(-4px);
  border-color: var(--faipa-gold);
  box-shadow: 0 8px 24px rgba(206, 144, 18, 0.16);
  background-color: #ffffff;
}

.brand-card img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: all 0.3s ease;
}

.brand-card:hover img {
  transform: scale(1.06);
}

.brand-card-icon {
  font-size: 1.1rem;
  color: var(--faipa-gold);
  margin-bottom: 0.25rem;
}

.brand-name {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--faipa-green);
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.brand-type {
  font-size: 0.68rem;
  color: var(--faipa-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.15rem;
}

@media (max-width: 991.98px) {
  .brand-item {
    width: 200px;
    padding: 0 0.5rem;
  }
  .brand-card {
    height: 84px;
    padding: 0.6rem 1rem;
  }
  .brand-card img {
    max-height: 48px;
  }
}

@media (max-width: 767.98px) {
  .brands-slider-container {
    padding: 0.75rem 0;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .brands-track {
    animation-duration: 28s;
  }

  .brand-item {
    flex: 0 0 100vw;
    width: 100vw;
    max-width: 100vw;
    padding: 0 1.25rem;
    box-sizing: border-box;
  }

  .brand-card {
    height: 105px;
    max-width: 320px;
    margin: 0 auto;
    border-radius: 18px;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 18px rgba(33, 62, 36, 0.08);
    border: 1px solid rgba(33, 62, 36, 0.1);
  }

  .brand-card img {
    max-height: 60px;
    max-width: 85%;
  }
}

@media (max-width: 480px) {
  .brand-card {
    max-width: 290px;
    height: 98px;
    padding: 0.85rem 1.25rem;
  }

  .brand-card img {
    max-height: 52px;
  }
}

/* ==========================================================================
   FAIPA - Sección Empleos y Búsquedas Laborales Rediseñada
   ========================================================================== */

.empleos-banner-container {
  background: linear-gradient(135deg, #edf3fa 0%, #e2ecf7 100%);
  border-radius: 24px;
  border: 1px solid rgba(75, 142, 200, 0.15);
  box-shadow: 0 8px 24px rgba(33, 62, 36, 0.04);
}

.empleos-banner-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 50%;
  background: #b87e14;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.85rem;
  box-shadow: 0 4px 12px rgba(184, 126, 20, 0.25);
}

.empleos-banner-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #213e24;
  margin-bottom: 0.25rem;
}

.empleos-banner-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: #172c1a;
  line-height: 1.2;
}

.empleos-banner-subtitle {
  font-size: 0.95rem;
  color: #5c635e;
}

.empleos-banner-cta {
  background: #4b8ec8;
  color: #ffffff !important;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.95rem;
  border: none;
  box-shadow: 0 4px 14px rgba(75, 142, 200, 0.3);
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.empleos-banner-cta:hover {
  background: #3979b0;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(75, 142, 200, 0.4);
}

.empleos-heading-section {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2421;
}

/* Filtros con estilo del mockup */
.empleos-filter-btn {
  background-color: transparent;
  color: #213e24 !important;
  border: 2px solid #213e24 !important;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 4px !important;
  padding: 8px 24px;
  transition: all 0.2s ease;
}

.empleos-filter-btn:hover,
.empleos-filter-btn:focus,
.empleos-filter-btn.active {
  background-color: #213e24 !important;
  color: #ffffff !important;
}

.empleos-filter-btn::after {
  display: none !important;
}

/* Tarjetas de Oportunidad */
.empleo-card-row {
  padding: 24px 0;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.2s ease;
}

.empleo-card-row:last-child {
  border-bottom: none;
}

.empleo-card-row:hover {
  background-color: rgba(245, 241, 234, 0.35);
  border-radius: 12px;
}

.empleo-avatar-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background-color: #e2edf3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empleo-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.empleo-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.empleo-card-title a {
  transition: color 0.2s;
}

.empleo-card-title a:hover {
  color: var(--faipa-green) !important;
}

.empleo-card-company {
  font-size: 0.92rem;
  color: #6c757d;
  font-weight: 500;
}

.empleo-card-desc {
  font-size: 0.88rem;
  color: #5c635e;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.empleo-card-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.empleo-card-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #495057;
}

.empleo-card-meta-item i {
  color: #ce9012;
  font-size: 0.95rem;
  width: 16px;
  text-align: center;
}

.empleo-btn-action {
  background-color: transparent;
  color: #213e24 !important;
  border: 2px solid #213e24 !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: 4px;
  white-space: nowrap;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.empleo-btn-action:hover {
  background-color: #213e24 !important;
  color: #ffffff !important;
}

.empleo-btn-share {
  background: transparent;
  border: none;
  color: #213e24;
  font-size: 1.35rem;
  padding: 8px;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.empleo-btn-share:hover {
  color: #ce9012;
  transform: scale(1.15);
}

/* Formulario Publicar Empleos */
.form-publicar-card {
  border: 1px solid rgba(33, 62, 36, 0.08) !important;
  background-color: #ffffff;
}

.section-step-badge {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: #213e24;
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(33, 62, 36, 0.2);
}

.form-publicar-card .form-control,
.form-publicar-card .form-select {
  font-size: 0.9rem;
  padding: 0.55rem 0.85rem;
  border-color: #d1d5db;
  color: #1f2421;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-publicar-card .form-control:focus,
.form-publicar-card .form-select:focus {
  border-color: #213e24;
  box-shadow: 0 0 0 0.2rem rgba(33, 62, 36, 0.15);
}

.form-publicar-card textarea.form-control {
  line-height: 1.5;
}

.btn-tipo-tag {
  font-size: 0.82rem !important;
  font-weight: 500;
  padding: 5px 13px !important;
  border: 1.5px solid #d1d5db !important;
  color: #4b5563 !important;
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.btn-tipo-tag:hover {
  border-color: #213e24 !important;
  color: #213e24 !important;
  background-color: rgba(33, 62, 36, 0.04) !important;
}

.btn-tipo-tag.active {
  background-color: #213e24 !important;
  border-color: #213e24 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(33, 62, 36, 0.2);
}

.legal-checks-box {
  background-color: #f9fbf9;
  border: 1px solid #e2e8f0;
}

.recaptcha-wrapper {
  max-width: 100%;
  overflow-x: hidden;
}

.recaptcha-inner {
  display: flex;
  justify-content: center;
  width: 100%;
}

.btn-submit-publicar {
  background: linear-gradient(135deg, #213e24 0%, #2e5732 100%) !important;
  border-color: #213e24 !important;
  color: #ffffff !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.03em;
  padding: 11px 24px !important;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(33, 62, 36, 0.25);
}

.btn-submit-publicar:hover {
  background: linear-gradient(135deg, #2b4f2f 0%, #366a3b 100%) !important;
  border-color: #2b4f2f !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(33, 62, 36, 0.35);
}

.btn-submit-publicar:active {
  transform: translateY(0);
}

/* Adaptabilidad Mobile para Publicar Empleos */
@media (max-width: 576px) {
  .section-step-badge {
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-size: 0.8rem;
  }

  .btn-tipo-tag {
    font-size: 0.78rem !important;
    padding: 4px 10px !important;
  }

  .btn-submit-publicar {
    font-size: 0.88rem !important;
    padding: 10px 16px !important;
  }

  .recaptcha-inner .g-recaptcha {
    transform: scale(0.86);
    transform-origin: center center;
  }
}

@media (max-width: 360px) {
  .recaptcha-inner .g-recaptcha {
    transform: scale(0.76);
    transform-origin: center center;
  }
}

/* ==========================================================================
   ESCALA SALARIAL
   Estilos específicos para la página de Escala Salarial (FAIPA)
   ========================================================================== */
.escala-container {
  max-width: 1040px;
  margin: 0 auto;
}

.escala-header-section {
  text-align: center;
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

.escala-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #1e4620; /* Verde institucional FAIPA */
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.escala-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  color: #4a5568;
  max-width: 650px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.5;
}

.escala-divider {
  width: 175px;
  height: 3.5px;
  background-color: #ce9012; /* Dorado distintivo FAIPA */
  border-radius: 2px;
  margin: 0 auto;
}

/* Tarjeta de Mes de la Escala */
.escala-month-card {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 4px 18px rgba(30, 70, 32, 0.05);
  border: 1px solid #ebe4d8;
  margin-bottom: 1.85rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.escala-month-card:hover {
  box-shadow: 0 6px 24px rgba(30, 70, 32, 0.08);
}

.escala-month-flex {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

/* Columna lateral / Badge del mes */
.escala-badge-column {
  width: 145px;
  min-width: 145px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.5rem;
  text-align: center;
}

.escala-badge-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.escala-badge-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.escala-badge-year {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.escala-badge-line {
  width: 38px;
  height: 3px;
  border-radius: 2px;
}

/* Variantes de Color para cada Mes */
/* AGOSTO: Verde institucional */
.badge-agosto {
  background-color: #ebf3ec;
}
.badge-agosto .escala-badge-icon-circle {
  background-color: #1e4620;
}
.badge-agosto .escala-badge-name,
.badge-agosto .escala-badge-year {
  color: #1e4620;
}
.badge-agosto .escala-badge-line {
  background-color: #ce9012;
}
.table-agosto thead th {
  background-color: #1e4620 !important;
  color: #ffffff !important;
}

/* SEPTIEMBRE: Azul profesional */
.badge-septiembre {
  background-color: #e8eef6;
}
.badge-septiembre .escala-badge-icon-circle {
  background-color: #124e89;
}
.badge-septiembre .escala-badge-name,
.badge-septiembre .escala-badge-year {
  color: #124e89;
}
.badge-septiembre .escala-badge-line {
  background-color: #ce9012;
}
.table-septiembre thead th {
  background-color: #124e89 !important;
  color: #ffffff !important;
}

/* OCTUBRE: Dorado / Ámbar vigente */
.badge-octubre {
  background-color: #f7eedc;
}
.badge-octubre .escala-badge-icon-circle {
  background-color: #ba7d18;
}
.badge-octubre .escala-badge-name,
.badge-octubre .escala-badge-year {
  color: #ba7d18;
}
.badge-octubre .escala-badge-line {
  background-color: #ba7d18;
}
.table-octubre thead th {
  background-color: #ba7d18 !important;
  color: #ffffff !important;
}

/* Contenedor y Tabla */
.escala-table-responsive {
  flex: 1;
  overflow-x: auto;
  border-radius: 10px;
}

.escala-data-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
  font-family: 'Outfit', sans-serif;
}

.escala-data-table thead th {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.85rem 0.65rem;
  text-align: center;
  vertical-align: middle;
  border: none;
  white-space: nowrap;
}

.escala-data-table thead th:first-child {
  border-top-left-radius: 8px;
  text-align: left;
  padding-left: 1.25rem;
}

.escala-data-table thead th:last-child {
  border-top-right-radius: 8px;
}

.escala-data-table tbody td {
  padding: 0.62rem 0.65rem;
  font-size: 0.88rem;
  color: #2b302c;
  border-bottom: 1px solid #ebe5dc;
  border-right: 1px solid #f1ece4;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

.escala-data-table tbody td:first-child {
  text-align: left;
  padding-left: 1.25rem;
  font-weight: 600;
  color: #1e4620;
  border-left: 1px solid #f1ece4;
}

.escala-data-table tbody tr:nth-child(even) {
  background-color: #fbf9f6;
}

.escala-data-table tbody tr:hover {
  background-color: #f4ede2;
}

.escala-data-table tbody tr:last-child td {
  border-bottom: 1px solid #e2dacd;
}

.td-monto-resaltado {
  font-weight: 700 !important;
  color: #1e4620 !important;
}

/* Caja de Información Salarial Vigente inferior */
.escala-info-card {
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5dfd5;
  padding: 1.2rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 2px 12px rgba(30, 70, 32, 0.04);
}

.escala-info-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #124e89; /* Azul info */
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.escala-info-vdivider {
  width: 3px;
  height: 42px;
  background-color: #ce9012; /* Separador dorado */
  border-radius: 2px;
  flex-shrink: 0;
}

.escala-info-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #1e4620; /* Verde FAIPA */
  margin: 0 0 0.25rem 0;
}

.escala-info-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: #4a5568;
  margin: 0;
  line-height: 1.45;
}

/* Ajustes Mobile */
@media (max-width: 768px) {
  .escala-header-section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .escala-title {
    font-size: 2.1rem;
  }

  .escala-subtitle {
    font-size: 1rem;
  }

  .escala-month-flex {
    flex-direction: column;
    gap: 10px;
  }

  .escala-badge-column {
    width: 100%;
    min-width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    text-align: left;
  }

  .escala-badge-icon-circle {
    margin-bottom: 0;
  }

  .escala-badge-year {
    margin-bottom: 0;
  }

  .escala-badge-line {
    display: none;
  }

  .escala-info-card {
    padding: 1rem;
    gap: 0.85rem;
  }

  .escala-info-circle {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
}

/* --------------------------------------------------------------------------
   21. Guía de Proveedores - Proveedor Principal Destacado (Fila Completa)
   -------------------------------------------------------------------------- */
.novedad-card-principal {
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(33, 62, 36, 0.12);
  box-shadow: 0 10px 32px rgba(33, 62, 36, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.novedad-card-principal:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(33, 62, 36, 0.14);
  border-color: rgba(206, 144, 18, 0.4);
}

.principal-img-col {
  min-height: 290px;
  background-color: #f6f8f7;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.novedad-principal-img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.novedad-card-principal:hover .novedad-principal-img {
  transform: scale(1.03);
}

.badge-principal-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, #ce9012 0%, #e0aa3e 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.75px;
  padding: 6px 14px;
  border-radius: 30px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  text-transform: uppercase;
  z-index: 2;
}

.hover-scale {
  transition: transform 0.2s ease, opacity 0.2s ease;
  display: inline-block;
}

.hover-scale:hover {
  transform: scale(1.2);
}

@media (max-width: 767.98px) {
  .principal-img-col {
    min-height: 220px;
    max-height: 240px;
  }
  .novedad-principal-img {
    min-height: 220px;
    max-height: 240px;
  }
}